Permalink
Browse files

Initial version of "Poweraid" theme from Bjarne Varoystrand aka Black…

… Skorpio

with a few half-finished changes ... still needs work which I'm doing right now...
  • Loading branch information...
moodler
moodler committed Jan 5, 2003
1 parent f5789d8 commit 8bbba2486c319fe616b11d218ede98574eb0fa12
Showing with 774 additions and 0 deletions.
  1. +42 −0 theme/poweraid/README.txt
  2. +41 −0 theme/poweraid/config.php
  3. +44 −0 theme/poweraid/footer.html
  4. +104 −0 theme/poweraid/header.html
  5. BIN theme/poweraid/images/bott_bar.jpg
  6. BIN theme/poweraid/images/bott_left.jpg
  7. BIN theme/poweraid/images/bott_middle.jpg
  8. BIN theme/poweraid/images/bott_right.jpg
  9. BIN theme/poweraid/images/client_copyright.gif
  10. BIN theme/poweraid/images/client_tools_bot_mid.gif
  11. BIN theme/poweraid/images/dots.gif
  12. BIN theme/poweraid/images/dots_002.gif
  13. BIN theme/poweraid/images/favicon.ico
  14. BIN theme/poweraid/images/gradient.jpg
  15. +3 −0 theme/poweraid/images/index.php
  16. BIN theme/poweraid/images/left_corner_bott.jpg
  17. BIN theme/poweraid/images/left_corner_top.jpg
  18. BIN theme/poweraid/images/left_sidebar.jpg
  19. BIN theme/poweraid/images/login_lower_left.gif
  20. BIN theme/poweraid/images/login_lower_right.gif
  21. BIN theme/poweraid/images/logo.jpg
  22. BIN theme/poweraid/images/logo_empty.jpg
  23. BIN theme/poweraid/images/lp_girl_offline.gif
  24. BIN theme/poweraid/images/lp_girl_online.gif
  25. BIN theme/poweraid/images/right_bott.jpg
  26. BIN theme/poweraid/images/right_corner_bott.jpg
  27. BIN theme/poweraid/images/right_corner_top.jpg
  28. BIN theme/poweraid/images/right_sidebar.jpg
  29. BIN theme/poweraid/images/right_top.jpg
  30. BIN theme/poweraid/images/side_left.gif
  31. BIN theme/poweraid/images/side_right.gif
  32. BIN theme/poweraid/images/sidebar_left.jpg
  33. BIN theme/poweraid/images/sidebar_right.jpg
  34. BIN theme/poweraid/images/tepscroll.swf
  35. BIN theme/poweraid/images/top_bar.jpg
  36. BIN theme/poweraid/images/top_middle.gif
  37. BIN theme/poweraid/images/top_right.gif
  38. BIN theme/poweraid/images/topbar_left.jpg
  39. BIN theme/poweraid/images/topbar_middle.jpg
  40. BIN theme/poweraid/images/topbar_right.jpg
  41. +3 −0 theme/poweraid/index.php
  42. +340 −0 theme/poweraid/license.txt
  43. +197 −0 theme/poweraid/styles.php
