diff --git a/install/stringnames.txt b/install/stringnames.txt index 0e94de5b2cc..d564e71b644 100644 --- a/install/stringnames.txt +++ b/install/stringnames.txt @@ -43,6 +43,7 @@ langdownloaderror,install language,moodle memorylimithelp,install missingrequiredfield,error +moodlelogo,moodle next,moodle parentlanguage,langconfig pathserrcreatedataroot,install diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 83b03f758fd..cdee0c044ef 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1170,6 +1170,7 @@ $string['missingteacher'] = 'Must choose something'; $string['missingurl'] = 'Missing URL'; $string['missingusername'] = 'Missing username'; $string['moddoesnotsupporttype'] = 'Module {$a->modname} does not support uploads of type {$a->type}'; +$string['moodlelogo'] = 'Moodle logo'; $string['month'] = 'Month'; $string['months'] = 'Months'; $string['modified'] = 'Modified'; diff --git a/lib/installlib.php b/lib/installlib.php index 233c34dbe31..af4254d47b9 100644 --- a/lib/installlib.php +++ b/lib/installlib.php @@ -402,7 +402,7 @@ function install_print_footer($config, $reload=false) { $homelink = ''; + ''.get_string('moodlelogo').''; echo ''; echo ''; diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index d228f526812..075d6004c51 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -829,13 +829,13 @@ class core_renderer extends renderer_base { // Special case for site home page - please do not remove return ''; + ''.get_string('moodlelogo').''; } else if (!empty($CFG->target_release) && $CFG->target_release != $CFG->release) { // Special case for during install/upgrade. return ''; + ''.get_string('moodlelogo').''; } else if ($this->page->course->id == $SITE->id || strpos($this->page->pagetype, 'course-view') === 0) { return '