Member
Member
subgeek   2009-12-05, 04:07
#1
i wasn't sure where to put this. it's sort of a bug, but only if you care if your pages are generating valid xhtml. i suppose it could also be a feature request.

while testing 1.2.7 with my theme i saw that pages weren't validating if there was a $css_class_active printed in the menu. looking at the code i saw that it was printing something like:

`<a class='activeclass'href='address'>`

with a double space after the a and no space between the class and the address. after changing the beginning of lines 197 and 199 of print_album_menu.php from:

`$link = "<li><a ".$current."href='"`...

to:

`$link = "<li><a".$current." href='"`...

the page validated. thought i'd post it in case it helps anyone.

(i edited this post to keep it from being too wide. there is more to those lines.)
Member
Member
sbillard   2009-12-05, 05:42
#2
We will get this changed in the nightly build.
Administrator
Administrator
acrylian   2009-12-05, 11:21
#3
Thanks, of course we mean to have themes generally validate xhtml (transitional).
Member
Member
subgeek   2009-12-05, 17:35
#4
it's great to use a software package that not only works so well, but has developers that respond so quickly. thank you for building and maintaining this great tool.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.