modified for Accessibility based on Standard theme.

This commit is contained in:
mits
2006-02-27 22:58:31 +00:00
parent 9fdbbcf768
commit db2007cbc0
+4 -3
View File
@@ -17,16 +17,17 @@
<div id="page">
<?php if ($home) { // This is what gets printed on the home page only
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
<div id="header-home">
<div class="headermain"><?php echo $heading ?></div>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
<div id="header">
<div class="headermain"><?php echo $heading ?></div>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php } ?>