Permalink
Browse files

MDL-39178 theme_nimble: fix whitespace

  • Loading branch information...
danpoltawski committed Apr 22, 2013
1 parent 90a470a commit a7458060636b4908ba60c5428a4fb2f1ba790d5f
Showing with 27 additions and 32 deletions.
  1. +27 −32 theme/nimble/settings.php
View
@@ -4,15 +4,14 @@
if ($ADMIN->fulltree) {
// Tagline setting
// Tagline setting
$name = 'theme_nimble/tagline';
$title = get_string('tagline','theme_nimble');
$description = get_string('taglinedesc', 'theme_nimble');
$setting = new admin_setting_configtext($name, $title, $description, '');
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
// footerline setting
$name = 'theme_nimble/footerline';
$title = get_string('footerline','theme_nimble');
@@ -21,37 +20,33 @@
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
// Background color setting
$name = 'theme_nimble/backgroundcolor';
$title = get_string('backgroundcolor','theme_nimble');
$description = get_string('backgroundcolordesc', 'theme_nimble');
$default = '#454545';
$previewconfig = NULL;
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
// Background color setting
$name = 'theme_nimble/backgroundcolor';
$title = get_string('backgroundcolor','theme_nimble');
$description = get_string('backgroundcolordesc', 'theme_nimble');
$default = '#454545';
$previewconfig = NULL;
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
$settings->add($setting);
// link color setting
$name = 'theme_nimble/linkcolor';
$title = get_string('linkcolor','theme_nimble');
$description = get_string('linkcolordesc', 'theme_nimble');
$default = '#2a65b1';
$previewconfig = NULL;
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
// link color setting
$name = 'theme_nimble/linkcolor';
$title = get_string('linkcolor','theme_nimble');
$description = get_string('linkcolordesc', 'theme_nimble');
$default = '#2a65b1';
$previewconfig = NULL;
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
$settings->add($setting);
// link hover color setting
$name = 'theme_nimble/linkhover';
$title = get_string('linkhover','theme_nimble');
$description = get_string('linkhoverdesc', 'theme_nimble');
$default = '#222222';
$previewconfig = NULL;
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
// link hover color setting
$name = 'theme_nimble/linkhover';
$title = get_string('linkhover','theme_nimble');
$description = get_string('linkhoverdesc', 'theme_nimble');
$default = '#222222';
$previewconfig = NULL;
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
}
$settings->add($setting);
}

0 comments on commit a745806

Please sign in to comment.