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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user