Browse files

1.6 compliance added

  • Loading branch information...
1 parent a7c3596 commit ad293d8bd3e24fc02337a83cbb94fddf6955a9de andreabix committed May 3, 2006
View
15 theme/formal_white/footer.html
@@ -21,9 +21,20 @@
<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>
View
15 theme/formal_white/fw_color.css
@@ -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;
}
View
4 theme/formal_white/fw_fonts.css
@@ -68,7 +68,9 @@ div.header,
font-weight: bold;
}
-
+.generaltable td.cell.c0 {
+ font-weight: bold;
+}
/***
*** Header
***/
View
20 theme/formal_white/fw_layout.css
@@ -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;
View
22 theme/formal_white/header.html
@@ -14,32 +14,32 @@
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">

0 comments on commit ad293d8

Please sign in to comment.