page look wrong when subheader isn´t activated
Bug #571696 reported by
Håkan Sörensson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UD Theme |
Fix Released
|
Medium
|
Michael Lustfield |
Bug Description
In page.tpl.php there is an error that makes the page look wrong when subheader isn't activated.
The solution is to switch the code in row 40 and 41.
Related branches
To post a comment you must log in.
todays code (row 34-42): $secondary_ links)) : ?>
<?php if ($secondary_links or $subheader) { ?>
<div id="subheader">
<?php if (isset(
<?php print theme('links', $secondary_links, array('class'
=> 'links secondary-links')) ?>
<?php print $subheader; ?>
<?php endif; ?>
<?php } ?>
</div>
<!-- Content -->
Patched code (row 34-42): $secondary_ links)) : ?>
<?php if ($secondary_links or $subheader) { ?>
<div id="subheader">
<?php if (isset(
<?php print theme('links', $secondary_links, array('class'
=> 'links secondary-links')) ?>
<?php print $subheader; ?>
<?php endif; ?>
</div>
<?php } ?>
<!-- Content -->