1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
3<!-- $Id$ -->
4<overlay>
5	<template id="calendar.freetimesearch.rows" template="" lang="" group="0" version="1.0.1.001">
6		<grid>
7			<columns>
8				<column/>
9				<column/>
10				<column/>
11				<column/>
12			</columns>
13			<rows>
14				<row class="th">
15					<description value="Date"/>
16					<description value="Time"/>
17					<description value="Select"/>
18					<description value="Enddate"/>
19				</row>
20				<row class="row">
21					<date options=",16" id="${row}[start]" readonly="true"/>
22					<menulist>
23						<menupopup no_lang="1" id="{$row}start" statustext="select a time"/>
24					</menulist>
25					<button label="Select" id="select[$row]" statustext="use the selected time and close the popup" onclick="app.calendar.freetime_select" />
26					<date-time id="${row}[end]" readonly="true"/>
27				</row>
28			</rows>
29		</grid>
30	</template>
31	<template id="calendar.freetimesearch" template="" lang="" group="0" version="1.3.001">
32		<grid>
33			<columns>
34				<column/>
35				<column/>
36			</columns>
37			<rows>
38				<row class="dialogHeader">
39					<description class="calendar_freetime_header" value="Freetime Search" span="all"/>
40				</row>
41				<row >
42					<description value="Startdate / -time"/>
43					<date-time id="start" statustext="Startdate and -time of the search"/>
44				</row>
45				<row>
46					<description value="Duration"/>
47					<hbox>
48						<menulist>
49							<menupopup no_lang="1" id="duration" statustext="Duration of the meeting" onchange="app.calendar.set_enddate_visibility" options="Use end date"/>
50						</menulist>
51						<date-time id="end" statustext="Enddate / -time of the meeting, eg. for more then one day"/>
52					</hbox>
53				</row>
54				<row>
55					<description value="Timeframe"/>
56					<hbox class="calendar_freetime_timeframe">
57						<date-timeonly id="start_time" statustext="Timeframe to search"/>
58						<description value="til"/>
59						<date-timeonly id="end_time" statustext="Timeframe to search"/>
60						<description value="Weekdays"/>
61						<select-dow rows="10" id="weekdays" statustext="Weekdays to use in search" class="calendar_freetime_dow"/>
62					</hbox>
63				</row>
64				<row class="dialogFooterToolbar">
65					<button label="New search" id="search" image="search" background_image="1" statustext="new search with the above parameters"/>
66					<hbox>
67						<menulist>
68							<menupopup no_lang="1" id="search_window" statustext="how far to search (from startdate)"/>
69						</menulist>
70						<button id="cancel" label="Cancel" statustext="Close the window" onclick="window.close();"/>
71					</hbox>
72				</row>
73				<row>
74					<template content="freetime" span="all" id="calendar.freetimesearch.rows"/>
75				</row>
76			</rows>
77		</grid>
78		<styles>
79			body { background-color: white; }
80		</styles>
81	</template>
82</overlay>
83