]> git.mjollnir.org Git - moodle.git/commitdiff
Updating wood to show the nav-bar properly.
authorstronk7 <stronk7>
Mon, 30 Oct 2006 16:55:17 +0000 (16:55 +0000)
committerstronk7 <stronk7>
Mon, 30 Oct 2006 16:55:17 +0000 (16:55 +0000)
Merged from MOODLE_17_STABLE

theme/wood/footer.html
theme/wood/header.html

index b0dc78a460218f5b1a20770fbb0dd7b4d7ca3659..06869bf6933d644fa73d4de904f52c6794a36b83 100644 (file)
     echo "</div>";
 ?>
 
-<?php if (!empty($performanceinfo)) {
-    echo $performanceinfo;
-}
-?>
 <?php echo $loggedinas ?>
 <?php echo $homelink ?>
+
+<?php if (!empty($performanceinfo)) {
+    echo $performanceinfo;
+} ?>
 </div>
 </div>
 </body>
index 292c09f6cb9fa8e158c7364785a04913cde2ef7a..6984f23fbfca6c6ec9fa86887e8588af72196dd6 100644 (file)
 
 <?php if ($home) {  // This is what gets printed on the home page only  
 ?>
-    <div id="header-home">
-        <div class="headermain"><?php echo $heading ?></div>
+    <div id="header-home" class="clearfix">
+        <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>
+    <div id="header" class="clearfix">
+        <h1 class="headermain"><?php echo $heading ?></h1>
         <div class="headermenu"><?php echo $menu ?></div>
     </div>
 <?php } ?>
-    <div class="clearer">&nbsp;</div>
 <?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-    <table class="navbar"><tr><td>
+    <div class="navbar clearfix">
         <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
         <div class="navbutton"><?php echo $button; ?></div>
-    </td></tr></table>
+    </div>
 <?php } else if ($heading) { // If no navigation, but a heading, then print a line  
 ?>
         <hr size="1" noshade="noshade" />