egroupware/calendar/templates/default/edit.xet

287 lines
12 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
2005-06-11 22:23:06 +02:00
<!-- $Id$ -->
<overlay>
<template id="calendar.edit.description" template="" lang="" group="0" version="1.0.1.001">
<textbox multiline="true" id="description" rows="12" cols="70" width="99%" height="150" resize_ratio="0.7"/>
<hbox disabled="@no_add_alarm" height="35">
<button label="Add new alarm" id="button[add_alarm]" image="add" background_image="1"/>
<menulist>
<menupopup type="select" statustext="" id="new_alarm[options]" onchange="app.calendar.alarm_custom_date"/>
</menulist>
<date-time id="new_alarm[date]" class="calendar_alarm_date_display"/>
<menulist>
<menupopup statustext="Select who should get the alarm" label="for" id="new_alarm[owner]" no_lang="1"/>
</menulist>
</hbox>
<grid id="alarm" width="100%" resize_ratio="0.3">
2005-06-11 22:23:06 +02:00
<columns>
<column/>
2005-06-11 22:23:06 +02:00
<column/>
<column/>
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>
<row class="th thb">
<description value="Time"/>
<description value="before the event"/>
<description value="All participants"/>
<description value="Owner"/>
<description value="Action"/>
2014-02-06 18:36:03 +01:00
</row>
<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 align="center" statustext="Delete this alarm" label="Delete" id="delete_alarm[$row_cont[id]]" onclick="et2_dialog.confirm(widget,'Delete this alarm','Delete')" image="delete"/>
2006-12-22 20:54:31 +01:00
</row>
</rows>
</grid>
</template>
<template id="calendar.edit.participants" template="" lang="" group="0" version="1.9.001">
<grid width="99%" id="participants">
<columns>
<column width="85"/>
<column width="350"/>
<column width="88"/>
<column width="70"/>
<column width="100"/>
<column/>
</columns>
<rows>
<row class="th"></row>
<row disabled="@no_add" height="60" class="et2_toolbar">
<calendar-owner id="participant" allowFreeEntries="true" span="4" empty_label="Add new participants or resource" onchange="app.calendar.participantOnChange"/>
<hbox>
<textbox type="integer" id="quantity" min="1" size="3"/>
<menulist>
<menupopup class="selectRole" id="role" align="left"/>
</menulist>
<button id="add" image="add" novalidate="1" statustext="Please first select participants on the left and then use plus button to add them" background_image="1" readonly="true" ro_image="add"/>
</hbox>
</row>
<row class="th thb">
<description value="Type"/>
<description value="Participants"/>
<description align="center" value="Quantity"/>
<description value="Role"/>
<description value="Status"/>
<description value="Actions"/>
</row>
2006-12-22 20:54:31 +01:00
<row valign="top">
<description id="${row}[app]"/>
<description id="${row}[title]" no_lang="1"/>
<textbox type="integer" align="center" id="${row}[quantity]" readonly="true" min="1" size="3"/>
<description id="${row}[role_label]"/>
2006-12-22 20:54:31 +01:00
<menulist>
<menupopup id="${row}[status]" onchange="1"/>
2006-12-22 20:54:31 +01:00
</menulist>
2014-12-08 21:46:38 +01:00
<button align="center" label="Delete" id="delete[$row_cont[delete_id]]" image="delete"/>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
<styles>
.selectRole select { width: 100%; }
</styles>
2005-06-11 22:23:06 +02:00
</template>
<template id="calendar.edit.recurrence" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
2005-06-11 22:23:06 +02:00
<columns>
<column width="110"/>
<column width="208"/>
2005-06-11 22:23:06 +02:00
<column width="95"/>
<column width="208"/>
2005-06-11 22:23:06 +02:00
<column/>
</columns>
<rows>
<row class="th">
<description value="Repeating Event Information" span="all"/>
</row>
<row disabled="!@reference">
2013-12-16 10:37:11 +01:00
<description value="Exception"/>
<date-time id="recurrence" readonly="true"/>
<description id="reference" />
<description id="uid" />
<label/>
2013-12-16 10:37:11 +01:00
</row>
<row height="12">
<description for="recur_type" value="Repeat type"/>
<menulist class="et2_fullWidth">
2013-10-31 15:51:19 +01:00
<menupopup id="recur_type" onchange="app.calendar.check_recur_type"/>
</menulist>
<description for="recur_interval" value="Interval"/>
<menulist class="et2_fullWidth">
<menupopup type="select-number" statustext="repeating interval, eg. 2 to repeat every second week" id="recur_interval" options="None,2,31"/>
</menulist>
<label/>
</row>
<row height="12">
<description for="recur_enddate" value="End date"/>
<date statustext="repeat the event until which date (empty means unlimited)" id="recur_enddate" class="et2_fullWidth"/>
<description for="tzid" value="Timezone"/>
<menulist class="et2_fullWidth">
<menupopup type="select-timezone" statustext="Timezone in which recurrences have identical time" id="tzid"/>
</menulist>
<label/>
</row>
<row valign="top">
<description for="recur_data" value="Repeat days"/>
<listbox type="select-dow" class="et2_fullWidth" tags="true" statustext="Days of the week for a weekly repeated event" id="recur_data" rows="6" options="1"/>
<vbox>
2006-12-22 20:54:31 +01:00
<description value="Exceptions"/>
2013-10-31 15:51:19 +01:00
<button statustext="Create an exception for the given date" label="@exception_label" id="button[exception]" no_lang="1" />
2006-12-22 20:54:31 +01:00
</vbox>
<grid id="recur_exception">
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<date-time id="$row" readonly="true"/>
<button statustext="Delete this exception" label="Delete" id="delete_exception[$row_cont]" onclick="et2_dialog.confirm(widget,'Delete this exception','Delete')" image="delete"/>
</row>
</rows>
</grid>
<label/>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
</template>
<template id="calendar.edit.custom" template="" lang="" group="0" version="1.4.001">
<grid width="100%" overflow="auto">
2005-06-11 22:23:06 +02:00
<columns>
<column/>
</columns>
<rows>
<row valign="top">
<customfields/>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
</template>
<template id="calendar.edit.links" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%">
2005-06-11 22:23:06 +02:00
<columns>
<column width="95"/>
2005-06-11 22:23:06 +02:00
<column/>
</columns>
<rows>
<row disabled="@view">
<link-to id="link_to" span="all"/>
</row>
<row class="th">
2014-02-06 18:36:03 +01:00
<description value="Existing links" span="all" />
</row>
<row class="row_off" valign="top">
<link-list id="link_to" span="all"/>
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">
<historylog id="history" options="history_status" width="100%" />
2010-04-16 12:19:48 +02:00
</template>
<template id="calendar.edit" template="" lang="" group="0" version="1.9.001">
2005-06-11 22:23:06 +02:00
<grid width="100%">
<columns>
2014-02-06 18:36:03 +01:00
<column width="88"/>
<column width="130"/>
<column width="88"/>
<column width="130"/>
<column width="130"/>
<column/>
2014-03-11 11:45:02 +01:00
<column width="50"/>
<column width="50"/>
2005-06-11 22:23:06 +02:00
</columns>
<rows>
2014-03-11 11:45:02 +01:00
<row class="dialogHeader" height="28">
<description value="Title"/>
<textbox id="title" needed="1" size="75" maxlength="255" tabindex="1" class="et2_fullWidth" span="5"/>
<description font_style="n" id="id"/>
2014-03-11 11:45:02 +01:00
<appicon/>
2014-02-06 18:36:03 +01:00
</row>
2014-03-11 11:45:02 +01:00
<row class="dialogHeader2" height="28">
2014-02-12 09:10:11 +01:00
<description for="start" value="Start" width="88"/>
<date-time id="start" needed="1" class="required" onchange="app.calendar.edit_update_participant"/>
<description for="duration" value="Duration" id="calendar_edit_duration" />
<menulist >
<menupopup statustext="Duration of the meeting" class="et2_fullWidth" id="duration" no_lang="1" onchange="app.calendar.set_enddate_visibility" options="Use end date,,,,,,,false"/>
</menulist>
<date-time id="end" onchange="app.calendar.edit_update_participant"/>
2014-02-06 18:36:03 +01:00
</row>
2014-03-11 11:45:02 +01:00
<row class="dialogHeader2" height="28">
<label value="options"/>
<checkbox statustext="Event will occupy the whole day" label="whole day" id="whole_day" onchange="app.calendar.set_alarmOptions_WD"/>
<checkbox label="Private" id="public" options="0,1"/>
<checkbox statustext="A non blocking event will not conflict with other events" label="non blocking" id="non_blocking" options="1,0, ,disable"/>
<hbox>
<label for="priority" value="Priority"/>
<menulist class="et2_fullWidth">
<menupopup type="select-priority" id="priority"/>
2014-02-06 18:36:03 +01:00
</menulist>
</hbox>
<description/>
</row>
<row class="dialogHeader3" height="28">
<label for="location" value="Location"/>
<textbox id="location" maxlength="255" class="et2_fullWidth" span="2"/>
<description/>
<taglist-cat id="category" height="190" empty_label="Categories" multiple="toggle" class="et2_fullWidth" rows="1" />
2005-06-11 22:23:06 +02:00
</row>
<row>
<tabbox id="tabs" span="all" tab_height="260">
2005-06-11 22:23:06 +02:00
<tabs>
<tab id="description" label="Description" statustext="Full description"/>
<tab id="participants" label="Participants" statustext="Participants, Resources, ..."/>
<tab id="recurrence" label="Recurrence" statustext="Repeating Event Information"/>
<tab id="custom" label="Custom" statustext="Custom fields"/>
<tab id="links" label="Links" statustext="Links, Attachments"/>
<tab id="history" label="History" statustext="Change history"/>
2005-06-11 22:23:06 +02:00
</tabs>
<tabpanels>
<template id="calendar.edit.description"/>
<template id="calendar.edit.participants"/>
2005-06-11 22:23:06 +02:00
<template id="calendar.edit.recurrence"/>
<template id="calendar.edit.custom"/>
<template id="calendar.edit.links"/>
2010-04-16 12:19:48 +02:00
<template id="calendar.edit.history"/>
2005-06-11 22:23:06 +02:00
</tabpanels>
</tabbox>
</row>
<row disabled="!@id" class="dialogOperators">
<hbox span="2">
<date-time label="created" id="created" no_lang="1" readonly="true"/>
2005-06-11 22:23:06 +02:00
<menulist>
<menupopup label = "by" type="select-account" id="owner" readonly="true"/>
2005-06-11 22:23:06 +02:00
</menulist>
</hbox>
<hbox align="right">
<date-time label="Updated" id="modified" no_lang="1" readonly="true"/>
<menulist>
<menupopup type="select-account" label="by" class="et2_nowrap" id="modifier" align="right" readonly="true"/>
</menulist>
</hbox>
2005-06-11 22:23:06 +02:00
</row>
</rows>
</grid>
2014-03-11 11:45:02 +01:00
<hbox class="dialogFooterToolbar">
<button statustext="saves the changes made" label="Save" id="button[save]" image="save" background_image="1" onclick="app.calendar.move_edit_series"/>
<button statustext="apply the changes" label="Apply" id="button[apply]" image="apply" background_image="1" onclick="app.calendar.move_edit_series"/>
<button statustext="Close the window" label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
<menulist>
<menupopup statustext="Execute a further action for this entry" id="action" onchange="app.calendar.actions_change" options="Actions..."/>
</menulist>
<checkbox label="Do not notify" id="no_notifications"/>
<buttononly statustext="Find free timeslots where the selected participants are availible for the given timespan" label="Freetime search" id="freetime" onclick="app.calendar.freetime_search" image="timesheet" background_image="1" span="all"/>
<button align="right" statustext="Delete this event" label="Delete" id="button[delete]" onclick="app.calendar.delete_btn(widget,$cont[query_delete_exceptions]);" image="delete" background_image="1"/>
2015-11-16 17:45:02 +01:00
<textbox type="hidden" id="delete_exceptions"/>
</hbox>
2005-06-11 22:23:06 +02:00
</template>
</overlay>