Revert "MDL-33934 theme_mymobile: Updates to CSS & Javascript - including MDL-38072 removing css/js for collapsed topic."

This reverts commit 7e6c674302.
This reverts commit c443c95c01.

This issue needs more work and will be delayed.
This commit is contained in:
Damyon Wiese
2013-02-28 14:06:32 +08:00
parent 4e516138e9
commit 01ac2cd813
19 changed files with 4527 additions and 6248 deletions
+7 -15
View File
@@ -30,11 +30,11 @@ if ($ADMIN->fulltree) {
// TODO: Really the yes/no settings below should be changed to checkboxes
// given checkboxes are yes/no. Also saves us having to use language
// strings for them.
$yesstr = get_string('yes', 'theme_mymobile');
$nostr = get_string('no', 'theme_mymobile');
$yesstr = get_string('yes','theme_mymobile');
$nostr = get_string('no','theme_mymobile');
$name = 'theme_mymobile/colourswatch';
$title = get_string('colourswatch', 'theme_mymobile');
$title = get_string('colourswatch','theme_mymobile');
$description = get_string('colourswatch_desc', 'theme_mymobile');
$default = 'light';
$choices = array(
@@ -45,7 +45,7 @@ if ($ADMIN->fulltree) {
$settings->add($setting);
$name = 'theme_mymobile/showmobileintro';
$title = get_string('showmobileintro', 'theme_mymobile');
$title = get_string('showmobileintro','theme_mymobile');
$description = get_string('showmobileintro_desc', 'theme_mymobile');
$setting = new admin_setting_confightmleditor($name, $title, $description, '');
$settings->add($setting);
@@ -67,23 +67,15 @@ if ($ADMIN->fulltree) {
$settings->add($setting);
$name = 'theme_mymobile/usetableview';
$title = get_string('usetableview', 'theme_mymobile');
$title = get_string('usetableview','theme_mymobile');
$description = get_string('usetableview_desc', 'theme_mymobile');
$default = 'tabshow';
$choices = array('tabshow' => $yesstr, 'tabnoshow' => $nostr);
$setting = new admin_setting_configselect($name, $title, $description, $default, $choices);
$settings->add($setting);
$name = 'theme_mymobile/useajax';
$title = get_string('useajax', 'theme_mymobile');
$description = get_string('useajax_desc', 'theme_mymobile');
$default = 'ajaxyes';
$choices = array('ajaxyes' => $yesstr, 'ajaxno' => $nostr);
$setting = new admin_setting_configselect($name, $title, $description, $default, $choices);
$settings->add($setting);
$name = 'theme_mymobile/customcss';
$title = get_string('customcss', 'theme_mymobile');
$title = get_string('customcss','theme_mymobile');
$description = get_string('customcssdesc', 'theme_mymobile');
$default = '';
$setting = new admin_setting_configtextarea($name, $title, $description, $default);
@@ -91,4 +83,4 @@ if ($ADMIN->fulltree) {
unset($yesstr);
unset($nostr);
}
}