forked from pdrakeweb/Drupal-FullCalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviews-view-fullcalendar.tpl.php
31 lines (29 loc) · 1.17 KB
/
views-view-fullcalendar.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
// $Id$
/**
* @file
* View to display the fullcalendar
*
* Variables available:
* - $rows: The results of the view query, if any
* - $options: Options for the fullcalendar style plugin
* - fullcalendar_view : the default view for the calendar
* - fullcalendar_url_colorbox : whether or not to attempt to use colorbox to open events
* - fullcalendar_theme : whether or not to apply a loaded jquery-ui theme
* - fullcalendar_header_left : values for the header left region : http://arshaw.com/fullcalendar/docs/display/header/
* - fullcalendar_header_center : values for the header center region : http://arshaw.com/fullcalendar/docs/display/header/
* - fullcalendar_header_right : values for the header right region : http://arshaw.com/fullcalendar/docs/display/header/
* - fullcalendar_weekmode : number of week rows : http://arshaw.com/fullcalendar/docs/display/weekMode/
*/
?>
<div id="fullcalendar-status"></div>
<div id="fullcalendar"></div>
<div id="fullcalendar-content">
<?php foreach ($rows as $event): ?>
<?php if (!empty($event)): ?>
<div class="fullcalendar_event">
<?php print $event; ?>
</div>
<?php endif; ?>
<?php endforeach; ?>
</div>