mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
admin: broken icons on question type page.
This commit is contained in:
parent
7b5bd0602b
commit
929d3d873c
@ -233,8 +233,8 @@
|
||||
}
|
||||
|
||||
// Move icons.
|
||||
$icons .= icon_html('up', $qtypename, 't/up.gif', get_string('up'), '');
|
||||
$icons .= icon_html('down', $qtypename, 't/down.gif', get_string('down'), '');
|
||||
$icons .= icon_html('up', $qtypename, 't/up', get_string('up'), '');
|
||||
$icons .= icon_html('down', $qtypename, 't/down', get_string('down'), '');
|
||||
$row[] = $icons;
|
||||
|
||||
// Delete link, if available.
|
||||
@ -268,9 +268,9 @@ function admin_url($endbit) {
|
||||
|
||||
function enable_disable_button($qtypename, $createable) {
|
||||
if ($createable) {
|
||||
return icon_html('disable', $qtypename, 'i/hide.gif', get_string('enabled', 'question'), get_string('disable'));
|
||||
return icon_html('disable', $qtypename, 'i/hide', get_string('enabled', 'question'), get_string('disable'));
|
||||
} else {
|
||||
return icon_html('enable', $qtypename, 'i/show.gif', get_string('disabled', 'question'), get_string('enable'));
|
||||
return icon_html('enable', $qtypename, 'i/show', get_string('disabled', 'question'), get_string('enable'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user