diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index c57b1540b58..a800530ead4 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -33,16 +33,16 @@ class block_admin extends block_list { global $CFG, $USER; if (isadmin()) { - $this->content->items[] = ''.get_string('configuration').'...'; + $this->content->items[] = ''.get_string('configuration').''; $this->content->icons[] = ''; - $this->content->items[] = ''.get_string('users').'...'; + $this->content->items[] = ''.get_string('users').''; $this->content->icons[] = ''; - $this->content->items[]=''.get_string('backup').'...'; + $this->content->items[]=''.get_string('backup').''; $this->content->icons[]=''; - $this->content->items[]=''.get_string('restore').'...'; + $this->content->items[]=''.get_string('restore').''; $this->content->icons[]=''; } @@ -62,7 +62,7 @@ class block_admin extends block_list { $this->content->items[] = ''.get_string('managedatabase').''; $this->content->icons[] = ''; } - $this->content->footer = ''.get_string('admin').'...'; + $this->content->footer = ''.get_string('admin').''; } } @@ -89,14 +89,14 @@ class block_admin extends block_list { $this->content->items[]=''.get_string('turneditingon').''; } - $this->content->items[]=''.get_string('settings').'...'; + $this->content->items[]=''.get_string('settings').''; $this->content->icons[]=''; if (iscreator() || !empty($CFG->teacherassignteachers)) { if (!$course->teachers) { $course->teachers = get_string('defaultcourseteachers'); } - $this->content->items[]=''.$course->teachers.'...'; + $this->content->items[]=''.$course->teachers.''; $this->content->icons[]=''; } @@ -104,38 +104,38 @@ class block_admin extends block_list { $course->students = get_string('defaultcoursestudents'); } if (!$course->metacourse) { - $this->content->items[]=''.$course->students.'...'; + $this->content->items[]=''.$course->students.''; $this->content->icons[]=''; } else { - $this->content->items[]=''.$course->students.'...'; + $this->content->items[]=''.$course->students.''; $this->content->icons[]=''; } - $this->content->items[]=''.get_string('backup').'...'; + $this->content->items[]=''.get_string('backup').''; $this->content->icons[]=''; - $this->content->items[]=''.get_string('restore').'...'; + $this->content->items[]=''.get_string('restore').''; $this->content->icons[]=''; $this->content->items[]=''.get_string('importdata').''; $this->content->icons[]=''; - $this->content->items[]=''.get_string('scales').'...'; + $this->content->items[]=''.get_string('scales').''; $this->content->icons[]=''; } - $this->content->items[]=''.get_string('grades').'...'; + $this->content->items[]=''.get_string('grades').''; $this->content->icons[]=''; - $this->content->items[]=''.get_string('logs').'...'; + $this->content->items[]=''.get_string('logs').''; $this->content->icons[]=''; if ($isteacheredit) { - $this->content->items[]=''.get_string('files').'...'; + $this->content->items[]=''.get_string('files').''; $this->content->icons[]=''; } - $this->content->items[]=''.get_string('help').'...'; + $this->content->items[]=''.get_string('help').''; $this->content->icons[]=''; if ($teacherforum = forum_get_course_forum($this->instance->pageid, 'teacher')) { @@ -146,22 +146,22 @@ class block_admin extends block_list { } else if (!isguest()) { // Students menu if ($course->showgrades) { - $this->content->items[]=''.get_string('grades').'...'; + $this->content->items[]=''.get_string('grades').''; $this->content->icons[]=''; } if ($course->showreports) { - $this->content->items[]=''.get_string('activityreport').'...'; + $this->content->items[]=''.get_string('activityreport').''; $this->content->icons[]=''; } if (is_internal_auth()) { - $this->content->items[]=''.get_string('changepassword').'...'; + $this->content->items[]=''.get_string('changepassword').''; $this->content->icons[]=''; } else if ($CFG->changepassword) { - $this->content->items[]=''.get_string('changepassword').'...'; + $this->content->items[]=''.get_string('changepassword').''; $this->content->icons[]=''; } if ($CFG->allowunenroll) { - $this->content->items[]=''.get_string('unenrolme', '', $course->shortname).'...'; + $this->content->items[]=''.get_string('unenrolme', '', $course->shortname).''; $this->content->icons[]=''; } }