]> git.mjollnir.org Git - moodle.git/commitdiff
Many little clean-ups for themes.
authormoodler <moodler>
Thu, 15 May 2003 13:55:22 +0000 (13:55 +0000)
committermoodler <moodler>
Thu, 15 May 2003 13:55:22 +0000 (13:55 +0000)
  - Got rid of obvious non-XHTML code in headers and footers.
  - Got rid of all the PHP short tags
  - Added new styles for the headers

32 files changed:
theme/UPGRADE.txt
theme/brightretro/footer.html
theme/brightretro/header.html
theme/brightretro/styles.php
theme/cordoroyblue/header.html
theme/cordoroyblue/styles.php
theme/garden/footer.html
theme/garden/header.html
theme/garden/styles.php
theme/oceanblue/footer.html
theme/oceanblue/header.html
theme/oceanblue/styles.php
theme/poweraid/images/favicon.ico
theme/poweraid/styles.php
theme/standard/footer.html
theme/standard/header.html
theme/standard/styles.php
theme/standardblue/footer.html
theme/standardblue/header.html
theme/standardblue/styles.php
theme/standardgreen/footer.html
theme/standardgreen/header.html
theme/standardgreen/styles.php
theme/standardlogo/footer.html
theme/standardlogo/header.html
theme/standardlogo/styles.php
theme/standardred/footer.html
theme/standardred/header.html
theme/standardred/styles.php
theme/standardwhite/footer.html
theme/standardwhite/header.html
theme/standardwhite/styles.php

index 36ade953fc10fc57c9fbdfa5e2299fb0fa2f4af2..7ca1d0630bc7b3f6f774622e1159c7dac2687006 100644 (file)
@@ -64,12 +64,26 @@ a.dimmed:hover {}
 .weeklydatetext {}
 
 
-/* Style for the notice boxes (surrounding a notice message)  */
+/* Style for the notice boxes (surrounding a notice message) */
 
 .noticebox {}
 .noticeboxcontent {}
 
 
+/* Styles for the headers of all pages (see header.html) */
+
+.header {}
+.headermain {}
+.headermenu {}
+
+
+/* Styles for the headers of the home page (see header.html) */
+
+.headerhome {}
+.headerhomemain {}
+.headerhomemenu {}
+
+
 ALL pix files can now be changed from within a theme, 
 see cordoroyblue for an example:  config.php and the 
 pix subdirectory.
index e016358ef3f689ad7982b021c84a14286dbeb1fb..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,10 +1,9 @@
+
 <!-- START OF FOOTER -->
-<CENTER>
-<HR SIZE=1 NOSHADE>
-<FONT SIZE=1>
-<P><?=$loggedinas ?></P>
-<P><?=$homelink ?></P>
-</FONT>
+<center>
+<hr size="1" noshade="noshade" />
+<p class="logininfo"><?=$loggedinas ?></p>
+<p class="homelink"><?=$homelink ?></p>
 
-</BODY>
-</HTML>
+</body>
+</html>
index de492c24d1a842a3c192b5c6b70e53c3f56b49cb..5ff0213501d6c86de284820848c4cf0473fa3036 100644 (file)
@@ -1,55 +1,61 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/brightretro/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP>
-             <IMG BORDER=0 SRC="<?=$CFG->wwwroot?>/theme/brightretro/logo.jpg">
-         </TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><img 
+          border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>"></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index 3f15c96cc697cd4a473400cb80701e8918765d6b..ccb520cc9885ded3e9f14ebb4e38e7f6e8748a5a 100644 (file)
@@ -265,3 +265,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 004feaa73a8e5c741344151742f027c787deb41a..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100644 (file)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardblue/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index 7d083c292b1d5ec89d25e981045b56ab751e0927..59bb199596fe4a3ce048cacbae93a93f786a04e2 100644 (file)
@@ -360,3 +360,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index ccc60bb129ee1f68fc7fa5fb7c1d0848845f29d8..e0305179fd728b026a49f1112c0e915b3119bdcd 100755 (executable)
@@ -1,10 +1,8 @@
 <!-- START OF FOOTER -->
