]> git.mjollnir.org Git - moodle.git/commitdiff
New standardlogo theme ... like standard but with a logo
authormartin <martin>
Mon, 23 Sep 2002 15:38:22 +0000 (15:38 +0000)
committermartin <martin>
Mon, 23 Sep 2002 15:38:22 +0000 (15:38 +0000)
theme/standardlogo/config.php [new file with mode: 0644]
theme/standardlogo/favicon.ico [new file with mode: 0644]
theme/standardlogo/footer.html [new file with mode: 0644]
theme/standardlogo/header.html [new file with mode: 0644]
theme/standardlogo/styles.css [new file with mode: 0644]

diff --git a/theme/standardlogo/config.php b/theme/standardlogo/config.php
new file mode 100644 (file)
index 0000000..6806d64
--- /dev/null
@@ -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
+
+?>
diff --git a/theme/standardlogo/favicon.ico b/theme/standardlogo/favicon.ico
new file mode 100644 (file)
index 0000000..517c840
Binary files /dev/null and b/theme/standardlogo/favicon.ico differ
diff --git a/theme/standardlogo/footer.html b/theme/standardlogo/footer.html
new file mode 100644 (file)
index 0000000..c7645ae
--- /dev/null
@@ -0,0 +1,7 @@
+<!-- START OF FOOTER -->
+<CENTER>
+<HR SIZE=1 NOSHADE>
+<FONT SIZE=1>
+<P><?=$loggedinas ?></P>
+<P><?=$homelink ?></P>
+</FONT>
diff --git a/theme/standardlogo/header.html b/theme/standardlogo/header.html
new file mode 100644 (file)
index 0000000..5d36688
--- /dev/null
@@ -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 -->
diff --git a/theme/standardlogo/styles.css b/theme/standardlogo/styles.css
new file mode 100644 (file)
index 0000000..2ab9641
--- /dev/null
@@ -0,0 +1,26 @@
+a:link    {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+           text-decoration: none; \r
+           color: blue;}\r
+a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+           text-decoration: none; \r
+           color: blue;}\r
+a:hover   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+           text-decoration: underline; \r
+           color: red;}\r
+\r
+body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+p    {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+h1   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+h2   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+h3   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+h4   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+th   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+      font-weight: bold; \r
+      background-color: #FFD991;}\r
+td   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+li   {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+.highlight {\r
+    background-color: #AAFFAA;\r
+}\r