problem with XHTML problem with XHTML
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

problem with XHTML

Started by swandive, March 16, 2005, 10:57:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

swandive

hi,
i'm going to do a new theme XHTML CSS valid.
i have some problems.
i have to change the following generated code in "LAST ADDICTION"

<a href="displayimage.php?album=lastup&cat=0&pos=0">

in

<a href="displayimage.php?album=lastup&amp;cat=0&amp;pos=0">

which is the file who created the code?

thanks

swan

Nibbler

include/functions.inc.php I should think, assuming you are talking about additions and not addictions.

swandive

thanks but i'm talking about the following code in theme.php.
i have already modified the file include/functions.inc.php  but i can't find the portion of code that has to be changed.



// HTML template for thumbnails display

$template_thumbnail_view = <<<EOT



<!-- BEGIN header -->

        <tr>

<!-- END header -->

<!-- BEGIN thumb_cell -->

        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">

                <table width="100%" cellpadding="0" cellspacing="0">

                        <tr>

                                <td align="center">

                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
                                        {CAPTION}

                                        {ADMIN_MENU}

                                </td>

                        </tr>

                </table>

        </td>


thank you

kegobeer

In theme.php, look at function theme_display_thumbnails.  Look for &cat, &page, &pos.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots