From 3fe600aacf006e2b40517b720c67c6a4faa317e5 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Mon, 23 Apr 2012 21:17:41 +0800 Subject: [PATCH] MDL-32505 course formats: zooming feature be gone! --- course/format/topics/format.php | 10 ---------- course/format/weeks/format.php | 10 ---------- lang/en/moodle.php | 4 ---- pix/i/all.gif | Bin 91 -> 0 bytes pix/i/one.gif | Bin 75 -> 0 bytes 5 files changed, 24 deletions(-) delete mode 100644 pix/i/all.gif delete mode 100644 pix/i/one.gif 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 38a2fd0016e219668f853fea13843d029f70e4fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 91 zcmZ?wbhEHb6kw2K_`t;Q|Nnmm1_s5SEUXL+Obj|eHUmh8fyt<+zw*G_o_Q>VyRsgh ty7fV>=E||enVFhdN?YD>bHA3Udr{*3b94NYpWdv6&ao5SgGCt_tN}GMAlv`| diff --git a/pix/i/one.gif b/pix/i/one.gif deleted file mode 100644 index 4792e7c4f6fb62ece2043edbe7dd0d4534b70a96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 75 zcmZ?wbhEHb6krfw_`t;Q|Nnmm1_s5SEUXL+Obj|eHc(su$X4p