MDL-10048 Separate events key and monthly view in right side panel

This commit is contained in:
dwoolhead 2007-06-12 09:55:22 +00:00
parent 6284362d1c
commit 914be7f915

View File

@ -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.'&amp;type='.$eventtype.'&amp;id='.$eventid); echo calendar_filter_controls('event', 'action='.$action.'&amp;type='.$eventtype.'&amp;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>';