mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-10048 Separate events key and monthly view in right side panel
This commit is contained in:
parent
6284362d1c
commit
914be7f915
@ -535,12 +535,16 @@
|
|||||||
list($nextmon, $nextyr) = calendar_add_month($mon, $yr);
|
list($nextmon, $nextyr) = calendar_add_month($mon, $yr);
|
||||||
|
|
||||||
echo '<td class="sidecalendar">';
|
echo '<td class="sidecalendar">';
|
||||||
echo '<div class="header">'.get_string('monthlyview', 'calendar').'</div>';
|
echo '<div class="sideblock">';
|
||||||
|
echo '<div class="header">'.get_string('eventskey', 'calendar').'</div>';
|
||||||
echo '<div class="filters">';
|
echo '<div class="filters">';
|
||||||
echo calendar_filter_controls('event', 'action='.$action.'&type='.$eventtype.'&id='.$eventid);
|
echo calendar_filter_controls('event', 'action='.$action.'&type='.$eventtype.'&id='.$eventid);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
echo '<div class="minicalendarblock">';
|
echo '<div class="sideblock">';
|
||||||
|
echo '<div class="header">'.get_string('monthlyview', 'calendar').'</div>';
|
||||||
|
echo '<div class="minicalendarblock minicalendartop">';
|
||||||
echo calendar_top_controls('display', array('m' => $prevmon, 'y' => $prevyr));
|
echo calendar_top_controls('display', array('m' => $prevmon, 'y' => $prevyr));
|
||||||
echo calendar_get_mini($courses, $groups, $users, $prevmon, $prevyr);
|
echo calendar_get_mini($courses, $groups, $users, $prevmon, $prevyr);
|
||||||
echo '</div><div class="minicalendarblock">';
|
echo '</div><div class="minicalendarblock">';
|
||||||
@ -550,6 +554,7 @@
|
|||||||
echo calendar_top_controls('display', array('m' => $nextmon, 'y' => $nextyr));
|
echo calendar_top_controls('display', array('m' => $nextmon, 'y' => $nextyr));
|
||||||
echo calendar_get_mini($courses, $groups, $users, $nextmon, $nextyr);
|
echo calendar_get_mini($courses, $groups, $users, $nextmon, $nextyr);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '</tr></table>';
|
echo '</tr></table>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user