Skip to content
Browse files

Cleaned things up somewhat and made it more generic

  • Loading branch information...
1 parent 8bbba24 commit 5dc09fb6ee6ea08060c6bc03d01695dae3a2a93b moodler committed Jan 5, 2003
View
10 theme/poweraid/README.txt
@@ -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.
+is simple to understand.
+
+----
+5 Jan 2003 - Martin made some changes to this theme and some of the
+ filenames in this file to match
View
7 theme/poweraid/config.php
@@ -33,9 +33,12 @@
$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
-?>
+$THEME->frontlogo = "images/frontlogo.jpg"; // Logo on front page
+$THEME->smalllogo = "images/smalllogo.jpg"; // Header logo on other pages
+
+?>
View
2 theme/poweraid/footer.html
@@ -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>
View
101 theme/poweraid/header.html
@@ -47,58 +47,101 @@
<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>
<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 { // This is what gets printed on any other page (no heading, not home page) ?>
+<BLOCKQUOTE>
+
+<? } ?>
+
+<!-- End of header -->
View
BIN theme/poweraid/images/client_copyright.gif
Deleted file not rendered
View
BIN theme/poweraid/images/frontlogo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN theme/poweraid/images/logo.jpg
Deleted file not rendered
View
BIN theme/poweraid/images/logo_empty.jpg
Deleted file not rendered
View
BIN theme/poweraid/images/lp_girl_offline.gif
Deleted file not rendered
View
BIN theme/poweraid/images/lp_girl_online.gif
Deleted file not rendered
View
BIN theme/poweraid/images/smalllogo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN theme/poweraid/images/tepscroll.swf
Binary file not shown.
View
2 theme/poweraid/styles.php
@@ -152,6 +152,7 @@
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
+ font-weight: bold;
}
.weeklyoutline {
@@ -181,6 +182,7 @@
.forumpostmessage {
}
+
input {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;

0 comments on commit 5dc09fb

Please sign in to comment.
Something went wrong with that request. Please try again.