forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Tranz on September 17, 2006, 10:16:37 pm

Title: [Fixed]: validation error: end tag for "tr" which is not finished
Post by: Tranz on September 17, 2006, 10:16:37 pm
After adding code to my gallery I did a validation check. Fixed some things from the new code, and then came across an error about tr tags. This was in my custom theme so I checked the classic theme in my gallery and found the same error. To rule out something with my gallery, I checked out the Demo gallery using classic theme and got the same error:

http://validator.w3.org/check?uri=http%3A%2F%2Fcoppermine-gallery.net%2Fdemo%2Fcpg14x%2Findex.php%3F4x%3D%26theme%3Dclassic&charset=%28detect+automatically%29&doctype=Inline&ss=1&verbose=1

Anyone know what happened?
Title: Re: validation error: end tag for "tr" which is not finished
Post by: Sami on September 18, 2006, 11:46:22 am
Yes if you take a look at $template_album_list variable under themes.inc.php you'll find {TABS} place holder under <tr>....</tr>
tag , So when we have not any tabs that palce holder return nothing so we have <tr></tr> without <td></td> tags and this will cause validation end in failure (missing childe node)
IMO , we can initilay set {TABS} to something like <td></td> or change the create_tabs function under functions.inc.php to return those tags ...
Title: Re: validation error: end tag for "tr" which is not finished
Post by: Joachim Müller on October 19, 2008, 12:59:31 pm
Validation passes for this page, so the issue has been fixed. Marking thread as "Fixed"