mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-32505 course formats: zooming feature be gone!
This commit is contained in:
parent
b9bcdb54da
commit
3fe600aacf
@ -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 '<div class="right side">';
|
||||
|
||||
if ($displaysection == $section) { // Show the zoom boxes
|
||||
echo '<a href="view.php?id='.$course->id.'&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.'&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
|
||||
|
@ -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 '<div class="right side">';
|
||||
|
||||
if ($displaysection == $section) {
|
||||
echo '<a href="view.php?id='.$course->id.'&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.'&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.'&hide='.$section.'&sesskey='.sesskey().'#section-'.$section.'" title="'.$strweekhide.'" class="editing_showhide">'.
|
||||
|
@ -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';
|
||||
|
BIN
pix/i/all.gif
BIN
pix/i/all.gif
Binary file not shown.
Before Width: | Height: | Size: 91 B |
BIN
pix/i/one.gif
BIN
pix/i/one.gif
Binary file not shown.
Before Width: | Height: | Size: 75 B |
Loading…
x
Reference in New Issue
Block a user