-<CENTER>
-<HR SIZE="2" noshade="noshade">
-<FONT SIZE="2">
-<P><?=$loggedinas ?></P>
-<P><?=$homelink ?></P>
-</FONT>
+<center>
+<hr size=2 noshade="noshade" />
+<p class="logininfo"><?=$loggedinas ?></p>
+<p class="homelink"><?=$homelink ?></p>
 
-</BODY>
-</HTML>
+</body>
+</html>
index c0fa2487a564e29398fdf43a2eab9cdbba1dff1f..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100755 (executable)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/garden/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0 class="top">
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0 class="top">
-       <TR>
-         <TD VALIGN=TOP style="padding-left: 10px"><br /><FONT SIZE=4><B><?=$heading?></B></FONT><br /><br /></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP  style="padding-right: 10px"><br /><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 noshade="noshade">
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index 4bc9a84230d92910d0388f23873a8ce6152cac13..6bb6bcca1c2963adf4618f0f620f8982a858307f 100755 (executable)
@@ -285,3 +285,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index c2178515a43cd6224555fd36a0e7cb8c6b3383a3..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,10 +1,9 @@
-<!-- START OF FOOTER -->\r
-<CENTER>\r
-<HR SIZE=1 NOSHADE>\r
-<FONT SIZE=1>\r
-<P><?=$loggedinas ?></P>\r
-<P><?=$homelink ?></P>\r
-</FONT>\r
-\r
-</BODY>\r
-</HTML>\r
+
+<!-- START OF FOOTER -->
+<center>
+<hr size="1" noshade="noshade" />
+<p class="logininfo"><?=$loggedinas ?></p>
+<p class="homelink"><?=$homelink ?></p>
+
+</body>
+</html>
index 252d81d06e1c78a24e296a84f73621809965978a..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100644 (file)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>\r
-<HEAD>\r
-<TITLE><?=$title ?></TITLE>\r
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">\r
-<?=$meta ?>\r
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">\r
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/oceanblue/favicon.ico">\r
-<? include("$CFG->javascript"); ?>\r
-</HEAD>\r
-\r
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>\r
-\r
-<? if ($home) {  // This is what gets printed on the home page only  ?>\r
-\r
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>\r
-       <TR>\r
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>\r
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>\r
-       </TR>\r
-     </TABLE>\r
-\r
-\r
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>\r
-\r
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>\r
-       <TR>\r
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>\r
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>\r
-       </TR>\r
-     </TABLE>\r
-\r
-<? } ?>\r
-\r
-\r
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>\r
-\r
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>\r
-       <TR>\r
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">\r
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>\r
-         </TD>\r
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>\r
-       </TR>\r
-     </TABLE>\r
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>\r
-\r
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>\r
-\r
-     <HR SIZE=1 NOSHADE>\r
-\r
-<? } ?>\r
-\r
-<!-- END OF HEADER -->\r
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
+
+<!-- END OF HEADER -->
index 52b59f979c1b44604d81c48a8f6b6f357c19c7f1..054b057e5f9c35db6124095d3d3e87bce33055ed 100644 (file)
@@ -367,3 +367,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 155472662159b93b592b0a0a8924e37c6477aba6..ff943576e27cb0f7af663d34bc5bc43e56b5960e 100644 (file)
Binary files a/theme/poweraid/images/favicon.ico and b/theme/poweraid/images/favicon.ico differ
index de9677f3084166845fdac7bdde3993eaccb97469..7756dcd4e219604a15a364df6f485e4f660de9d5 100644 (file)
@@ -209,3 +209,25 @@ select {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 211873bb253a49d99451aed37173716f6f5f47e9..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,6 +1,7 @@
+
 <!-- START OF FOOTER -->
 <center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
 <p class="logininfo"><?=$loggedinas ?></p>
 <p class="homelink"><?=$homelink ?></p>
 
index 40d5f9facff752140df48daa4a829b069e48fd46..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100644 (file)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standard/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index ee2788f976fb5b12fab337340ff7937494a9072f..d28173e9a7a061f617c8710fa3cb4cd8e94a44ad 100644 (file)
@@ -263,3 +263,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 211873bb253a49d99451aed37173716f6f5f47e9..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,6 +1,7 @@
+
 <!-- START OF FOOTER -->
 <center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
 <p class="logininfo"><?=$loggedinas ?></p>
 <p class="homelink"><?=$homelink ?></p>
 
index 004feaa73a8e5c741344151742f027c787deb41a..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100644 (file)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardblue/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index ee2788f976fb5b12fab337340ff7937494a9072f..d28173e9a7a061f617c8710fa3cb4cd8e94a44ad 100644 (file)
@@ -263,3 +263,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 211873bb253a49d99451aed37173716f6f5f47e9..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,6 +1,7 @@
+
 <!-- START OF FOOTER -->
 <center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
 <p class="logininfo"><?=$loggedinas ?></p>
 <p class="homelink"><?=$homelink ?></p>
 
index c702e1e96d64e1bbf464ad1c8b5ef0dee3a2691e..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100644 (file)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardgreen/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index ee2788f976fb5b12fab337340ff7937494a9072f..d28173e9a7a061f617c8710fa3cb4cd8e94a44ad 100644 (file)
@@ -263,3 +263,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 211873bb253a49d99451aed37173716f6f5f47e9..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,6 +1,7 @@
+
 <!-- START OF FOOTER -->
 <center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
 <p class="logininfo"><?=$loggedinas ?></p>
 <p class="homelink"><?=$homelink ?></p>
 
index fce7df27cc29da4cbd1eac4c70699b5e0207f7da..5ff0213501d6c86de284820848c4cf0473fa3036 100644 (file)
@@ -1,55 +1,61 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardlogo/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP>
-             <IMG BORDER=0 SRC="<?=$CFG->wwwroot?>/theme/standardlogo/logo.jpg">
-         </TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><img 
+          border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>"></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index ee2788f976fb5b12fab337340ff7937494a9072f..d28173e9a7a061f617c8710fa3cb4cd8e94a44ad 100644 (file)
@@ -263,3 +263,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 211873bb253a49d99451aed37173716f6f5f47e9..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,6 +1,7 @@
+
 <!-- START OF FOOTER -->
 <center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
 <p class="logininfo"><?=$loggedinas ?></p>
 <p class="homelink"><?=$homelink ?></p>
 
index 30c2325bae8b6331a3dcb60573ad1911739f7eae..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100644 (file)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardred/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index ee2788f976fb5b12fab337340ff7937494a9072f..d28173e9a7a061f617c8710fa3cb4cd8e94a44ad 100644 (file)
@@ -263,3 +263,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}
index 211873bb253a49d99451aed37173716f6f5f47e9..18bb88290b62f0bfb61a04881d1383d6d5b0317b 100644 (file)
@@ -1,6 +1,7 @@
+
 <!-- START OF FOOTER -->
 <center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
 <p class="logininfo"><?=$loggedinas ?></p>
 <p class="homelink"><?=$homelink ?></p>
 
