Skip to content

Commit

Permalink
admin: broken icons on question type page.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Jul 17, 2009
1 parent 7b5bd06 commit 929d3d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/qtypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'));
}
}

Expand Down

0 comments on commit 929d3d8

Please sign in to comment.