2011-08-12 16:29:45 +04:00
|
|
|
<div id="sysbox"></div>
|
|
|
|
<div id="controls">
|
|
|
|
<div>
|
2011-08-11 13:22:07 +04:00
|
|
|
<form>
|
|
|
|
<div id="view">
|
2011-09-17 02:29:07 +04:00
|
|
|
<!-- <input type="button" value="1 <?php echo $l->t('Day');?>" id="onedayview_radio" onclick="Calendar.UI.setCurrentView('onedayview');"/> -->
|
2011-09-23 22:19:39 +04:00
|
|
|
<input type="button" value="<?php echo $l->t('Week');?>" id="oneweekview_radio" onclick="Calendar.UI.setCurrentView('oneweekview');"/>
|
2011-09-17 02:29:07 +04:00
|
|
|
<!-- <input type="button" value="4 <?php echo $l->t('Weeks');?>" id="fourweeksview_radio" onclick="Calendar.UI.setCurrentView('fourweeksview');"/> -->
|
2011-09-23 22:19:39 +04:00
|
|
|
<input type="button" value="<?php echo $l->t('Month');?>" id="onemonthview_radio" onclick="Calendar.UI.setCurrentView('onemonthview');"/>
|
|
|
|
<input type="button" value="<?php echo $l->t('List');?>" id="listview_radio" onclick="Calendar.UI.setCurrentView('listview');"/>
|
2011-08-11 13:22:07 +04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<form>
|
|
|
|
<div id="choosecalendar">
|
2011-09-12 00:06:45 +04:00
|
|
|
<input type="button" id="today_input" value="<?php echo $l->t("Today");?>" onclick="Calendar.UI.switch2Today();"/>
|
|
|
|
<input type="button" id="choosecalendar_input" value="<?php echo $l->t("Calendars");?>" onclick="Calendar.UI.Calendar.overview();" />
|
2011-08-11 13:22:07 +04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<form>
|
|
|
|
<div id="datecontrol">
|
2011-09-02 12:14:56 +04:00
|
|
|
<input type="button" value=" < " id="datecontrol_left" onclick="Calendar.UI.updateDate('backward');"/>
|
2011-08-12 16:29:45 +04:00
|
|
|
<input id="datecontrol_date" type="button" value=""/>
|
2011-09-02 12:14:56 +04:00
|
|
|
<input type="button" value=" > " id="datecontrol_right" onclick="Calendar.UI.updateDate('forward');"/>
|
2011-08-11 13:22:07 +04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2011-10-17 21:34:00 +04:00
|
|
|
<script type='text/javascript'>
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('#calendar_holder').fullCalendar({
|
|
|
|
editable: true,
|
2011-10-17 21:58:56 +04:00
|
|
|
eventSources: <?php echo json_encode($_['eventSources']) ?>
|
2011-10-17 21:34:00 +04:00
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
2011-08-12 16:29:45 +04:00
|
|
|
<div id="calendar_holder">
|
2011-08-11 13:22:07 +04:00
|
|
|
</div>
|
|
|
|
<!-- Dialogs -->
|
2011-08-19 22:33:48 +04:00
|
|
|
<div id="dialog_holder"></div>
|
2011-08-11 13:22:07 +04:00
|
|
|
<div id="parsingfail_dialog" title="Parsing Fail">
|
2011-08-28 22:13:40 +04:00
|
|
|
<?php echo $l->t("There was a fail, while parsing the file."); ?>
|
2011-08-11 13:22:07 +04:00
|
|
|
</div>
|
|
|
|
<!-- End of Dialogs -->
|