diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 912671d712b..515cd4453e5 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -42,7 +42,6 @@ if (($marker >=0) && has_capability('moodle/course:setcurrentsection', $context) $streditsummary = get_string('editsummary'); $stradd = get_string('add'); $stractivities = get_string('activities'); -$strshowalltopics = get_string('showalltopics'); $strtopic = get_string('topic'); $strgroups = get_string('groups'); $strgroupmy = get_string('groupmy'); @@ -171,15 +170,6 @@ while ($section <= $course->numsections) { // Note, 'right side' is BEFORE content. echo '
'; - if ($displaysection == $section) { // Show the zoom boxes - echo ''. - ''.$strshowalltopics.'
'; - } else { - $strshowonlytopic = get_string("showonlytopic", "", $section); - echo ''. - ''.$strshowonlytopic.'
'; - } - if ($PAGE->user_is_editing() && has_capability('moodle/course:update', get_context_instance(CONTEXT_COURSE, $course->id))) { if ($course->marker == $section) { // Show the "light globe" on/off diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index abc2c7def3b..a6894e63df0 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -34,7 +34,6 @@ defined('MOODLE_INTERNAL') || die(); $streditsummary = get_string('editsummary'); $stradd = get_string('add'); $stractivities = get_string('activities'); - $strshowallweeks = get_string('showallweeks'); $strweek = get_string('week'); $strgroups = get_string('groups'); $strgroupmy = get_string('groupmy'); @@ -177,15 +176,6 @@ defined('MOODLE_INTERNAL') || die(); // Note, 'right side' is BEFORE content. echo '
'; - if ($displaysection == $section) { - echo ''. - ''.$strshowallweeks.'
'; - } else { - $strshowonlyweek = get_string("showonlyweek", "", $section); - echo ''. - ''.$strshowonlyweek.'
'; - } - if ($PAGE->user_is_editing() && has_capability('moodle/course:update', get_context_instance(CONTEXT_COURSE, $course->id))) { if ($thissection->visible) { // Show the hide/show eye echo ''. diff --git a/lang/en/moodle.php b/lang/en/moodle.php index c02c0a19608..9a3803a2791 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1488,9 +1488,7 @@ $string['showactions'] = 'Show actions'; $string['showadvancedsettings'] = 'Show advanced settings'; $string['showall'] = 'Show all {$a}'; $string['showallcourses'] = 'Show all courses'; -$string['showalltopics'] = 'Show all topics'; $string['showallusers'] = 'Show all users'; -$string['showallweeks'] = 'Show all weeks'; $string['showblockcourse'] = 'Show list of courses containing block'; $string['showcomments'] = 'Show/hide comments'; $string['showcommentsnonjs'] = 'Show comments'; @@ -1501,8 +1499,6 @@ $string['showgrades_help'] = 'Many activities in the course allow grades to be s $string['showlistofcourses'] = 'Show list of courses'; $string['showmodulecourse'] = 'Show list of courses containing activity'; $string['showonly'] = 'Show only'; -$string['showonlytopic'] = 'Show only topic {$a}'; -$string['showonlyweek'] = 'Show only week {$a}'; $string['showperpage'] = 'Show {$a} per page'; $string['showrecent'] = 'Show recent activity'; $string['showreports'] = 'Show activity reports'; diff --git a/pix/i/all.gif b/pix/i/all.gif deleted file mode 100644 index 38a2fd0016e..00000000000 Binary files a/pix/i/all.gif and /dev/null differ diff --git a/pix/i/one.gif b/pix/i/one.gif deleted file mode 100644 index 4792e7c4f6f..00000000000 Binary files a/pix/i/one.gif and /dev/null differ