coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: swandive on March 16, 2005, 10:57:55 AM

Title: problem with XHTML
Post by: swandive on March 16, 2005, 10:57:55 AM
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
Title: Re: problem with XHTML
Post by: Nibbler on March 16, 2005, 12:20:04 PM
include/functions.inc.php I should think, assuming you are talking about additions and not addictions.
Title: Re: problem with XHTML
Post by: swandive on March 16, 2005, 02:33:24 PM
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
Title: Re: problem with XHTML
Post by: kegobeer on March 17, 2005, 06:54:39 AM
In theme.php, look at function theme_display_thumbnails.  Look for &cat, &page, &pos.