mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-67993 roles: Fix pix_icon() calls.
This commit is contained in:
parent
37b2ee3f64
commit
50850003e5
@ -100,9 +100,9 @@ if (!$problems) {
|
||||
$count = $problem->racount;
|
||||
$edit = array();
|
||||
$aurl = new moodle_url('/admin/roles/define.php', array('roleid'=>$problem->roleid, 'action'=>'edit'));
|
||||
$edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/edit', 'core', get_string('edit')));
|
||||
$edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/edit', get_string('edit')));
|
||||
$aurl = new moodle_url($PAGE->url, array('roleid'=>$problem->roleid, 'contextlevel'=>$problem->contextlevel, 'action'=>'delete'));
|
||||
$edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/delete', 'core', get_string('delete')));
|
||||
$edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/delete', get_string('delete')));
|
||||
$data[] = array($levelname, $rolename, $count, implode(' ', $edit));
|
||||
}
|
||||
$table = new html_table();
|
||||
|
Loading…
x
Reference in New Issue
Block a user