View
@@ -0,0 +1,42 @@
+Filename: README.txt
+Purpose of file: Give the admin user some usefull? info for the Moodle
+ PowerAid theme
+
+Author of file: Bjarne Varoystrand aka Black Skorpio
+E-mail: webmaster@postnuke-sweden.com
+Web: www.postnuke-sweden.com
+ICQ: 1194177
+
+---------------------------------------------------------------------
+LICENSE
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License (GPL)
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+To read the license please visit http://www.gnu.org/copyleft/gpl.html
+---------------------------------------------------------------------
+
+
+
+This theme has no hardcoded colors, everything is set in the files
+style.php and config.php
+Remember;
+If you change the;
+ $THEME->themeborders
+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/
+
+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.
View
@@ -0,0 +1,41 @@
+<?PHP // $Id$
+/*
+ Filename: config.php
+ Purpose of file: Setting defines for the theme
+
+ Author of file: Bjarne Varoystrand aka Black Skorpio
+ E-mail: webmaster@postnuke-sweden.com
+ Web: www.postnuke-sweden.com
+ ICQ: 1194177
+
+ ---------------------------------------------------------------------
+ LICENSE
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License (GPL)
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ To read the license please visit http://www.gnu.org/copyleft/gpl.html
+*/
+
+$THEME->themewidth = "98%"; // The total width of the theme
+$THEME->themeborders = "#cccccc"; // Is used as border color for the theme
+$THEME->topmargin = "10"; // Used in the theme <body> tag
+$THEME->leftmargin = "0"; // Used in the theme <body> tag
+$THEME->marginheight = "10"; // Used in the theme <body> tag
+$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->cellcontent = "#FFFFFF"; // For areas with text
+$THEME->cellcontent2 = "#EFEFEF"; // Alternate colour
+$THEME->borders = "#555555"; // Table borders
+
+?>
View
@@ -0,0 +1,44 @@
+<?php
+/*
+ Filename: footer.html
+ Purpose of file: Printing out the Moodle theme footer
+
+ Author of file: Bjarne Varoystrand aka Black Skorpio
+ E-mail: webmaster@postnuke-sweden.com
+ Web: www.postnuke-sweden.com
+ ICQ: 1194177
+
+ ---------------------------------------------------------------------
+ LICENSE
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License (GPL)
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ To read the license please visit http://www.gnu.org/copyleft/gpl.html
+*/
+?>
+</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>
+<td height="9" width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_bott.jpg" width="6" height="9" /></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>
+</tr>
+</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
+<tr>
+<td width="93" height="19" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/client_tools_bot_mid.gif"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/login_lower_left.gif" width="93" height="19" /></td>
+<td height="19" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/client_tools_bot_mid.gif"><center><FONT SIZE=1><?=$loggedinas ?></FONT></center></td>
+<td width="93" height="19" align="right" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/client_tools_bot_mid.gif"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/login_lower_right.gif" width="93" height="19" border="0" /></a></td>
+</tr>
+</table>
+<P align=center><font size="1"><?=$homelink ?></font></P>
View
@@ -0,0 +1,104 @@
+<?php
+/*
+ Filename: header.html
+ Purpose of file: Printing out the Moodle theme header
+
+ Author of file: Bjarne Varoystrand aka Black Skorpio
+ E-mail: webmaster@postnuke-sweden.com
+ Web: www.postnuke-sweden.com
+ ICQ: 1194177
+
+ ---------------------------------------------------------------------
+ LICENSE
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License (GPL)
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ To read the license please visit http://www.gnu.org/copyleft/gpl.html
+*/
+?>
+<HTML<?=$direction?>>
+<HEAD>
+<TITLE><?=$title ?></TITLE>
+<META NAME="keywords" CONTENT="Moodle, <?=$title ?> " />
+<?=$meta ?>
+<meta name="ROBOTS" content="INDEX,FOLLOW" />
+<meta name="resource-type" content="document" />
+<meta http-equiv="expires" content="0" />
+<meta name="author" content="<?=$title ?>" />
+<meta name="copyright" content="Copyright (c) 2003 by <?=$title ?>" />
+<meta name="revisit-after" content="1 days" />
+<meta name="distribution" content="Global" />
+<meta name="generator" content="Moodle - http://moodle.com" />
+<meta name="rating" content="General" />
+
+<LINK REL="stylesheet" HREF="<?=$styles ?>" />
+<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/favicon.ico" />
+</script>
+<? include("$CFG->javascript"); ?>
+</HEAD>
+
+<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">
+
+<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>
+</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 ?>
+<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 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=middle>&nbsp;<FONT SIZE=4><B><?=$heading?></B></FONT></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 ?>
+<? } ?>
+</td>
+<td width="1" bgcolor="<? echo $THEME->themeborder?>"><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?>">
+<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">
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
+<?
+ header("Location: ../../../index.php");
+?>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
View
@@ -0,0 +1,3 @@
+<?
+ header("Location: ../../index.php");
+?>
Oops, something went wrong.

0 comments on commit 8bbba24

Please sign in to comment.