2005-06-11 22:23:06 +02:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2009-11-25 21:16:41 +01:00
<template id="calendar.edit.general" template="" lang="" group="0" version="1.7.002">
2007-06-06 18:10:12 +02:00
<hbox options="0,0">
2009-07-23 18:14:22 +02:00
<grid width="100%" height="210">
2007-06-06 18:10:12 +02:00
<columns>
<column width="95"/>
<column/>
</columns>
<rows>
<row class="row">
<description width="95" options=",,,start" value="Start"/>
<hbox options="0,0">
<date-time needed="1" id="start"/>
<checkbox label="whole day" id="whole_day" options=",, ,disable" statustext="Event will occupy the whole day" align="center"/>
</hbox>
</row>
<row class="row">
<description width="0" options=",,,duration" value="Duration"/>
<hbox options="0,0">
<menulist>
2009-11-25 21:16:41 +01:00
<menupopup no_lang="1" onchange="set_style_by_class('table','end_hide','display',this.value == '' ? 'block' : 'none'); if (this.value == '') document.getElementById(form::name('end[str]')).value = document.getElementById(form::name('start[str]')).value;" id="duration" options="Use end date" statustext="Duration of the meeting"/>
2007-06-06 18:10:12 +02:00
</menulist>
<date-time id="end" class="end_hide"/>
</hbox>
</row>
<row>
<description/>
2009-04-29 16:17:46 +02:00
<buttononly label="Freetime search" onclick="ajax_submit(this.form,'calendar.calendar_uiforms.ajax_freetimesearch'); return false;" width="0" id="freetime" statustext="Find free timeslots where the selected participants are availible for the given timespan"/>
2007-06-06 18:10:12 +02:00
</row>
<row class="row">
<description options=",,,location" value="Location" width="0"/>
2008-07-30 07:56:19 +02:00
<textbox maxlength="255" id="location" class="inputFullWidth"/>
2007-06-06 18:10:12 +02:00
</row>
<row class="row_off">
<description options=",,,priority" value="Priority" width="0"/>
2005-11-09 00:15:14 +01:00
<menulist>
<menupopup type="select-priority" id="priority"/>
</menulist>
2007-06-06 18:10:12 +02:00
</row>
<row class="row">
<description value="Options" width="0"/>
<checkbox id="non_blocking" options=",, ,disable" statustext="A non blocking event will not conflict with other events" label="non blocking"/>
</row>
<row class="row">
<description/>
<checkbox id="public" options="0,1" label="Private"/>
</row>
</rows>
</grid>
<vbox class="row_on" align="right" options="0,0">
<description options=",,,category" value="Categories" class="row_on"/>
<listbox type="select-cat" id="category" rows="9"/>
</vbox>
</hbox>
2005-06-11 22:23:06 +02:00
</template>
<template id="calendar.edit.description" template="" lang="" group="0" version="1.0.1.001">
2009-11-25 21:16:41 +01:00
<grid width="100%" height="210">
2005-06-11 22:23:06 +02:00
<columns>
<column width="95"/>
<column/>
</columns>
<rows>
<row class="row" valign="top">
<description options=",,,description" value="Description"/>
<textbox multiline="true" rows="12" cols="70" id="description"/>
</row>
</rows>
</grid>
</template>
2009-10-12 21:16:42 +02:00
<template id="calendar.edit.participants" template="" lang="" group="0" version="1.7.001">
2009-11-25 21:16:41 +01:00
<grid width="100%" height="210" overflow="auto" id="participants">
2005-06-11 22:23:06 +02:00
<columns>
2005-11-09 00:15:14 +01:00
<column width="95"/>
<column/>
2005-06-11 22:23:06 +02:00
<column/>
2009-10-12 21:16:42 +02:00
<column width="70"/>
2005-06-11 22:23:06 +02:00
<column/>
2006-12-22 20:54:31 +01:00
<column/>
2005-06-11 22:23:06 +02:00
</columns>
<rows>
2006-12-22 20:54:31 +01:00
<row class="row" disabled="@no_add">
<description value="New"/>
<vbox options="0,0">
<menulist>
2007-05-27 08:25:08 +02:00
<menupopup type="select-account" options="User or group,calendar+,,10" id="account" statustext="User or group"/>
2006-12-22 20:54:31 +01:00
</menulist>
<link-entry id="resource" options="@cal_resources"/>
</vbox>
2009-10-12 21:16:42 +02:00
<int options="1,,3" id="quantity" align="center"/>
<menulist class="selectRole">
<menupopup id="role"/>
</menulist>
<button label="Add" id="add" align="center"/>
2006-12-22 20:54:31 +01:00
<description/>
</row>
2006-12-27 13:47:08 +01:00
<row class="th">
<description value="Type"/>
<description value="Participants"/>
2009-10-12 21:16:42 +02:00
<description value="Quantity" align="center"/>
<description value="Role"/>
2006-12-27 13:47:08 +01:00
<description value="Status"/>
2007-05-07 20:59:05 +02:00
<description value="Actions"/>
2006-12-27 13:47:08 +01:00
</row>
2006-12-22 20:54:31 +01:00
<row valign="top">
<description id="${row}[app]"/>
<description rows="1" cols="2" id="${row}[title]" no_lang="1"/>
2009-10-12 21:16:42 +02:00
<int id="${row}[quantity]" options="1,,3" readonly="true" align="center"/>
2009-10-12 23:26:11 +02:00
<description id="${row}[role_label]"/>
2006-12-22 20:54:31 +01:00
<menulist>
2006-12-27 13:47:08 +01:00
<menupopup id="${row}[status]" no_lang="1" onchange="1"/>
2006-12-22 20:54:31 +01:00
</menulist>
2010-04-16 12:19:48 +02:00
<button rows="1" cols="2" id="delete[$row_cont[delete_id]]" align="center" label="Delete" onchange="1" image="delete"/>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
2009-10-12 21:16:42 +02:00
<styles>
.selectRole select { width: 100%; }
</styles>
2005-06-11 22:23:06 +02:00
</template>
2010-04-16 15:24:58 +02:00
<template id="calendar.edit.recurrence" template="" lang="" group="0" version="1.7.003">
2009-11-25 21:16:41 +01:00
<grid width="100%" height="210">
2005-06-11 22:23:06 +02:00
<columns>
<column width="95"/>
<column/>
<column/>
2005-11-09 00:15:14 +01:00
<column width="50%"/>
2005-06-11 22:23:06 +02:00
</columns>
<rows>
2009-07-23 18:14:22 +02:00
<row class="row" disabled="!@reference">
<description value="Exception"/>
2010-05-20 11:19:15 +02:00
<date-time readonly="true" id="recurrence" class="gray"/>
<description id="reference" class="gray"/>
<description id="uid" class="gray"/>
2009-07-23 18:14:22 +02:00
</row>
2005-11-09 00:15:14 +01:00
<row class="th" height="12">
2009-07-23 18:14:22 +02:00
<description span="all" class="gray" value="Repeating Event Information"/>
2010-05-20 11:19:15 +02:00
<description/>
2009-07-23 18:14:22 +02:00
<description/>
<description/>
2005-11-09 00:15:14 +01:00
</row>
<row class="row" height="12">
<description options=",,,recur_type" value="Repeat type"/>
<menulist>
2010-05-20 11:19:15 +02:00
<menupopup onchange="check_recur_type('recur_type', 2);" id="recur_type"/>
2005-11-09 00:15:14 +01:00
</menulist>
<description options=",,,recur_interval" value="Interval"/>
<menulist>
2010-05-20 11:19:15 +02:00
<menupopup type="select-number" id="recur_interval" options="None,2,31" statustext="repeating interval, eg. 2 to repeat every second week"/>
2005-11-09 00:15:14 +01:00
</menulist>
</row>
<row class="row" height="12">
<description options=",,,recur_enddate" value="End date"/>
2009-11-04 16:00:08 +01:00
<date id="recur_enddate" statustext="repeat the event until which date (empty means unlimited)"/>
<description options=",,,tzid" value="Timezone"/>
<menulist>
<menupopup type="select-timezone" id="tzid" statustext="Timezone in which recurrences have identical time"/>
</menulist>
2005-11-09 00:15:14 +01:00
</row>
2005-06-11 22:23:06 +02:00
<row class="row" valign="top">
2005-11-09 00:15:14 +01:00
<description options=",,,recur_data" value="Repeat days"/>
2010-05-20 11:19:15 +02:00
<listbox type="select-dow" id="recur_data" rows="6" options="1" statustext="Days of the week for a weekly repeated event"/>
2006-12-22 20:54:31 +01:00
<vbox options="0,0">
<description value="Exceptions"/>
2010-05-20 11:19:15 +02:00
<button label="@exception_label" no_lang="1" id="button[exception]" statustext="Create an exception for the given date"/>
2006-12-22 20:54:31 +01:00
</vbox>
2010-05-20 11:19:15 +02:00
<grid>
2005-11-09 00:15:14 +01:00
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
2010-05-20 11:19:15 +02:00
<date-time readonly="true" id="$row"/>
<button label="Delete" onclick="return confirm('Delete this exception');" id="delete_exception[$row_cont]" image="delete" statustext="Delete this exception"/>
2005-11-09 00:15:14 +01:00
</row>
</rows>
</grid>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
</template>
2007-07-11 17:39:41 +02:00
<template id="calendar.edit.custom" template="" lang="" group="0" version="1.4.001">
2009-11-25 21:16:41 +01:00
<grid width="100%" height="210" overflow="auto">
2005-06-11 22:23:06 +02:00
<columns>
<column/>
</columns>
<rows>
2005-11-09 00:15:14 +01:00
<row valign="top">
2007-07-11 17:39:41 +02:00
<customfields/>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
</template>
2005-11-09 00:15:14 +01:00
<template id="calendar.edit.links" template="" lang="" group="0" version="1.0.1.001">
2009-07-23 18:14:22 +02:00
<grid width="100%" height="210" overflow="auto">
2005-06-11 22:23:06 +02:00
<columns>
2005-11-09 00:15:14 +01:00
<column width="95"/>
2005-06-11 22:23:06 +02:00
<column/>
</columns>
<rows>
2005-11-09 00:15:14 +01:00
<row class="th" disabled="@view">
<description span="all" value="Create new links"/>
</row>
<row class="row" disabled="@view">
<link-to span="all" id="link_to"/>
</row>
<row class="th">
<description span="all" value="Existing links"/>
</row>
<row class="row_off" valign="top">
<link-list span="all" id="link_to"/>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
</template>
2005-11-09 00:15:14 +01:00
<template id="calendar.edit.alarms" template="" lang="" group="0" version="1.0.1.001">
2009-07-23 18:14:22 +02:00
<grid width="100%" height="210" overflow="auto">
2005-06-11 22:23:06 +02:00
<columns>
2005-11-09 00:15:14 +01:00
<column width="95"/>
2005-06-11 22:23:06 +02:00
<column/>
</columns>
<rows>
2005-11-09 00:15:14 +01:00
<row class="row" height="20" disabled="@no_add_alarm">
<description value="before the event"/>
<hbox>
<menulist>
2007-05-07 20:59:05 +02:00
<menupopup type="select-number" options=",0,7" id="new_alarm[days]" statustext="days"/>
2005-11-09 00:15:14 +01:00
</menulist>
<description options=",,,new_alarm[days]" value="days"/>
<menulist>
2007-05-07 20:59:05 +02:00
<menupopup type="select-number" id="new_alarm[hours]" options=",0,23" statustext="hours"/>
2005-11-09 00:15:14 +01:00
</menulist>
<description options=",,,new_alarm[hours]" value="hours"/>
<menulist>
2007-05-07 20:59:05 +02:00
<menupopup type="select-number" id="new_alarm[mins]" options=",0,55,5" statustext="Minutes"/>
2005-11-09 00:15:14 +01:00
</menulist>
<description options=",,,new_alarm[mins]" value="Minutes"/>
<menulist>
<menupopup id="new_alarm[owner]" no_lang="1" label="for" statustext="Select who should get the alarm"/>
</menulist>
<button id="button[add_alarm]" label="Add alarm"/>
</hbox>
</row>
<row valign="top" disabled="!@alarm">
<description value="Alarms"/>
2007-05-07 20:59:05 +02:00
<grid id="alarm">
2005-11-09 00:15:14 +01:00
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description value="Time"/>
<description value="before the event"/>
<description value="All participants"/>
<description value="Owner"/>
<description value="Action"/>
</row>
<row class="row">
<date-time id="${row}[time]" readonly="true"/>
<description id="${row}[offset]" no_lang="1"/>
<checkbox align="center" id="${row}[all]" readonly="true"/>
<menulist>
<menupopup type="select-account" id="${row}[owner]" readonly="true"/>
</menulist>
<button image="delete" label="Delete" align="center" id="delete_alarm[$row_cont[id]]" statustext="Delete this alarm" onclick="return confirm('Delete this alarm');"/>
</row>
</rows>
</grid>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
</template>
2010-04-16 12:19:48 +02:00
<template id="calendar.edit.history" template="" lang="" group="0" version="1.7.002">
<grid width="100%" height="250" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row>
<historylog id="history" options="history_status"/>
</row>
</rows>
</grid>
</template>
2010-05-20 11:19:15 +02:00
<template id="calendar.delete_series" template="" lang="" group="0" version="1.7.003">
<vbox rows="1" cols="1" id="#delete_series">
<hbox id="#dialog-header" class="promptheader">
<description value="This event is part of a series"/>
</hbox>
<vbox class="prompt" id="dialog-content">
<description value="Do you want to keep the series exceptions in your calendar?"/>
<hbox align="center">
<button label="Keep exceptions" statustext="All exceptions are converted into single events." id="button[delete_keep_exceptions]"/>
<button label="Delete exceptions" statustext="The exceptions are deleted together with the series." id="button[delete_exceptions]"/>
<buttononly label="Cancel" onclick="document.getElementById('delete_series').style.display = 'none';"/>
</hbox>
</vbox>
</vbox>
</template>
<template id="calendar.edit" template="" lang="" group="0" version="1.7.003">
2005-06-11 22:23:06 +02:00
<grid width="100%">
<columns>
<column width="100"/>
2005-11-09 00:15:14 +01:00
<column width="300"/>
2005-06-11 22:23:06 +02:00
<column/>
2009-07-23 18:14:22 +02:00
<column/>
2005-06-11 22:23:06 +02:00
</columns>
<rows>
<row disabled="!@msg">
2010-05-20 11:19:15 +02:00
<html span="all" class="redItalic" no_lang="1" align="center" id="msg"/>
2005-06-11 22:23:06 +02:00
<description/>
<description/>
2009-07-23 18:14:22 +02:00
<description/>
2005-06-11 22:23:06 +02:00
</row>
2005-11-12 18:57:18 +01:00
<row class="th" height="28">
2005-06-11 22:23:06 +02:00
<description value="Title"/>
2010-05-20 11:19:15 +02:00
<textbox size="80" maxlength="255" span="all" needed="1" id="title"/>
2005-06-11 22:23:06 +02:00
</row>
<row>
2010-05-20 11:19:15 +02:00
<tabbox span="all" id="calendar.edit.general|calendar.edit.description|calendar.edit.participants|calendar.edit.recurrence|calendar.edit.custom|calendar.edit.links|calendar.edit.alarms|calendar.edit.history">
2005-06-11 22:23:06 +02:00
<tabs>
<tab label="General" statustext="Location, Start- and Endtimes, ..."/>
<tab label="Description" statustext="Full description"/>
<tab label="Participants" statustext="Participants, Resources, ..."/>
<tab label="Recurrence" statustext="Repeating Event Information"/>
<tab label="Custom" statustext="Custom fields"/>
2005-11-09 00:15:14 +01:00
<tab label="Links" statustext="Links, Attachments"/>
<tab label="Alarms" statustext="Alarm management"/>
2010-04-16 12:19:48 +02:00
<tab label="History" statustext="Change history"/>
2005-06-11 22:23:06 +02:00
</tabs>
<tabpanels>
<template id="calendar.edit.general"/>
<template id="calendar.edit.description"/>
<template id="calendar.edit.participants"/>
<template id="calendar.edit.recurrence"/>
<template id="calendar.edit.custom"/>
2005-11-09 00:15:14 +01:00
<template id="calendar.edit.links"/>
<template id="calendar.edit.alarms"/>
2010-04-16 12:19:48 +02:00
<template id="calendar.edit.history"/>
2005-06-11 22:23:06 +02:00
</tabpanels>
</tabbox>
</row>
2006-12-22 20:54:31 +01:00
<row disabled="!@owner">
2005-06-11 22:23:06 +02:00
<description value="Owner"/>
<menulist>
2010-05-20 11:19:15 +02:00
<menupopup type="select-account" readonly="true" id="owner"/>
2005-06-11 22:23:06 +02:00
</menulist>
2010-05-20 11:19:15 +02:00
<date-time label="Updated" readonly="true" no_lang="1" align="right" id="modified" class="noBreak"/>
<menulist>
<menupopup type="select-account" class="noBreak" label="by" readonly="true" align="right" id="modifier"/>
2009-07-23 18:14:22 +02:00
</menulist>
2005-06-11 22:23:06 +02:00
</row>
<row>
2009-07-23 18:14:22 +02:00
<hbox span="3">
2005-11-09 00:15:14 +01:00
<button label="Save" id="button[save]" statustext="saves the changes made"/>
2010-05-20 11:19:15 +02:00
<button label="Apply" id="button[apply]" statustext="apply the changes"/>
<button label="Cancel" onclick="window.close();" id="button[cancel]" statustext="Close the window"/>
2006-12-22 20:54:31 +01:00
<menulist>
2010-05-20 11:19:15 +02:00
<menupopup onchange="this.form.submit(); this.value='';" id="action" options="Actions..." statustext="Execute a further action for this entry"/>
2006-12-22 20:54:31 +01:00
</menulist>
2005-11-09 00:15:14 +01:00
</hbox>
2010-05-20 11:19:15 +02:00
<button label="Delete" onclick="if ($cont[recur_type]) { getElementById('delete_series').style.display='block'; return false; } else return confirm('Delete this event');" align="right" id="button[delete]" statustext="Delete this event"/>
</row>
<row disabled="!@recur_type">
<template span="all" id="calendar.delete_series"/>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
2006-06-03 01:36:43 +02:00
<styles>
2009-11-25 21:16:41 +01:00
.end_hide { display: block; white-space: nowrap; margin-left: 10px; }
2009-07-23 18:14:22 +02:00
.noBreak { white-space: nowrap; }
2006-06-03 01:36:43 +02:00
</styles>
2005-06-11 22:23:06 +02:00
</template>
</overlay>