mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-36633 usability: Styling over the admin pages
This commit is contained in:
parent
6bf410ed4b
commit
fa9c0aab13
21 changed files with 93 additions and 60 deletions
|
@ -187,16 +187,16 @@ class assign_plugin_manager {
|
|||
$visible = !get_config($this->subtype . '_' . $plugin, 'disabled');
|
||||
|
||||
if ($visible) {
|
||||
$row[] = $this->format_icon_link('hide', $plugin, 'i/hide', get_string('disable'));
|
||||
$row[] = $this->format_icon_link('hide', $plugin, 't/hide', get_string('disable'));
|
||||
} else {
|
||||
$row[] = $this->format_icon_link('show', $plugin, 'i/show', get_string('enable'));
|
||||
$row[] = $this->format_icon_link('show', $plugin, 't/show', get_string('enable'));
|
||||
}
|
||||
|
||||
$movelinks = '';
|
||||
if (!$idx == 0) {
|
||||
$movelinks .= $this->format_icon_link('moveup', $plugin, 't/up', get_string('up'));
|
||||
} else {
|
||||
$movelinks .= $OUTPUT->spacer(array('width'=>15));
|
||||
$movelinks .= $OUTPUT->spacer(array('width'=>16));
|
||||
}
|
||||
if ($idx != count($plugins) - 1) {
|
||||
$movelinks .= $this->format_icon_link('movedown', $plugin, 't/down', get_string('down'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue