Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

FIxed some standard theme headers by copying from "standard" as they …

…were out of date
  • Loading branch information...
commit 902590a7d1705432cc797ba8c8508f872bd17b97 1 parent d7a7b5b
moodler authored
20 theme/standardblue/header.html
@@ -17,29 +17,29 @@
17 17
18 18 <div id="page">
19 19
20   -<?php if ($home) { // This is what gets printed on the home page only
  20 +<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
  21 + if ($home) { // This is what gets printed on the home page only
21 22 ?>
22   - <div id="header-home">
23   - <div class="headermain"><?php echo $heading ?></div>
  23 + <div id="header-home" class="clearfix">
  24 + <h1 class="headermain"><?php echo $heading ?></h1>
24 25 <div class="headermenu"><?php echo $menu ?></div>
25 26 </div>
26 27 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
27 28 ?>
28   - <div id="header">
29   - <div class="headermain"><?php echo $heading ?></div>
  29 + <div id="header" class="clearfix">
  30 + <h1 class="headermain"><?php echo $heading ?></h1>
30 31 <div class="headermenu"><?php echo $menu ?></div>
31 32 </div>
32 33 <?php } ?>
33   - <div class="clearer">&nbsp;</div>
34   -<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
35   - <table class="navbar"><tr><td>
  34 +<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
  35 + if ($navigation) { // This is the navigation bar with breadcrumbs ?>
  36 + <div class="navbar clearfix">
36 37 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
37 38 <div class="navbutton"><?php echo $button; ?></div>
38   - </td></tr></table>
  39 + </div>
39 40 <?php } else if ($heading) { // If no navigation, but a heading, then print a line
40 41 ?>
41 42 <hr size="1" noshade="noshade" />
42 43 <?php } ?>
43   - <div class="clearer">&nbsp;</div>
44 44 <!-- END OF HEADER -->
45 45 <div id="content">
20 theme/standardgreen/header.html
@@ -17,29 +17,29 @@
17 17
18 18 <div id="page">
19 19
20   -<?php if ($home) { // This is what gets printed on the home page only
  20 +<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
  21 + if ($home) { // This is what gets printed on the home page only
21 22 ?>
22   - <div id="header-home">
23   - <div class="headermain"><?php echo $heading ?></div>
  23 + <div id="header-home" class="clearfix">
  24 + <h1 class="headermain"><?php echo $heading ?></h1>
24 25 <div class="headermenu"><?php echo $menu ?></div>
25 26 </div>
26 27 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
27 28 ?>
28   - <div id="header">
29   - <div class="headermain"><?php echo $heading ?></div>
  29 + <div id="header" class="clearfix">
  30 + <h1 class="headermain"><?php echo $heading ?></h1>
30 31 <div class="headermenu"><?php echo $menu ?></div>
31 32 </div>
32 33 <?php } ?>
33   - <div class="clearer">&nbsp;</div>
34   -<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
35   - <table class="navbar"><tr><td>
  34 +<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
  35 + if ($navigation) { // This is the navigation bar with breadcrumbs ?>
  36 + <div class="navbar clearfix">
36 37 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
37 38 <div class="navbutton"><?php echo $button; ?></div>
38   - </td></tr></table>
  39 + </div>
39 40 <?php } else if ($heading) { // If no navigation, but a heading, then print a line
40 41 ?>
41 42 <hr size="1" noshade="noshade" />
42 43 <?php } ?>
43   - <div class="clearer">&nbsp;</div>
44 44 <!-- END OF HEADER -->
45 45 <div id="content">
20 theme/standardred/header.html
@@ -17,29 +17,29 @@
17 17
18 18 <div id="page">
19 19
20   -<?php if ($home) { // This is what gets printed on the home page only
  20 +<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
  21 + if ($home) { // This is what gets printed on the home page only
21 22 ?>
22   - <div id="header-home">
23   - <div class="headermain"><?php echo $heading ?></div>
  23 + <div id="header-home" class="clearfix">
  24 + <h1 class="headermain"><?php echo $heading ?></h1>
24 25 <div class="headermenu"><?php echo $menu ?></div>
25 26 </div>
26 27 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
27 28 ?>
28   - <div id="header">
29   - <div class="headermain"><?php echo $heading ?></div>
  29 + <div id="header" class="clearfix">
  30 + <h1 class="headermain"><?php echo $heading ?></h1>
30 31 <div class="headermenu"><?php echo $menu ?></div>
31 32 </div>
32 33 <?php } ?>
33   - <div class="clearer">&nbsp;</div>
34   -<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
35   - <table class="navbar"><tr><td>
  34 +<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
  35 + if ($navigation) { // This is the navigation bar with breadcrumbs ?>
  36 + <div class="navbar clearfix">
36 37 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
37 38 <div class="navbutton"><?php echo $button; ?></div>
38   - </td></tr></table>
  39 + </div>
39 40 <?php } else if ($heading) { // If no navigation, but a heading, then print a line
40 41 ?>
41 42 <hr size="1" noshade="noshade" />
42 43 <?php } ?>
43   - <div class="clearer">&nbsp;</div>
44 44 <!-- END OF HEADER -->
45 45 <div id="content">

0 comments on commit 902590a

Please sign in to comment.
Something went wrong with that request. Please try again.