Permalink
Browse files

New standardlogo theme ... like standard but with a logo

  • Loading branch information...
martin
martin committed Sep 23, 2002
1 parent fd8dfb5 commit b3ac9d9b85ae1b7a042a22356a8c70f85e3f1e6d
@@ -0,0 +1,10 @@
+<?PHP // $Id$
+
+$THEME->body = "#FFEECE"; // Main page color
+$THEME->cellheading = "#FFD991"; // Standard headings of big tables
+$THEME->cellheading2 = "#FFB62D"; // Highlight headings of tables
+$THEME->cellcontent = "#FFFFFF"; // For areas with text
+$THEME->cellcontent2 = "#FFD991"; // Alternate colour
+$THEME->borders = "#555555"; // Table borders
+
+?>
Binary file not shown.
@@ -0,0 +1,7 @@
+<!-- START OF FOOTER -->
+<CENTER>
+<HR SIZE=1 NOSHADE>
+<FONT SIZE=1>
+<P><?=$loggedinas ?></P>
+<P><?=$homelink ?></P>
+</FONT>
@@ -0,0 +1,54 @@
+<HTML>
+<HEAD>
+<TITLE><?=$title ?></TITLE>
+<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
+<?=$meta ?>
+<LINK REL="stylesheet" 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 ALIGN=LEFT VALIGN=TOP>
+ <IMG BORDER=0 SRC="<?=$CFG->wwwroot?>/theme/standardlogo/logo.jpg">
+ </TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$button ?></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 ALIGN=LEFT VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
+ <TD ALIGN=RIGHT VALIGN=TOP><?=$button ?></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>
+ </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>
+
+<? } ?>
+
+<!-- END OF HEADER -->
@@ -0,0 +1,26 @@
+a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ text-decoration: none;
+ color: blue;}
+a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ text-decoration: none;
+ color: blue;}
+a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ text-decoration: underline;
+ color: red;}
+
+body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ background-color: #FFD991;}
+td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
+
+.highlight {
+ background-color: #AAFFAA;
+}

0 comments on commit b3ac9d9

Please sign in to comment.