index 5b462f439ac905f68062c8080abd7f3fa9719b82..25e2d220b3d2b8236df6b0cb27aff6bb175450db 100644 (file)
@@ -1,53 +1,60 @@
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardwhite/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) {  // This is what gets printed on the home page only  ?>
-
-     <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-
-<? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-
-     <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
-       <TR>
-         <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-         <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
-       </TR>
-     </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-
-     <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
-       <TR>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
-           <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
-         </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
-       </TR>
-     </TABLE>
-     <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-
-     <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php 
+   if ($focus) { 
+       echo " onload=setfocus()"; 
+   } 
+   echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) {  // This is what gets printed on the home page only  ?>
+
+  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+    <tr>
+      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+    </tr>
+  </table>
+
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
+
+  <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 } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+
+  <table border="0" cellpadding="3" cellspacing="0" width="100%">
+    <tr>
+      <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 
+          echo $button;
+      ?></td>
+    </tr>
+  </table>
+  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
+
+  <hr size="1" noshade />
+
+<?php } ?>
 
 <!-- END OF HEADER -->
index ee2788f976fb5b12fab337340ff7937494a9072f..d28173e9a7a061f617c8710fa3cb4cd8e94a44ad 100644 (file)
@@ -263,3 +263,25 @@ a.dimmed:hover {
 .teacheronly {
     color: #990000;
 }
+
+.header {
+}
+
+.headermain {
+    font-size: large;
+    font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+    font-size: x-large;
+    font-weight: bold;
+}
+
+.headerhomemenu {
+}