forum.coppermine-gallery.net

No Support => Feature requests => Scheduled for cpg1.5.x => Topic started by: kaptainkory on August 02, 2005, 02:56:41 am

Title: Minor - nested emphasis in themes.inc.php
Post by: kaptainkory on August 02, 2005, 02:56:41 am
In themes.inc.php, FIND (line 242):

Code: [Select]
                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
REPLACE WITH:

Code: [Select]
                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
This change avoids a nested emphasis warning.

Title: Re: Minor - nested emphasis in themes.inc.php
Post by: donnoman on August 02, 2005, 04:58:57 am
That must be a tidy warning, because that code is valid XHTML.

I did look at trying to clean that up a while back, but it happens all over the place, it's inherited from the orignal codebase and it's throughout user supported themes as well.

In addition it also requires changes to every style.css if you want to maintain the same look and feel, so I had decided to leave it as-is.
Title: Re: Minor - nested emphasis in themes.inc.php
Post by: Joachim Müller on August 02, 2005, 09:01:44 am
I agree with donnoman: with the <b> tag being on the list of tags that are suppossed to vanish anyway, let's do this in the next version. I moved this thread from "CPG 1.4 Testing/Bugs" to "Feature requests: Scheduled for cpg1.5.x"