diff --git a/theme/fusion/layout/frontpage.php b/theme/fusion/layout/frontpage.php index 4b499f380a4..c1ca1191d13 100644 --- a/theme/fusion/layout/frontpage.php +++ b/theme/fusion/layout/frontpage.php @@ -23,7 +23,7 @@ if ($hascustommenu) { if (!empty($PAGE->theme->settings->tagline)) { $tagline = $PAGE->theme->settings->tagline; } else { - $tagline = "Another Moodle Theme"; + $tagline = ''; } if (!empty($PAGE->theme->settings->footertext)) { @@ -49,90 +49,90 @@ echo $OUTPUT->doctype() ?>
-
+
- -
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-

heading ?>

-

-
+
+

heading ?>

+

+
- main_content() ?> + main_content() ?> -
-
-
+
+
+
- -
-
-
-
- blocks_for_region('side-post') ?> -
-
-
-
- + +
+
+
+
+ blocks_for_region('side-post') ?> +
+
+
+
+ -
-
-
-
+
+
+
+
-
+
-
-
+ + + echo $OUTPUT->login_info(); + echo $OUTPUT->home_link(); + echo $OUTPUT->standard_footer_html(); + ?> + @@ -141,4 +141,4 @@ echo $OUTPUT->doctype() ?> standard_end_of_body_html() ?> - \ No newline at end of file + diff --git a/theme/fusion/settings.php b/theme/fusion/settings.php index bd94d71e67a..d96a89fa28e 100644 --- a/theme/fusion/settings.php +++ b/theme/fusion/settings.php @@ -4,35 +4,34 @@ defined('MOODLE_INTERNAL') || die; if ($ADMIN->fulltree) { -// link color setting -$name = 'theme_fusion/linkcolor'; -$title = get_string('linkcolor','theme_fusion'); -$description = get_string('linkcolordesc', 'theme_fusion'); -$default = '#2d83d5'; -$previewconfig = NULL; -$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); -$settings->add($setting); + // link color setting + $name = 'theme_fusion/linkcolor'; + $title = get_string('linkcolor','theme_fusion'); + $description = get_string('linkcolordesc', 'theme_fusion'); + $default = '#2d83d5'; + $previewconfig = NULL; + $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig); + $settings->add($setting); + // Tag line setting + $name = 'theme_fusion/tagline'; + $title = get_string('tagline','theme_fusion'); + $description = get_string('taglinedesc', 'theme_fusion'); + $setting = new admin_setting_configtext($name, $title, $description, ''); + $settings->add($setting); -// Tag line setting -$name = 'theme_fusion/tagline'; -$title = get_string('tagline','theme_fusion'); -$description = get_string('taglinedesc', 'theme_fusion'); -$setting = new admin_setting_configtextarea($name, $title, $description, ''); -$settings->add($setting); + // Foot note setting + $name = 'theme_fusion/footertext'; + $title = get_string('footertext','theme_fusion'); + $description = get_string('footertextdesc', 'theme_fusion'); + $setting = new admin_setting_confightmleditor($name, $title, $description, ''); + $settings->add($setting); -// Foot note setting -$name = 'theme_fusion/footertext'; -$title = get_string('footertext','theme_fusion'); -$description = get_string('footertextdesc', 'theme_fusion'); -$setting = new admin_setting_confightmleditor($name, $title, $description, ''); -$settings->add($setting); + // Custom CSS file + $name = 'theme_fusion/customcss'; + $title = get_string('customcss','theme_fusion'); + $description = get_string('customcssdesc', 'theme_fusion'); + $setting = new admin_setting_configtextarea($name, $title, $description, ''); + $settings->add($setting); -// Custom CSS file -$name = 'theme_fusion/customcss'; -$title = get_string('customcss','theme_fusion'); -$description = get_string('customcssdesc', 'theme_fusion'); -$setting = new admin_setting_configtextarea($name, $title, $description, ''); -$settings->add($setting); - -} \ No newline at end of file +}