Permalink
Browse files

Added and transalted new strings.

  • Loading branch information...
1 parent 31a2b4f commit cd0a36fd35a31e62fffa68053dc4cc60e9a65848 andreabix committed Apr 1, 2005
@@ -0,0 +1,19 @@
+<h3>Formal_White Theme</h3>
+<hr />
+
+<p>This theme has the colour gamma into the pale grey/brown area. Those colours
+ renders in a very similar way in both RGB and LCD monitors. Custom logo can
+ be easely substituded (see instruction below). Fonts used are &quot;Arial, Helvetica&quot;
+ for text and menu items and &quot;Verdana,Geneva&quot; for headers, both fonts are
+ fine for screen reading.</p>
+<p>To update logos with your own: </p>
+<ul>
+ <li>create two file with two different sized logos: </li>
+ <li>logo.jpg, height100 pixel </li>
+ <li>logo_small.jpg, height 50 pixel</li>
+ <li>via FTP upload the jpg files into /moodle/theme/formal_withe folder,
+ overwriting the existing jpg.</li>
+</ul>
+<p>The bigger logo will be used for the home page only, while the smaller will
+ be used for all
+the other pages. </p>
@@ -1,18 +1,124 @@
-<?PHP // $Id$
-
-$THEME->body = "#F7F6F1"; // Main page color
-$THEME->cellheading = "#C6BDA8"; // Standard headings of big tables
-$THEME->cellheading2 = "#849DBC"; // Highlight headings of tables
-$THEME->cellcontent = "#FFFFFF"; // For areas with text
-$THEME->cellcontent2 = "#C6BDA8"; // Alternate colour
-$THEME->borders = "#C6BDA8"; // Table borders
-$THEME->highlight = "#849DBC"; // Highlighted text (eg after a search)
-$THEME->hidden = "#979EA8"; // To color things that are hidden
-$THEME->autolink = "#FEF9F6"; // To color auto-generated links (eg glossary)
-
-$THEME->custompix = false; // If true, then this theme must have a "pix"
- // subdirectory that contains copies of all
- // files from the moodle/pix directory
- // See "cordoroyblue" for an up-to-date example.
-
-?>
+<?PHP // $Id$
+
+////////////////////////////////////////////////////////////////////////////////
+/// This file contains a few configuration variables that control
+/// how Moodle uses this theme.
+////////////////////////////////////////////////////////////////////////////////
+
+$THEME->sheets = array('fw_layout','fw_color','fw_fonts');
+///$THEME->sheets = false;
+
+/// This variable is an array containing the names of all the
+/// stylesheet files you want included in this theme, and in what order
+////////////////////////////////////////////////////////////////////////////////
+
+$THEME->standardsheets = array('styles_layout');
+///$THEME->standardsheets = true;
+
+/// This variable can be set to an array containing
+/// filenames from the *STANDARD* theme. If the
+/// array exists, it will be used to choose the
+/// files to include in the standard style sheet.
+/// When false, then no files are used.
+/// When true or NON-EXISTENT, then ALL standard files are used.
+/// This parameter can be used, for example, to prevent
+/// having to override too many classes.
+/// Note that the trailing .css should not be included
+/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color');
+////////////////////////////////////////////////////////////////////////////////
+
+$THEME->parent = '';
+
+/// This variable can be set to the name of a parent theme
+/// which you want to have included before the current theme.
+/// This can make it easy to make modifications to another
+/// theme without having to actually change the files
+/// If this variable is empty or false then a parent theme
+/// is not used.
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->parentsheets = false;
+
+/// This variable can be set to an array containing
+/// filenames from a chosen *PARENT* theme. If the
+/// array exists, it will be used to choose the
+/// files to include in the standard style sheet.
+/// When false, then no files are used.
+/// When true or NON-EXISTENT, then ALL standard files are used.
+/// This parameter can be used, for example, to prevent
+/// having to override too many classes.
+/// Note that the trailing .css should not be included
+/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color');
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->modsheets = true;
+
+/// When this is enabled, then this theme will search for
+/// files named "styles.php" inside all Activity modules and
+/// include them. This allows modules to provide some basic
+/// layouts so they work out of the box.
+/// It is HIGHLY recommended to leave this enabled.
+
+
+$THEME->blocksheets = true;
+
+/// When this is enabled, then this theme will search for
+/// files named "styles.php" inside all Block modules and
+/// include them. This allows Blocks to provide some basic
+/// layouts so they work out of the box.
+/// It is HIGHLY recommended to leave this enabled.
+
+
+$THEME->langsheets = false;
+
+/// By setting this to true, then this theme will search for
+/// a file named "styles.php" inside the current language
+/// directory. This allows different languages to provide
+/// different styles.
+
+
+$THEME->resource_mp3player_colors =
+ 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
+ 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
+ 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes';
+
+/// With this you can control the colours of the "big" MP3 player
+/// that is used for MP3 resources.
+
+
+$THEME->filter_mediaplugin_colors =
+ 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
+ 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
+ 'waitForPlay=yes';
+
+/// ...And this controls the small embedded player
+
+
+$THEME->custompix = false;
+
+/// If true, then this theme must have a "pix"
+/// subdirectory that contains copies of all
+/// files from the moodle/pix directory, plus a
+/// "pix/mod" directory containing all the icons
+/// for all the activity modules.
+////////////////////////////////////////////////////////////////////////////////
+
+
+
+// These colours are not used anymore, so I've set them to
+// bright green to help identify where they should be removed
+// These lines will be deleted soon
+
+$THEME->body = "#22FF22"; // Main page color
+$THEME->cellheading = "#22FF22"; // Standard headings of big tables
+$THEME->cellheading2 = "#22FF22"; // Highlight headings of tables
+$THEME->cellcontent = "#22FF22"; // For areas with text
+$THEME->cellcontent2 = "#22FF22"; // Alternate colour
+$THEME->borders = "#22FF22"; // Table borders
+$THEME->highlight = "#22FF22"; // Highlighted text (eg after a search)
+$THEME->hidden = "#22FF22"; // To color things that are hidden
+$THEME->autolink = "#22FF22"; // To color auto-generated links (eg glossary)
+
+?>
@@ -0,0 +1,17 @@
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ if (!isset($themename)) {
+ $themename = NULL;
+ }
+
+ $nomoodlecookie = true;
+ require_once("../../config.php");
+ $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
+
+///
+/// You can hardcode colours in this file if you
+/// don't care about this.
+
+?>
@@ -1,13 +1,30 @@
-<!-- START OF FOOTER -->
-<hr size="1" noshade="noshade" />
-<table width="100%" border="0" cellpadding="5" cellspacing="0">
- <tr>
- <td align="center"><p class="logininfo"><?php echo $loggedinas ?> | <?php echo $homelink ?></p></td>
- </tr>
-</table>
-<p align="center">
-<a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a> |
-<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a>
-</p>
-</body>
-</html>
+
+</div> <!-- end div containerContent -->
+<!-- START OF FOOTER -->
+<div id="footer">
+
+<?php if ($navigation) { ?>
+ <div class="navbar">
+ <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
+ <div class="menu"><?php echo $menu; ?></div>
+ </div>
+ <div class="clearer">&nbsp;</div>
+<?php } ?>
+
+<?php echo $loggedinas ?>
+
+<?php if (isadmin()) { ?>
+<br />
+<hr size="1" noshade="noshade" />
+<p align="center">
+<a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a> |
+<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a> |
+<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&amp;warnp2n3e=1&amp;url1=<?php echo urlencode(qualified_me()) ?>">WCAG 1 (2,3) Check</a>
+</p>
+<?php } ?>
+
+
+</div>
+</div>
+</body>
+</html>
Oops, something went wrong.

0 comments on commit cd0a36f

Please sign in to comment.