MDL-36109 accesibility: use proper words for logo alt text
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
616de3dff9
commit
3e443eb1f3
@@ -43,6 +43,7 @@ langdownloaderror,install
|
||||
language,moodle
|
||||
memorylimithelp,install
|
||||
missingrequiredfield,error
|
||||
moodlelogo,moodle
|
||||
next,moodle
|
||||
parentlanguage,langconfig
|
||||
pathserrcreatedataroot,install
|
||||
|
||||
@@ -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';
|
||||
|
||||
+1
-1
@@ -402,7 +402,7 @@ function install_print_footer($config, $reload=false) {
|
||||
|
||||
$homelink = '<div class="sitelink">'.
|
||||
'<a title="Moodle '. $CFG->target_release .'" href="http://docs.moodle.org/en/Administrator_documentation" onclick="this.target=\'_blank\'">'.
|
||||
'<img src="pix/moodlelogo.png" alt="moodlelogo" /></a></div>';
|
||||
'<img src="pix/moodlelogo.png" alt="'.get_string('moodlelogo').'" /></a></div>';
|
||||
|
||||
echo '</form></div>';
|
||||
echo '<div id="page-footer">'.$homelink.'</div>';
|
||||
|
||||
@@ -829,13 +829,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->pix_url('moodlelogo') . '" alt="moodlelogo" /></a></div>';
|
||||
'<img src="' . $this->pix_url('moodlelogo') . '" 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->pix_url('moodlelogo') . '" alt="moodlelogo" /></a></div>';
|
||||
'<img src="' . $this->pix_url('moodlelogo') . '" 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 . '/">' .
|
||||
|
||||
Reference in New Issue
Block a user