egroupware/calendar/templates/default/export_csv_select.xet
nathangray af4d931831 Calendar export CSV cleanup
- Fix looking for query in wrong place broke 'Use search results'
- Remove uneeded code
- Hide criteria block when user chooses search results
2016-09-28 10:27:18 -06:00

59 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="calendar.export_csv_select" template="" lang="" group="0" version="1.9.003">
<grid>
<columns>
<column width="150"/>
<column/>
</columns>
<rows>
<row disabled="!@msg">
<description id="msg" span="all" class="message"/>
<description/>
</row>
<row>
<radio label="Use search results" id="selection" onclick="jQuery('.criteria').hide();jQuery('div.filters').hide();" options="search_results" span="all"/>
</row>
<row>
<radio label="Use definition filter" id="selection" onclick="jQuery('div.filters').show();jQuery('.criteria').hide();" options="filter" span="all"/>
</row>
<row>
<radio label="Use given criteria:" id="selection" onchange="jQuery('.criteria').show();jQuery('div.filters').hide();" options="criteria" span="all"/>
</row>
<row>
<grid class="criteria" id="criteria">
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<description value="Start" font_style="1"/>
<date statustext="Startdate of the export" id="start"/>
</row>
<row>
<description value="End"/>
<date statustext="Enddate of the export" id="end"/>
</row>
<row>
<calendar-owner id="owner" empty_label="Owner" span="2" class="shorter" allowFreeEntries="false" autocomplete_url="calendar.calendar_owner_etemplate_widget.ajax_owner"/>
</row>
</rows>
</grid>
</row>
<row>
<description/>
<description/>
</row>
</rows>
</grid>
<styles>
.shorter select {
width: 170px;
}
</styles>
</template>
</overlay>