Closed (outdated)
Project:
Analytic
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2011 at 08:46 UTC
Updated:
17 Sep 2025 at 17:13 UTC
Jump to comment: Most recent
In line 64 of the page.tpl.php the conditions for printing the class are not correct:
<?php if ($logo && !$site_slogan): ?>class="logo-picture-true-slogan-false"<?php endif; ?>
<?php if ($logo): ?>class="logo-picture-true"<?php endif; ?>
So if there is no $site_slogan both class-attributes are printed:
<h1 class="logo-picture-true-slogan-false" class="logo-picture-true"><a href="/" title="Home">MySite</a></h1>
And this causes the HTML-Validation-Error: Duplicate specification of attribute "class"
Comments
Comment #1
Deepika.chavan commentedHi,
I fixed that html error by replacing following code in page.tpl.php
With the following code :
HTH!!
Rgrds,
Deepika Chavan.
Comment #2
smitty commentedSeems to work correctly. Thank you!
Will this be in the next release?
Comment #3
bluegeek9 commented