forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: moullas on May 28, 2008, 07:34:46 pm

Title: [Solved]: Make coppermine pass WAI validation
Post by: moullas on May 28, 2008, 07:34:46 pm
Hi there...
I'm trying to get coppermine to pass validation on WebAGoGo...

My theme validates fine as far as W3C XHTML and CSS standards go, but there are some <b> tags that make my gallery fail..

Now, i opened the whole of the Coppermine files and did a search-replace for <b> elements and changed them to <strong>.

My number of errors dropped to the point that i now only have 1 line of code that fails the automated validation, and is the one that says
"278 files in 23 albums and 4 categories with 0 comments viewed 3483 times"
the files, albums, categories and comments words are all tagged with the <b>, and i can't figure out where this function is called to change the code (my one and only guess is include/themes.inc.php but that didn't do it)

My gallery sits http://www.40thscouts.org/album/

If you view the source, and do a search for the <b> tag you'll see exactly the table row where this is happening...

Can anyone help??
Thanks
Title: Re: Make coppermine pass WAI validation
Post by: Stramm on May 28, 2008, 08:06:49 pm
have a look at lang/yourlang.php
Title: Re: Make coppermine pass WAI validation
Post by: moullas on May 29, 2008, 07:30:21 am
Thanks a lot... it was my error... since when i was doing the search and replace function i didn't have the lang folder on my local pc...
(i didn't assume that languages would make a difference for this).

Well it seems that assumptions are the mother of all f*ckups (as we say here in my work) :))

Thanks again!