Skip to content

Commit

Permalink
modified for Accessibility based on Standard theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mits committed Feb 27, 2006
1 parent 9fdbbcf commit db2007c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions theme/oceanblue/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 } ?>
Expand Down

0 comments on commit db2007c

Please sign in to comment.