Closed (fixed)
Project:
Box_grey
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
21 Jan 2005 at 00:42 UTC
Updated:
4 May 2005 at 22:59 UTC
When you specify no secondary (or primary I guess) links you will get the following code:
And your page won't validate as valid XHTML 1.0 Transitional. This can be solved by adapting page.tpl.php.
Change:
line 31 if (is_array($secondary_links)) :
Into:
line 31 if (count($secondary_links)) :
And:
line 39 if (is_array($primary_links)) :
Into:
line 39 if (count($primary_links)) :
HTH
Comments
Comment #1
adrinux commentedYour code got lost, but I assume it's something like:
Those empty ul's being invalid. Since I either have links or remove the ul entirely when modifing the theme I hadn't seen this :)
Thanks, I'll look to correcting this when I next update box_grey, though a patch is much appreciated rather than the in page code...hint hint.
Comment #2
adrinux commentedfixed in 4.6