Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-32505 course formats: zooming feature be gone!

  • Loading branch information...
commit 3fe600aacf006e2b40517b720c67c6a4faa317e5 1 parent b9bcdb5
@danpoltawski danpoltawski authored
View
10 course/format/topics/format.php
@@ -42,7 +42,6 @@
$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 @@
// Note, 'right side' is BEFORE content.
echo '<div class="right side">';
- if ($displaysection == $section) { // Show the zoom boxes
- echo '<a href="view.php?id='.$course->id.'&amp;topic=0#section-'.$section.'" title="'.$strshowalltopics.'">'.
- '<img src="'.$OUTPUT->pix_url('i/all') . '" class="icon" alt="'.$strshowalltopics.'" /></a><br />';
- } else {
- $strshowonlytopic = get_string("showonlytopic", "", $section);
- echo '<a href="view.php?id='.$course->id.'&amp;topic='.$section.'" title="'.$strshowonlytopic.'">'.
- '<img src="'.$OUTPUT->pix_url('i/one') . '" class="icon" alt="'.$strshowonlytopic.'" /></a><br />';
- }
-
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
View
10 course/format/weeks/format.php
@@ -34,7 +34,6 @@
$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 @@
// Note, 'right side' is BEFORE content.
echo '<div class="right side">';
- if ($displaysection == $section) {
- echo '<a href="view.php?id='.$course->id.'&amp;week=0#section-'.$section.'" title="'.$strshowallweeks.'">'.
- '<img src="'.$OUTPUT->pix_url('i/all') . '" class="icon wkall" alt="'.$strshowallweeks.'" /></a><br />';
- } else {
- $strshowonlyweek = get_string("showonlyweek", "", $section);
- echo '<a href="view.php?id='.$course->id.'&amp;week='.$section.'" title="'.$strshowonlyweek.'">'.
- '<img src="'.$OUTPUT->pix_url('i/one') . '" class="icon wkone" alt="'.$strshowonlyweek.'" /></a><br />';
- }
-
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 '<a href="view.php?id='.$course->id.'&amp;hide='.$section.'&amp;sesskey='.sesskey().'#section-'.$section.'" title="'.$strweekhide.'" class="editing_showhide">'.
View
4 lang/en/moodle.php
@@ -1488,9 +1488,7 @@
$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['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';
View
BIN  pix/i/all.gif
Deleted file not rendered
View
BIN  pix/i/one.gif
Deleted file not rendered
Please sign in to comment.
Something went wrong with that request. Please try again.