MDL-48265 feedback: Added alt text to ghostscript test image
This commit is contained in:
@@ -51,6 +51,7 @@ $string['filter'] = 'Filter comments...';
|
||||
$string['generatefeedback'] = 'Generate feedback PDF';
|
||||
$string['gotopage'] = 'Go to page';
|
||||
$string['green'] = 'Green';
|
||||
$string['gsimage'] = 'Ghostscript test image';
|
||||
$string['gspath'] = 'Ghostscript path';
|
||||
$string['gspath_help'] = 'On most Linux installs, this can be left as \'/usr/bin/gs\'. On Windows it will be something like \'c:\\gs\\bin\\gswin32c.exe\' (make sure there are no spaces in the path - if necessary copy the files \'gswin32c.exe\' and \'gsdll32.dll\' to a new folder without a space in the path)';
|
||||
$string['highlight'] = 'Highlight';
|
||||
|
||||
@@ -55,7 +55,7 @@ switch ($result->status) {
|
||||
$msg = get_string('test_ok', 'assignfeedback_editpdf');
|
||||
$msg .= html_writer::empty_tag('br');
|
||||
$imgurl = new moodle_url($PAGE->url, array('sendimage' => 1));
|
||||
$msg .= html_writer::empty_tag('img', array('src' => $imgurl));
|
||||
$msg .= html_writer::empty_tag('img', array('src' => $imgurl, 'alt' => get_string('gsimage', 'assignfeedback_editpdf')));
|
||||
break;
|
||||
|
||||
case assignfeedback_editpdf\pdf::GSPATH_ERROR:
|
||||
|
||||
Reference in New Issue
Block a user