FIxed 'assign roles' link from course admin

This commit is contained in:
moodler 2006-08-14 08:34:11 +00:00
parent 218564acfc
commit 5c524305e3

View File

@ -137,7 +137,7 @@ class block_admin extends block_list {
/// always need a role assignment link
if (has_capability('moodle/role:assign', $context)) {
$this->content->items[]='<a href="'.$CFG->wwwroot.'/admin/roles/roleassignment.php?contextid='.$context->id.'">'.get_string('assignusers', 'roles').'</a>';
$this->content->items[]='<a href="'.$CFG->wwwroot.'/admin/roles/assign.php?contextid='.$context->id.'">'.get_string('assignroles', 'role').'</a>';
$this->content->icons[]='<img src="'.$CFG->pixpath.'/i/users.gif" alt="" />';
}