Browse files

update

  • Loading branch information...
1 parent 46985d6 commit f1c3030b8eb281afed8c35a6a3875777a00b450f @andreabix andreabix committed Jul 6, 2010
View
2 theme/formal_white/config.php
@@ -129,4 +129,4 @@
/**
* Sets the function that will replace our settings within the CSS
*/
-$THEME->csspostprocess = 'formalwhite_process_css';
+$THEME->csspostprocess = 'formalwhite_process_css';
View
48 theme/formal_white/lang/en/theme_formal_white.php
@@ -0,0 +1,48 @@
+<?php
+
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle 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.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Strings for component 'theme_formal_white', language 'en', branch 'MOODLE_20_STABLE'
+ *
+ * @package theme_formal_white
+ * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+$string['choosereadme'] = '<div style="text-align:center;">
+<h2 style="margin-bottom:2px;">Formal White theme pack - Preview Release 1</h2>
+<h3 style="margin:0">by <a href="http://www.mediatouch.it/" title="MediaTouch 2000 Moodle Partner">MediaTouch 2000 - Italian Moodle Partner</a></h3><h4 style="margin:3px">Version: 20100601</h4>
+</div>
+<div>&nbsp;</div>
+<h3 style="margin-bottom:5px; margin-top:5px;">Formal White for Moodle 2.0 - Preview Release 1</h3>
+<p>Meadiatouch is pleased to announce that the first pre-release of its famous and worldwide adopted "Formal white" theme has been finally made available for Moodle 2</p>
+<h3 style="margin-bottom:5px; margin-top:5px;">Licensing</h3>
+<p>This theme is licensed under <a href="http://docs.moodle.org/en/License">Moodle\'s GNU General Public License</a>. Feel free to use it, share it and edit it to fit your needs.</p>
+<p>Enjoy this theme.</p>';
+$string['pluginname'] = 'Formal white';
+
+$string['backgroundcolor'] = 'Blocks background colour';
+$string['backgroundcolordesc'] = 'This sets the blocks background colour for the theme.';
+$string['configtitle'] = 'Formal_white settings';
+$string['customcss'] = 'Custom CSS';
+$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.';
+$string['footnote'] = 'Footnote';
+$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page.';
+$string['logo'] = 'Logo';
+$string['logodesc'] = 'Enter the URL to an image to use as the logo for this site. Should be http://www.yoursite.com/path/to/logo.png<br />Preferred picture height is 100 pixels';
+$string['regionwidth'] = 'Column width';
+$string['regionwidthdesc'] = 'This sets the width of the two block regions that form the left and right columns.';
View
48 theme/formal_white/lang/it/theme_formal_white.php
@@ -0,0 +1,48 @@
+<?php
+
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle 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.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Strings for component 'theme_formal_white', language 'it', branch 'MOODLE_20_STABLE'
+ *
+ * @package theme_formal_white
+ * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+$string['choosereadme'] = '<div style="text-align:center;">
+<h2 style="margin-bottom:2px;">Formal white - Versione preliminare 1.0</h2>
+<h3 style="margin:0">by <a href="http://www.mediatouch.it/" title="MediaTouch 2000 Moodle Partner">MediaTouch 2000 Moodle Partner per l\'Italia</a></h3><h4 style="margin:3px">Version: 20100601</h4>
+</div>
+<div>&nbsp;</div>
+<h3 style="margin-bottom:5px; margin-top:5px;">Formal white for Moodle 2.0 - Versione preliminare 1.0</h3>
+<p>Meadiatouch ha il piacere di annunciare che la prima versione preliminare del famoso tema "Formal white", già adottato in innumerevoli realtà a livello modiale nella versione per moodle 1.x, è finalmente disponibile per Moodle 2</p>
+<h3 style="margin-bottom:5px; margin-top:5px;">Licensing</h3>
+<p>Questo tema è tutelato dalle stesse condizioni della licenza di <a href="http://docs.moodle.org/en/License">Moodle - GNU General Public License</a>. Sentiti libero di utilizzare, condividere e modificare a tuo piacimento questo tema.</p>
+<p>Madiatouch si augura che questo tema possa essere di tuo gradimento.</p>';
+$string['pluginname'] = 'Formal white';
+
+$string['backgroundcolor'] = 'Blocks background colour';
+$string['backgroundcolordesc'] = 'This sets the blocks background colour for the theme.';
+$string['configtitle'] = 'Formal_white settings';
+$string['customcss'] = 'Custom CSS';
+$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.';
+$string['footnote'] = 'Footnote';
+$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page.';
+$string['logo'] = 'Logo';
+$string['logodesc'] = 'Enter the URL to an image to use as the logo for this site. Should be http://www.yoursite.com/path/to/logo.png<br />La dimensione ottimale delle immagini è di 100 pixel';
+$string['regionwidth'] = 'Column width';
+$string['regionwidthdesc'] = 'This sets the width of the two block regions that form the left and right columns.';
View
32 theme/formal_white/settings.php
@@ -5,44 +5,44 @@
*/
// Create our admin page
-$temp = new admin_settingpage('theme_formalwhite', get_string('configtitle','theme_formalwhite'));
+$temp = new admin_settingpage('theme_formal_white', get_string('configtitle','theme_formal_white'));
// Background colour setting
-$name = 'theme_formalwhite/backgroundcolor';
-$title = get_string('backgroundcolor','theme_formalwhite');
-$description = get_string('backgroundcolordesc', 'theme_formalwhite');
+$name = 'theme_formal_white/backgroundcolor';
+$title = get_string('backgroundcolor','theme_formal_white');
+$description = get_string('backgroundcolordesc', 'theme_formal_white');
$default = '#F7F6F1';
$previewconfig = array('selector'=>'.block .content', 'style'=>'backgroundColor');
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
$temp->add($setting);
// Logo file setting
-$name = 'theme_formalwhite/logo';
-$title = get_string('logo','theme_formalwhite');
-$description = get_string('logodesc', 'theme_formalwhite');
+$name = 'theme_formal_white/logo';
+$title = get_string('logo','theme_formal_white');
+$description = get_string('logodesc', 'theme_formal_white');
$setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL);
$temp->add($setting);
// Block region width
-$name = 'theme_formalwhite/regionwidth';
-$title = get_string('regionwidth','theme_formalwhite');
-$description = get_string('regionwidthdesc', 'theme_formalwhite');
+$name = 'theme_formal_white/regionwidth';
+$title = get_string('regionwidth','theme_formal_white');
+$description = get_string('regionwidthdesc', 'theme_formal_white');
$default = 200;
$choices = array(150=>'150px', 170=>'170px', 200=>'200px', 240=>'240px', 290=>'290px', 350=>'350px', 420=>'420px');
$setting = new admin_setting_configselect($name, $title, $description, $default, $choices);
$temp->add($setting);
// Foot note setting
-$name = 'theme_formalwhite/footnote';
-$title = get_string('footnote','theme_formalwhite');
-$description = get_string('footnotedesc', 'theme_formalwhite');
+$name = 'theme_formal_white/footnote';
+$title = get_string('footnote','theme_formal_white');
+$description = get_string('footnotedesc', 'theme_formal_white');
$setting = new admin_setting_confightmleditor($name, $title, $description, '');
$temp->add($setting);
// Custom CSS file
-$name = 'theme_formalwhite/customcss';
-$title = get_string('customcss','theme_formalwhite');
-$description = get_string('customcssdesc', 'theme_formalwhite');
+$name = 'theme_formal_white/customcss';
+$title = get_string('customcss','theme_formal_white');
+$description = get_string('customcssdesc', 'theme_formal_white');
$setting = new admin_setting_configtextarea($name, $title, $description, '');
$temp->add($setting);

0 comments on commit f1c3030

Please sign in to comment.