]> git.mjollnir.org Git - moodle.git/commitdiff
1.6 compliance added
authorandreabix <andreabix>
Wed, 3 May 2006 17:28:18 +0000 (17:28 +0000)
committerandreabix <andreabix>
Wed, 3 May 2006 17:28:18 +0000 (17:28 +0000)
theme/formal_white/footer.html
theme/formal_white/fw_color.css
theme/formal_white/fw_fonts.css
theme/formal_white/fw_layout.css
theme/formal_white/header.html

index c8d715c64ad4f01ff1ee9bc769ba1b4aca7f774e..3680d386dfbe0eb3401eb7e1124f958be59c9d1c 100644 (file)
 <div align="center">
 <?php echo $loggedinas ?>
 <?php echo $homelink ?>
-<?php echo $performanceinfo ?>
+<?php if (!empty($performanceinfo)) {
+          echo $performanceinfo;
+} ?>
 </div>
-
+<?php if ($CFG->debug > 7) {
+?>
+          <br />
+          <hr size="1" noshade="noshade" />
+          <p align="center">
+          <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=0&amp;warnp2n3e=1&amp;url1=<?php echo urlencode(qualified_me()) ?>">WCAG 1 (2,3) Check</a>
+          </p>
+<?php } ?>
 
 </div>
 </div>
index f0a0f9eb618fdbb64fdf92ea2339dd776dfb50f2..2758ee68f2832c9fe9b65f597741cf1508d11b03 100644 (file)
@@ -60,6 +60,16 @@ div.header {
   background-color:#FFFFFF;
 }
 
+.generaltable,
+.generaltable td {
+  border-color:#C6BDA8;
+  /* background-color:#FFFFFF; */
+}
+
+.generaltable td.cell.c0 {
+background-color:#C6BDA8; 
+}
+
 .navbar {
   background-color:#C6BDA8;
   border-color:#666666;
@@ -122,6 +132,11 @@ div.header {
   background-color:#FEF9F6;
 }
 
+.sideblock hr {
+  color:#C6BDA8;
+  /*background-color:#FEF9F6;*/
+}
+
 .sideblock .footer {
   border-top-color:#C6BDA8;
 }
index ee4769104f968cba2fca769f35c2960b7fe6a52f..7108e65a7d535e9c7c98a892e6b2c0403cfd0e66 100644 (file)
@@ -68,7 +68,9 @@ div.header,
     font-weight: bold;
 }
 
-
+.generaltable td.cell.c0 {
+  font-weight: bold;
+}
 /***
  *** Header
  ***/
index 93e586941c4f6a652ea94ee683689d1251f8a528..4ee6f841571c7d97764d34bf58ac40a9288822c5 100644 (file)
@@ -62,6 +62,10 @@ input {
   border-style:solid;
 }
 
+.headermain {
+ border-width: 0px;
+}
+
 .headermenu {
   float:right;
   text-align:right;
@@ -92,7 +96,7 @@ input {
  ***/
 
 TABLE.loginbox {
-  margin-top: 20px;
+  margin-top: 40px;
   }
 
 .loginbox .header {
@@ -102,7 +106,7 @@ TABLE.loginbox {
 }
 
 .loginbox .content {
-  border-top-width: 0px;
+  border-top-width: 1px;
 }
 
 
@@ -119,8 +123,11 @@ TABLE.loginbox {
 /***
  *** Blocks
  ***/
-
-
+ .sideblock .header h2 {
+  border-width: 0px;
+ }
 .sideblock .footer {
   border-top-width:1px;
   border-top-style:dashed;
@@ -155,6 +162,11 @@ table.minicalendar tr td.day {
   border-width: 1px;
 }
 
+table.minicalendar tr.weekdays th abbr {
+  border-style: none;
+
+  }
+
 table.calendarmonth {
   border-collapse:separate;
   border-spacing:1px !important;
index b805e466ed26489691dbe94c94a5aff631a14ea8..75f1f1e902ed37bf8edea5e59084d1250e49456d 100644 (file)
         echo " onload=\"setfocus()\"";
     }
     ?>>
-    
+      
 <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"><img src='<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/logo.jpg' /></div>
+    <div id="header-home" class="clearfix">
+        <h1 class="headermain"><img src='<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/logo.jpg' border='0'/></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"><img src='<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/logo_small.jpg' /></div>
+    <div id="header" class="clearfix">
+        <h1 class="headermain"><img src='<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/logo_small.jpg' border='0'/></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  ?>
-    <div class="navbar">
+<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
+      if ($navigation) { // This is the navigation bar with breadcrumbs  ?>
+    <div class="navbar clearfix">
         <div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
         <div class="navbutton"><?php echo $button; ?></div>
     </div>
 <?php } else if ($heading) { // If no navigation, but a heading, then print a line  
 ?>
-        <hr size="1" noshade="noshade" />
+       <hr size="1" noshade="noshade" />
 <?php } ?>
-    <div class="clearer">&nbsp;</div>
     <!-- END OF HEADER -->
     <div id="content">
\ No newline at end of file