diff --git a/course/category.php b/course/category.php index e363e4139fd..43b11320327 100644 --- a/course/category.php +++ b/course/category.php @@ -368,7 +368,7 @@ if (!$courses) { // role assignment link if (has_capability('moodle/course:enrolreview', $coursecontext)) { $url = new moodle_url('/enrol/users.php', array('id' => $acourse->id)); - echo $OUTPUT->action_icon($url, new pix_icon('i/users', get_string('enrolledusers', 'enrol'))); + echo $OUTPUT->action_icon($url, new pix_icon('t/enrolusers', get_string('enrolledusers', 'enrol'))); } if (can_delete_course($acourse->id)) { diff --git a/course/index.php b/course/index.php index 209e2800f5d..a1a5e569957 100644 --- a/course/index.php +++ b/course/index.php @@ -340,7 +340,7 @@ function print_category_edit($category, $displaylist, $parentslist, $depth=-1, $ if (has_capability('moodle/cohort:manage', $category->context) or has_capability('moodle/cohort:view', $category->context)) { echo ' '; + ' src="'.$OUTPUT->pix_url('t/cohort') . '" class="iconsmall" alt="'.$str->cohorts.'" /> '; } if ($up) { diff --git a/course/search.php b/course/search.php index 8c9f85cd156..393ab0b6faa 100644 --- a/course/search.php +++ b/course/search.php @@ -336,7 +336,7 @@ if ($courses) { // checks whether user can do role assignment if (has_capability('moodle/course:enrolreview', $coursecontext)) { echo''; - echo ''.get_string('enrolledusers', 'enrol').' ' . "\n"; + echo ''.get_string('enrolledusers', 'enrol').' ' . "\n"; } // checks whether user can delete course diff --git a/enrol/manual/lib.php b/enrol/manual/lib.php index ee17fa97016..94b89dceff4 100644 --- a/enrol/manual/lib.php +++ b/enrol/manual/lib.php @@ -113,7 +113,7 @@ class enrol_manual_plugin extends enrol_plugin { if (has_capability('enrol/manual:manage', $context)) { $managelink = new moodle_url("/enrol/manual/manage.php", array('enrolid'=>$instance->id)); - $icons[] = $OUTPUT->action_icon($managelink, new pix_icon('i/users', get_string('enrolusers', 'enrol_manual'), 'core', array('class'=>'iconsmall'))); + $icons[] = $OUTPUT->action_icon($managelink, new pix_icon('t/enrolusers', get_string('enrolusers', 'enrol_manual'), 'core', array('class'=>'iconsmall'))); } if (has_capability('enrol/manual:config', $context)) { $editlink = new moodle_url("/enrol/manual/edit.php", array('courseid'=>$instance->courseid)); diff --git a/lib/enrollib.php b/lib/enrollib.php index 835a07a4b14..6295a108f07 100644 --- a/lib/enrollib.php +++ b/lib/enrollib.php @@ -401,7 +401,7 @@ function enrol_add_course_navigation(navigation_node $coursenode, $course) { // list all participants - allows assigning roles, groups, etc. if (has_capability('moodle/course:enrolreview', $coursecontext)) { $url = new moodle_url('/enrol/users.php', array('id'=>$course->id)); - $usersnode->add(get_string('enrolledusers', 'enrol'), $url, navigation_node::TYPE_SETTING, null, 'review', new pix_icon('i/users', '')); + $usersnode->add(get_string('enrolledusers', 'enrol'), $url, navigation_node::TYPE_SETTING, null, 'review', new pix_icon('i/enrolusers', '')); } // manage enrol plugin instances diff --git a/pix/i/enrolusers.png b/pix/i/enrolusers.png new file mode 100644 index 00000000000..23d78326e36 Binary files /dev/null and b/pix/i/enrolusers.png differ diff --git a/pix/i/enrolusers.svg b/pix/i/enrolusers.svg new file mode 100644 index 00000000000..28ce5f478c2 --- /dev/null +++ b/pix/i/enrolusers.svg @@ -0,0 +1,16 @@ + + + +]> + + + + + diff --git a/pix/i/users.png b/pix/i/users.png index 23d78326e36..393371b021a 100644 Binary files a/pix/i/users.png and b/pix/i/users.png differ diff --git a/pix/i/users.svg b/pix/i/users.svg index 28ce5f478c2..837e63d0079 100644 --- a/pix/i/users.svg +++ b/pix/i/users.svg @@ -9,8 +9,8 @@ xml:space="preserve"> - + diff --git a/theme/upgrade.txt b/theme/upgrade.txt index ce15db20614..105f4258541 100644 --- a/theme/upgrade.txt +++ b/theme/upgrade.txt @@ -16,6 +16,8 @@ optional changes: * new icons i/export and i/import (sized 16x16). Previously export and import actions used i/backup and i/restore. * new icon i/assignroles (sized 16x16), to prevent the use of i/roles which is 12x12. * new icon i/switchrole (sized 16x16), was previously using i/roles. Now is a copy of the new i/assignroles icon. +* new icons i/enrolusers and t/enrolusers, previsouly i/users was used. +* new icon t/cohorts (sized 12x12), to prevent the use of i/cohorts which is 16x16. === 2.3 ===