mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-65470-master' of git://github.com/bmbrands/moodle
This commit is contained in:
commit
5776269f9c
12 changed files with 54 additions and 233 deletions
|
@ -1164,13 +1164,13 @@ class core_renderer extends renderer_base {
|
|||
// Special case for site home page - please do not remove
|
||||
return '<div class="sitelink">' .
|
||||
'<a title="Moodle" href="http://moodle.org/">' .
|
||||
'<img src="' . $this->image_url('moodlelogo') . '" alt="'.get_string('moodlelogo').'" /></a></div>';
|
||||
'<img src="' . $this->image_url('moodlelogo_grayhat') . '" alt="'.get_string('moodlelogo').'" /></a></div>';
|
||||
|
||||
} else if (!empty($CFG->target_release) && $CFG->target_release != $CFG->release) {
|
||||
// Special case for during install/upgrade.
|
||||
return '<div class="sitelink">'.
|
||||
'<a title="Moodle" href="http://docs.moodle.org/en/Administrator_documentation" onclick="this.target=\'_blank\'">' .
|
||||
'<img src="' . $this->image_url('moodlelogo') . '" alt="'.get_string('moodlelogo').'" /></a></div>';
|
||||
'<img src="' . $this->image_url('moodlelogo_grayhat') . '" alt="'.get_string('moodlelogo').'" /></a></div>';
|
||||
|
||||
} else if ($this->page->course->id == $SITE->id || strpos($this->page->pagetype, 'course-view') === 0) {
|
||||
return '<div class="homelink"><a href="' . $CFG->wwwroot . '/">' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue