Skip to content

Commit

Permalink
theme-splash MDL-23674 Cleanup of the themes, numerous small changes …
Browse files Browse the repository at this point in the history
…to the back end code, no notable changes to the front end.
  • Loading branch information
Sam Hemelryk committed Aug 11, 2010
1 parent 6ede031 commit a47bff6
Show file tree
Hide file tree
Showing 12 changed files with 831 additions and 886 deletions.
41 changes: 30 additions & 11 deletions theme/splash/config.php
@@ -1,5 +1,28 @@
<?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/>.

/**
* Config for the splash theme
*
* @package theme_splash
* @copyright 2010 Caroline Kennedy of Synergy Learning
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$THEME->name = 'splash';

////////////////////////////////////////////////////
Expand All @@ -8,8 +31,8 @@


$THEME->parents = array(
'canvas',
'base',
'canvas',
'base',
);

/////////////////////////////////////////////////////
Expand All @@ -18,7 +41,11 @@


$THEME->sheets = array(
'green','blue','orange','sl','ie',
'sl',
'green',
'blue',
'orange',
'ie',
);

////////////////////////////////////////////////////
Expand Down Expand Up @@ -127,12 +154,4 @@
///////////////////////////////////////////////////////////////
// Splash Theme Specific settings for Administrators to customise
// css.
///////////////////////////////////////////////////////////////



$THEME->javascripts = array('styleswitcher');

///////////////////////////////////////////////////////////////
// Referencing the javascript files required for theme elements.
///////////////////////////////////////////////////////////////
64 changes: 0 additions & 64 deletions theme/splash/javascript/styleswitcher.js

This file was deleted.

22 changes: 10 additions & 12 deletions theme/splash/lang/en/theme_splash.php
Expand Up @@ -16,30 +16,28 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Strings for component 'theme_standard', language 'en', branch 'MOODLE_20_STABLE'
* Strings for component 'theme_splash', language 'en'
*
* @package theme_standard
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @copyright 2010 Caroline Kennedy of Synergy Learning
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$string['pluginname'] = 'Splash';
$string['choosereadme'] = 'Splash, a Moodle 2.0 theme by Caroline Kennedy of Synergy Learning)';

$string['choosereadme'] = 'Splash, a Moodle 2.0 theme by Caroline Kennedy of Synergy Learning';
$string['configtitle'] = 'Splash Theme 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['defaulttagline'] = 'Virtual learning center';
$string['footnote'] = 'Footnote';
$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page. E.g: your copyright info.';
$string['tagline'] = 'Tagline';
$string['taglinedesc'] = 'The content from this textarea will be displayed under the Site logo on the Homepage';
$string['hide_tagline'] = 'Hide Tagline';
$string['hide_taglinedesc'] = 'Check this box to hide the tagline under the logo.';


$string['loginhere'] = "Login here!";
$string['logo'] = 'Logo';
$string['logodesc'] = 'Enter the URL to an image to use as the logo for this site. E.g: http://www.yoursite.com/path/to/logo.png. The logo should be max 230px wide.';


$string['welcome'] = "Welcome";
$string['loginhere'] = "Login here!";
$string['pluginname'] = 'Splash';
$string['tagline'] = 'Tagline';
$string['taglinedesc'] = 'The content from this textarea will be displayed under the Site logo on the Homepage';
$string['usergreeting'] = 'Hi {$a}!';
$string['welcome'] = 'Welcome, {$a}';

0 comments on commit a47bff6

Please sign in to comment.