diff --git a/theme/formal_white/config.php b/theme/formal_white/config.php index 75614aca283..d7b250c8b95 100644 --- a/theme/formal_white/config.php +++ b/theme/formal_white/config.php @@ -129,4 +129,4 @@ $THEME->javascripts_footer = array('navigation'); /** * Sets the function that will replace our settings within the CSS */ -$THEME->csspostprocess = 'formalwhite_process_css'; +$THEME->csspostprocess = 'formalwhite_process_css'; \ No newline at end of file diff --git a/theme/formal_white/lang/en/theme_formal_white.php b/theme/formal_white/lang/en/theme_formal_white.php new file mode 100644 index 00000000000..e37018228e8 --- /dev/null +++ b/theme/formal_white/lang/en/theme_formal_white.php @@ -0,0 +1,48 @@ +. + +/** + * 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'] = '
+

Formal White theme pack - Preview Release 1

+

by MediaTouch 2000 - Italian Moodle Partner

Version: 20100601

+
+
 
+

Formal White for Moodle 2.0 - Preview Release 1

+

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

+

Licensing

+

This theme is licensed under Moodle\'s GNU General Public License. Feel free to use it, share it and edit it to fit your needs.

+

Enjoy this theme.

'; +$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
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.'; \ No newline at end of file diff --git a/theme/formal_white/lang/it/theme_formal_white.php b/theme/formal_white/lang/it/theme_formal_white.php new file mode 100644 index 00000000000..6c02c9f7b50 --- /dev/null +++ b/theme/formal_white/lang/it/theme_formal_white.php @@ -0,0 +1,48 @@ +. + +/** + * 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'] = '
+

Formal white - Versione preliminare 1.0

+

by MediaTouch 2000 Moodle Partner per l\'Italia

Version: 20100601

+
+
 
+

Formal white for Moodle 2.0 - Versione preliminare 1.0

+

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

+

Licensing

+

Questo tema è tutelato dalle stesse condizioni della licenza di Moodle - GNU General Public License. Sentiti libero di utilizzare, condividere e modificare a tuo piacimento questo tema.

+

Madiatouch si augura che questo tema possa essere di tuo gradimento.

'; +$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
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.'; \ No newline at end of file diff --git a/theme/formal_white/settings.php b/theme/formal_white/settings.php index 0009f58c689..3e4f3fd525a 100644 --- a/theme/formal_white/settings.php +++ b/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);