]> git.mjollnir.org Git - moodle.git/commitdiff
Cleaned things up somewhat and made it more generic
authormoodler <moodler>
Sun, 5 Jan 2003 09:53:30 +0000 (09:53 +0000)
committermoodler <moodler>
Sun, 5 Jan 2003 09:53:30 +0000 (09:53 +0000)
13 files changed:
theme/poweraid/README.txt
theme/poweraid/config.php
theme/poweraid/footer.html
theme/poweraid/header.html
theme/poweraid/images/client_copyright.gif [deleted file]
theme/poweraid/images/frontlogo.jpg [new file with mode: 0755]
theme/poweraid/images/logo.jpg [deleted file]
theme/poweraid/images/logo_empty.jpg [deleted file]
theme/poweraid/images/lp_girl_offline.gif [deleted file]
theme/poweraid/images/lp_girl_online.gif [deleted file]
theme/poweraid/images/smalllogo.jpg [new file with mode: 0644]
theme/poweraid/images/tepscroll.swf [deleted file]
theme/poweraid/styles.php

index 611d007a82550aa6bcc6bd934501d7e0b6b03d50..55beb7348d10d1530fdb79707ff0676cbd4ccc70 100644 (file)
@@ -33,10 +33,14 @@ If you change the;
 It can hurt your eyes if you choose the wrong color ;-)
 
 To change the logo to something that is more like you...
-open up the file logo_empty.jpg that you can find inside the;
-moodledir/theme/PowerAid/images/
+edit the files frontlogo.jpg and smalllogo.jpg that you can find inside the;
+moodledir/theme/poweraid/images/
 
 For other configuration options for this theme please see the config.php
 
 Other than that, i should think that most of the options for this theme
-is simple to understand.
\ No newline at end of file
+is simple to understand.
+
+----
+5 Jan 2003 - Martin made some changes to this theme and some of the 
+             filenames in this file to match
index cfacab904d95987830357a6a312c90b0edbdbff3..fc14f4ec89f034dd74e094a8ed15eaf6f226de0a 100644 (file)
@@ -33,9 +33,12 @@ $THEME->marginwidth   = "0";       // Used in the theme <body> tag
 
 $THEME->body         = "#FFFFFF";  // Main page color
 $THEME->cellheading  = "#E8E8E8";  // Standard headings of big tables
-$THEME->cellheading2 = "#DDDDDD";  // Highlight headings of tables
+$THEME->cellheading2 = "#AAAAAA";  // Highlight headings of tables
 $THEME->cellcontent  = "#FFFFFF";  // For areas with text
 $THEME->cellcontent2 = "#EFEFEF";  // Alternate colour
 $THEME->borders      = "#555555";  // Table borders
 
-?>
\ No newline at end of file
+$THEME->frontlogo    = "images/frontlogo.jpg";       // Logo on front page
+$THEME->smalllogo    = "images/smalllogo.jpg";  // Header logo on other pages
+
+?>
index 6dd2c5d4a7ee47eaa2e55a007c4e50963b8bd2fd..d36d6e554fd866a4457dcff00bdcca8fdb0cd409 100644 (file)
@@ -25,7 +25,7 @@
 */
 ?>
 </td>
-<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100" /></td>
+<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
 </tr><tr>
 <td height="9" width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_bott.jpg" width="6" height="9" /></td>
 <td height="9" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/bott_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/bott_bar.jpg" width="1" height="9" /></td>
index 0e0233a43b410e3d3223510a8e87605130898243..e8956d9b2d0ba7fa465712657fcfe8fb5841031f 100644 (file)
 
 <BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\" topmargin=\"$THEME->topmargin\" leftmargin=\"$THEME->leftmargin\" marginheight=\"$THEME->marginheight\" marginwidth=\"$THEME->marginwidth\" />"; ?>
 
-<div align="center">
 
