2015-06-10 23:51:28 +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$
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!DOCTYPE overlay PUBLIC '-//Stylite AG//eTemplate 2//EN' 'http://www.egroupware.org/etemplate2.dtd'>
|
|
|
|
|
|
|
|
<overlay>
|
|
|
|
<template id="calendar.sidebox">
|
|
|
|
<vbox parent_node="calendar-et2_target">
|
2015-12-14 21:46:25 +01:00
|
|
|
<textbox id="keywords" class="et2_fullWidth" blur="Search" onchange="app.calendar.update_state({view: 'listview',keywords: widget.getValue()});return false;"/>
|
2016-02-03 17:52:28 +01:00
|
|
|
<buttononly id="header_today" label="•" icon="nope" onclick="
|
2015-12-22 21:07:40 +01:00
|
|
|
var tempDate = new Date();
|
|
|
|
var today = new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate(),0,-tempDate.getTimezoneOffset(),0);
|
|
|
|
var change = {date: today.toJSON()};
|
|
|
|
app.calendar.update_state(change);return false;"/>
|
2016-02-03 19:27:52 +01:00
|
|
|
<buttononly id="header_go" label="↵" icon="nope" class="ui-corner-all" onclick="var change = {date: widget.btn.attr('data-date')}; if ( app.calendar.state.view == 'listview') {change.filter='month';} else {change.view = 'month';}app.calendar.update_state(change);" />
|
2015-09-14 22:47:25 +02:00
|
|
|
<date id="date" class="et2_fullWidth" inline="true" onchange="var view_change = app.calendar.sidebox_changes_views.indexOf(app.calendar.state.view);
|
|
|
|
var update = {date:widget.getValue()};
|
2016-02-03 19:27:52 +01:00
|
|
|
if(view_change >= 0) {update.view = app.calendar.sidebox_changes_views[view_change ? view_change - 1 : view_change];} else if (app.calendar.state.view == 'listview') {update.filter = 'after';} else if (app.calendar.state.view =='planner') { update.planner_view = 'day'; } app.calendar.update_state(update);"/>
|
2015-06-15 23:38:03 +02:00
|
|
|
<textbox type="hidden" id="first"/>
|
|
|
|
<textbox type="hidden" id="last"/>
|
2015-10-14 16:32:33 +02:00
|
|
|
<select-cat id="cat_id" empty_label="All categories" width="86%" onchange="app.calendar.update_state({cat_id: widget.getValue()});" expand_multiple_rows="4"/>
|
2016-02-09 21:28:57 +01:00
|
|
|
<calendar_owner id="owner" class="et2_fullWidth" onchange="app.calendar.update_state({owner: widget.getValue()}); return false;" multiple="true" allowFreeEntries="false"/>
|
2015-06-10 23:51:28 +02:00
|
|
|
|
|
|
|
<!--
|
|
|
|
<taglist id="owner" class="et2_fullWidth" onchange="app.calendar.update_state({owner: widget.getValue()});" autocomplete_params=''/>
|
|
|
|
-->
|
2015-12-16 20:54:22 +01:00
|
|
|
<select id="status_filter" no_lang="true" class="et2_fullWidth" onchange="app.calendar.update_state({status_filter: widget.getValue()});"/>
|
2015-12-15 17:36:54 +01:00
|
|
|
<select id="merge" empty_label="Insert in document" onchange="app.calendar.sidebox_merge" class="et2_fullWidth"/>
|
2015-06-10 23:51:28 +02:00
|
|
|
</vbox>
|
2015-06-15 23:38:03 +02:00
|
|
|
<iframe id="iframe" width="100%" height="100%"/>
|
2015-06-10 23:51:28 +02:00
|
|
|
</template>
|
|
|
|
</overlay>
|