MDL-34119_M23 theme_splash: removed redundant js call in lib.php. Added lang option to config.php + amended lang output in layout files. Added some css to style langmenu + removed redundant loginicon in pagelayout.css

This commit is contained in:
Mary Evans
2012-06-30 00:50:34 +01:00
parent a5f6ea2e88
commit 263e8c144c
5 changed files with 36 additions and 30 deletions
-11
View File
@@ -87,17 +87,6 @@ function splash_set_customcss($css, $customcss) {
return $css;
}
/**
* Adds the JavaScript for the colour switcher to the page.
*
* @param moodle_page $page
*/
function splash_initialise_colourswitcher(moodle_page $page) {
user_preference_allow_ajax_update('theme_splash_chosen_colour', PARAM_ALPHA);
$page->requires->yui_module('moodle-theme_splash-colourswitcher',
'M.theme_splash.initColourSwitcher', array(array('div'=>'#colourswitcher')));
}
/**
* Gets the colour the user has selected, or the default if they have never changed
*