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 '
'.
- ' . ')
';
- } else {
- $strshowonlytopic = get_string("showonlytopic", "", $section);
- echo '
'.
- ' . ')
';
- }
-
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 '