+<? if ($home) {  // This is what gets printed on the home page only  ?>
+<div align="center">
 <table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
 <tr>
-<td width="263" height="76"><a href="index.php" title="Moodle, <?=$title ?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/logo.jpg" width="263" height="76" border="0" /></a></td>
-<td height="76" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_middle.gif" align="center" valign="middle">&nbsp;</td>
-<td align="right" width="229" height="76" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_right.gif" valign="middle"><?=$menu ?>&nbsp;<BR><?=$button ?>&nbsp;</td>
+<td width="6" ><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
+<td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
+<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
 </tr>
-</table>
-
-<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
 <tr>
-<td width="1" bgcolor="<? echo $THEME->themeborder?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
-<td align="center" valign="middle">
-<? if ($home) {  // This is what gets printed on the home page only  ?>
+<td width="6" bgcolor="<? echo $THEME->body?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
+<td align="left" valign="top"><A HREF="<? echo $CFG->wwwroot?>"><img src="<? echo "$CFG->wwwroot/theme/$CFG->theme/$THEME->frontlogo" ?>" border="0" /></A></td>
+<td width="6" bgcolor="<? echo $THEME->body?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
+</tr>
+</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
+<tr>
+<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
+<td align="center" valign="middle" width="100%">
 <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
 <TR>
 <TD ALIGN=LEFT VALIGN=middle>&nbsp;<FONT SIZE=4><B><?=$heading?></B></FONT></TD>
 <TD ALIGN=RIGHT VALIGN=middle><?=$menu ?>&nbsp;</TD>
 </TR>
 </TABLE>
+
+</td>
+<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
+</tr>
+</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
+<tr>
+<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
+<td align="center" valign="top">
+<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
+<tr>
+<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
+<td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
+<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
+</tr><tr>
+<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg" width="6" height="100" /></td>
+<td align="left" valign="top">
+
+
 <? } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
-<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
+<tr>
+<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
+<td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
+<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
+</tr>
+<tr>
+<td width="6" bgcolor="<? echo $THEME->body?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
+<td align="left" valign="top"><A HREF="<? echo $CFG->wwwroot ?>"><img src="<? echo "$CFG->wwwroot/theme/$CFG->theme/$THEME->smalllogo" ?>" border="0" /></A></td>
+<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
+</tr>
+</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
+<tr>
+<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
+<td align="center" valign="middle">
+<table WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
 <TR>
 <TD ALIGN=LEFT VALIGN=middle>&nbsp;<FONT SIZE=4><B><?=$heading?></B></FONT></TD>
+<TD ALIGN=RIGHT VALIGN=middle><?=$menu ?>&nbsp;</TD>
 </TR>
-</TABLE>
-<? } else {  // This is what gets printed on any other page (no heading, not home page) ?>
-<? } ?>
-<? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
-<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
-<TR>
-<TD BGCOLOR="<?=$THEME->cellheading?>" VALIGN=middle>&nbsp;<FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT></TD>
-</TR>
-</TABLE>
-<? } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
-<? } ?>
+</table>
+
+   <? if ($navigation) { // This is the navigation table with breadcrumbs  ?>
+    <table BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
+    <TR>
+    <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" VALIGN=middle>&nbsp;<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>
+   <? } ?>
+
 </td>
-<td width="1" bgcolor="<? echo $THEME->themeborder?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
+<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
 </tr>
 </table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
 <tr>
-<td width="1" bgcolor="<? echo $THEME->themeborder?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
-<td align="center" valign="top"><table border="0" width="100%">
-<tr>
-<td>&nbsp;</td>
-</tr>
-</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
+<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
+<td align="center" valign="top">
+<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
 <tr>
 <td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
 <td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
 </tr><tr>
 <td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg" width="6" height="100" /></td>
 <td align="left" valign="top">
+
+
+<? } else {  // This is what gets printed on any other page (no heading, not home page) ?>
+<BLOCKQUOTE>
+
+<? } ?>
+
+<!-- End of header -->
diff --git a/theme/poweraid/images/client_copyright.gif b/theme/poweraid/images/client_copyright.gif
deleted file mode 100644 (file)
index 68fbf01..0000000
Binary files a/theme/poweraid/images/client_copyright.gif and /dev/null differ
diff --git a/theme/poweraid/images/frontlogo.jpg b/theme/poweraid/images/frontlogo.jpg
new file mode 100755 (executable)
index 0000000..a424574
Binary files /dev/null and b/theme/poweraid/images/frontlogo.jpg differ
diff --git a/theme/poweraid/images/logo.jpg b/theme/poweraid/images/logo.jpg
deleted file mode 100644 (file)
index 0dc2e34..0000000
Binary files a/theme/poweraid/images/logo.jpg and /dev/null differ
diff --git a/theme/poweraid/images/logo_empty.jpg b/theme/poweraid/images/logo_empty.jpg
deleted file mode 100644 (file)
index 798cd74..0000000
Binary files a/theme/poweraid/images/logo_empty.jpg and /dev/null differ
diff --git a/theme/poweraid/images/lp_girl_offline.gif b/theme/poweraid/images/lp_girl_offline.gif
deleted file mode 100644 (file)
index dfacde7..0000000
Binary files a/theme/poweraid/images/lp_girl_offline.gif and /dev/null differ
diff --git a/theme/poweraid/images/lp_girl_online.gif b/theme/poweraid/images/lp_girl_online.gif
deleted file mode 100644 (file)
index 552a2db..0000000
Binary files a/theme/poweraid/images/lp_girl_online.gif and /dev/null differ
diff --git a/theme/poweraid/images/smalllogo.jpg b/theme/poweraid/images/smalllogo.jpg
new file mode 100644 (file)
index 0000000..c74b38c
Binary files /dev/null and b/theme/poweraid/images/smalllogo.jpg differ
diff --git a/theme/poweraid/images/tepscroll.swf b/theme/poweraid/images/tepscroll.swf
deleted file mode 100644 (file)
index aa7d0a4..0000000
Binary files a/theme/poweraid/images/tepscroll.swf and /dev/null differ
index 729c820e45a6ff0af4a7a415fd14321cd5180ff8..7c5418cdb44dd27e945460242620c84063e8b074 100644 (file)
@@ -152,6 +152,7 @@ form {
        border-width: 1px;
        border-color: <?PHP echo $THEME->borders?>;
        border-style: solid;
+       font-weight: bold;
 }
 
 .weeklyoutline {
@@ -181,6 +182,7 @@ form {
 
 .forumpostmessage {
 }
+
 input {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;