Skip to content

Commit

Permalink
1.6 compliance added
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabix committed May 3, 2006
1 parent a7c3596 commit ad293d8
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 18 deletions.
15 changes: 13 additions & 2 deletions theme/formal_white/footer.html
Expand Up @@ -21,9 +21,20 @@
<div align="center"> <div align="center">
<?php echo $loggedinas ?> <?php echo $loggedinas ?>
<?php echo $homelink ?> <?php echo $homelink ?>
<?php echo $performanceinfo ?> <?php if (!empty($performanceinfo)) {
echo $performanceinfo;
} ?>
</div> </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>
</div> </div>
Expand Down
15 changes: 15 additions & 0 deletions theme/formal_white/fw_color.css
Expand Up @@ -60,6 +60,16 @@ div.header {
background-color:#FFFFFF; background-color:#FFFFFF;
} }


.generaltable,
.generaltable td {
border-color:#C6BDA8;
/* background-color:#FFFFFF; */
}

.generaltable td.cell.c0 {
background-color:#C6BDA8;
}

.navbar { .navbar {
background-color:#C6BDA8; background-color:#C6BDA8;
border-color:#666666; border-color:#666666;
Expand Down Expand Up @@ -122,6 +132,11 @@ div.header {
background-color:#FEF9F6; background-color:#FEF9F6;
} }


.sideblock hr {
color:#C6BDA8;
/*background-color:#FEF9F6;*/
}

.sideblock .footer { .sideblock .footer {
border-top-color:#C6BDA8; border-top-color:#C6BDA8;
} }
Expand Down
4 changes: 3 additions & 1 deletion theme/formal_white/fw_fonts.css
Expand Up @@ -68,7 +68,9 @@ div.header,
font-weight: bold; font-weight: bold;
} }



.generaltable td.cell.c0 {
font-weight: bold;
}
/*** /***
*** Header *** Header
***/ ***/
Expand Down
20 changes: 16 additions & 4 deletions theme/formal_white/fw_layout.css
Expand Up @@ -62,6 +62,10 @@ input {
border-style:solid; border-style:solid;
} }


.headermain {
border-width: 0px;
}

.headermenu { .headermenu {
float:right; float:right;
text-align:right; text-align:right;
Expand Down Expand Up @@ -92,7 +96,7 @@ input {
***/ ***/


TABLE.loginbox { TABLE.loginbox {
margin-top: 20px; margin-top: 40px;
} }


.loginbox .header { .loginbox .header {
Expand All @@ -102,7 +106,7 @@ TABLE.loginbox {
} }


.loginbox .content { .loginbox .content {
border-top-width: 0px; border-top-width: 1px;
} }




Expand All @@ -119,8 +123,11 @@ TABLE.loginbox {
/*** /***
*** Blocks *** Blocks
***/ ***/



.sideblock .header h2 {
border-width: 0px;
}

.sideblock .footer { .sideblock .footer {
border-top-width:1px; border-top-width:1px;
border-top-style:dashed; border-top-style:dashed;
Expand Down Expand Up @@ -155,6 +162,11 @@ table.minicalendar tr td.day {
border-width: 1px; border-width: 1px;
} }


table.minicalendar tr.weekdays th abbr {
border-style: none;

}

table.calendarmonth { table.calendarmonth {
border-collapse:separate; border-collapse:separate;
border-spacing:1px !important; border-spacing:1px !important;
Expand Down
22 changes: 11 additions & 11 deletions theme/formal_white/header.html
Expand Up @@ -14,32 +14,32 @@
echo " onload=\"setfocus()\""; echo " onload=\"setfocus()\"";
} }
?>> ?>>

<div id="page"> <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 id="header-home" class="clearfix">
<div class="headermain"><img src='<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/logo.jpg' /></div> <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 class="headermenu"><?php echo $menu ?></div>
</div> </div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading <?php } else if ($heading) { // This is what gets printed on any other page with a heading
?> ?>
<div id="header"> <div id="header" class="clearfix">
<div class="headermain"><img src='<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/logo_small.jpg' /></div> <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 class="headermenu"><?php echo $menu ?></div>
</div> </div>
<?php } ?> <?php } ?>
<div class="clearer">&nbsp;</div> <?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?> if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<div class="navbar"> <div class="navbar clearfix">
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div> <div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
<div class="navbutton"><?php echo $button; ?></div> <div class="navbutton"><?php echo $button; ?></div>
</div> </div>
<?php } else if ($heading) { // If no navigation, but a heading, then print a line <?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 } ?> <?php } ?>
<div class="clearer">&nbsp;</div>
<!-- END OF HEADER --> <!-- END OF HEADER -->
<div id="content"> <div id="content">

0 comments on commit ad293d8

Please sign in to comment.