]> git.mjollnir.org Git - moodle.git/commitdiff
_added div framework (wrapper, header, nav-bar, containerContent, footer)
authorurs_hunkler <urs_hunkler>
Tue, 18 Jan 2005 11:13:37 +0000 (11:13 +0000)
committerurs_hunkler <urs_hunkler>
Tue, 18 Jan 2005 11:13:37 +0000 (11:13 +0000)
theme/standardxhtml/footer.html
theme/standardxhtml/header.html

index 354605f2a00200cfec47f902d355d488f6dd333b..9e39ccc8723cb2a05a9dc8fcd85090f4a82510eb 100644 (file)
@@ -1,5 +1,7 @@
 
+</div>
 <!-- START OF FOOTER -->
+<div id="footer">
 <center>
 <hr size="1" noshade="noshade" />
 <p class="logininfo"><?php echo $loggedinas ?></p>
@@ -7,8 +9,10 @@
 <hr size="1" noshade="noshade" />
 <p>
 <a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a> |
-<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a> 
+<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a>
 </p>
 </center>
+</div>
+</div>
 </body>
 </html>
index d01710c6b90a64b1206bcde36519834cf2895390..42d71ec180845eaff2a49bc06df7a012996c026f 100644 (file)
@@ -9,16 +9,17 @@
 <?php include("$CFG->javascript"); ?>
 </head>
 
-<body<?php 
+<body<?php
    echo " $bodytags";
-   if ($focus) { 
-       echo " onload=\"setfocus()\""; 
-   } 
+   if ($focus) {
+       echo " onload=\"setfocus()\"";
+   }
    echo " bgcolor=\"$THEME->body\">";
 ?>
+<div id="wrapper">
 
 <?php if ($home) {  // This is what gets printed on the home page only  ?>
-
+<div id="header-home">
   <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
     <tr>
       <td valign="top" class="headerhomemain"><?php echo $heading?></td>
   </table>
 
 <?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
+<div id="header">
   <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
     <tr>
       <td valign="top" class="headermain"><?php echo $heading?></td>
       <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
     </tr>
   </table>
-
 <?php } ?>
+</div>
 
-
+<div id="nav-bar">
 <?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
 
   <table border="0" cellpadding="3" cellspacing="0" width="100%">
@@ -45,7 +46,7 @@
       <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
         <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
       </td>
-      <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php 
+      <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
           echo $button;
       ?></td>
     </tr>
@@ -57,5 +58,6 @@
   <hr size="1" noshade="noshade" />
 
 <?php } ?>
-
+</div>
 <!-- END OF HEADER -->
+<div id="containerContent">
\ No newline at end of file