2016-03-30 18:03:19 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Egroupware
|
|
|
|
@license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
@package
|
|
|
|
@subpackage
|
|
|
|
@link http://www.egroupware.org
|
|
|
|
@author Nathan Gray
|
|
|
|
@version $Id$
|
|
|
|
-->
|
|
|
|
|
2017-02-01 09:59:37 +01:00
|
|
|
<!DOCTYPE overlay PUBLIC '-//EGroupware GmbH//eTemplate 2//EN' 'http://www.egroupware.org/etemplate2.dtd'>
|
2016-03-30 18:03:19 +02:00
|
|
|
|
|
|
|
<overlay>
|
|
|
|
<template id="calendar.view">
|
2022-05-02 13:43:19 +02:00
|
|
|
<description id="header_dateIndicator"/>
|
2016-03-30 18:03:19 +02:00
|
|
|
<grid id="view" width="100%">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row class="view_row">
|
|
|
|
<calendar-timegrid id="${row}"
|
2022-05-02 13:43:19 +02:00
|
|
|
onchange="var state = {}; if(widget.options.start_date == widget.options.end_date) state.view = 'day'; app.calendar.update_state(state);let s = widget.getInstanceManager().app_obj.calendar.state;let d = new Date(s.date);widget.getInstanceManager().widgetContainer.getWidgetById('header_dateIndicator').set_value((s.view == 'day'?date('d', d)+'-':'')+egw.lang(date('M',d))+'-'+date('Y',d));"
|
2016-03-30 18:03:19 +02:00
|
|
|
onevent_change="app.calendar.event_change"
|
|
|
|
disabled="true"
|
|
|
|
>
|
|
|
|
</calendar-timegrid>
|
|
|
|
</row>
|
|
|
|
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<button class="plus_button" id="add" onclick="egw.open(null,'calendar','add')"/>
|
|
|
|
</template>
|
|
|
|
</overlay>
|