Skip to content
Browse files

Temporary theme to help with XHTML testing and validation

  • Loading branch information...
moodler committed Sep 7, 2004
1 parent 0007136 commit 8fa41bc93da51a04a89c79e8325bd08e27d64af5
@@ -0,0 +1,17 @@
<?PHP // $Id$
$THEME->body = "#FFEECE"; // Main page color
$THEME->cellheading = "#FFD991"; // Standard headings of big tables
$THEME->cellheading2 = "#FFC85F"; // Highlight headings of tables
$THEME->cellcontent = "#FFFFFF"; // For areas with text
$THEME->cellcontent2 = "#FEE6B9"; // Alternate colour
$THEME->borders = "#FFC85F"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->autolink = "#DDDDDD"; // To color auto-generated links (eg glossary)
$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
// files from the moodle/pix directory
// See "cordoroyblue" for an up-to-date example.
Binary file not shown.
@@ -0,0 +1,9 @@

<hr size="1" noshade="noshade" />
<p class="logininfo"><?php echo $loggedinas ?></p>
<p class="homelink"><?php echo $homelink ?></p>
Binary file not shown.
@@ -0,0 +1,61 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html<?php echo $direction ?>>
<?php echo $meta ?>
<title><?php echo $title ?></title>
<meta name="keywords" content="moodle, <?php echo $title ?> " />
<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"); ?>

echo " $bodytags";
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">
<td valign="top" class="headerhomemain"><?php echo $heading?></td>
<td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>

<?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">
<td valign="top" class="headermain"><?php echo $heading?></td>
<td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>

<?php } ?>

<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>

<table border="0" cellpadding="3" cellspacing="0" width="100%">
<td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
<font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
<td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
echo $button;
<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="noshade" />

<?php } ?>

<!-- END OF HEADER -->

0 comments on commit 8fa41bc

Please sign in to comment.
You can’t perform that action at this time.