This commit is contained in:
Ralf Becker 2006-12-22 19:54:31 +00:00
parent d5b6efc7f1
commit 03efd1f291

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="calendar.edit.general" template="" lang="" group="0" version="1.3.001"> <template id="calendar.edit.general" template="" lang="" group="0" version="1.3.002">
<grid width="100%" height="200"> <grid width="100%" height="200">
<columns> <columns>
<column width="95"/> <column width="95"/>
@ -16,9 +16,9 @@
</row> </row>
<row class="row"> <row class="row">
<description options=",,,duration" value="Duration"/> <description options=",,,duration" value="Duration"/>
<hbox orient=",0,0"> <hbox options="0,0">
<menulist> <menulist>
<menupopup id="duration" options="Use end date" no_lang="1" statustext="Duration of the meeting" onchange="set_style_by_class('table','end_hide','visibility',this.value == '' ? 'visible' : 'hidden');"/> <menupopup id="duration" options="Use end date" no_lang="1" statustext="Duration of the meeting" onchange="set_style_by_class('table','end_hide','visibility',this.value == '' ? 'visible' : 'hidden'); if (this.value == '') document.getElementById(form::name('end[str]')).value = document.getElementById(form::name('start[str]')).value;"/>
</menulist> </menulist>
<date-time id="end" class="end_hide"/> <date-time id="end" class="end_hide"/>
</hbox> </hbox>
@ -34,7 +34,7 @@
</row> </row>
<row class="row"> <row class="row">
<description options=",,,priority" value="Priority"/> <description options=",,,priority" value="Priority"/>
<hbox span="all" orient=",0,0"> <hbox options="0,0" span="all">
<menulist> <menulist>
<menupopup type="select-priority" id="priority"/> <menupopup type="select-priority" id="priority"/>
</menulist> </menulist>
@ -62,59 +62,48 @@
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="calendar.edit.participants" template="" lang="" group="0" version="1.0.1.003"> <template id="calendar.edit.participants" template="" lang="" group="0" version="1.3.001">
<grid width="100%" height="200" class="row_on" overflow="auto"> <grid width="100%" height="200" overflow="auto">
<columns> <columns>
<column width="95"/> <column width="95"/>
<column/> <column/>
<column/> <column/>
<column/> <column/>
<column/>
</columns> </columns>
<rows> <rows>
<row class="row" valign="top" disabled="@view"> <row class="th">
<description options=",,,participants" value="Participants"/> <description value="Type"/>
<listbox type="select-account" rows="14" options="calendar+" id="participants[accounts]"/>
<description value="Resources" align="right"/>
<resources_select options="14" id="participants[resources]"/>
</row>
<row valign="top" disabled="!@view">
<description value="Participants"/> <description value="Participants"/>
<grid> <description value="Quantity"/>
<columns> <description value="Status"/>
<column/> <description value="Delete"/>
<column/> </row>
</columns> <row class="row" disabled="@no_add">
<rows> <description value="New"/>
<row> <vbox options="0,0">
<menulist> <menulist>
<menupopup type="select-account" id="${row}" readonly="true"/> <menupopup type="select-account" options="User or group,both" id="account"/>
</menulist> </menulist>
<menulist> <link-entry id="resource" options="@cal_resources"/>
<menupopup id="accounts_status[$row_cont]" onchange="1" statustext="Accept or reject an invitation" no_lang="1"/> </vbox>
</menulist> <int options="1,,3" id="quantity"/>
</row> <button label="Add" id="add"/>
</rows> <description/>
</grid> </row>
<description value="Resources" align="right"/> <row valign="top">
<grid> <description id="${row}[app]"/>
<columns> <description rows="1" cols="2" id="${row}[title]" no_lang="1"/>
<column/> <int id="${row}[quantity]" options="1,,3"/>
<column/> <menulist>
</columns> <menupopup id="${row}[status]" no_lang="1"/>
<rows> </menulist>
<row disabled="!@resources_status"> <checkbox rows="1" cols="2" id="delete[$row_cont[uid]]" align="center"/>
<resources_select id="${row}" readonly="true" no_lang="1"/>
<menulist>
<menupopup id="resources_status[$row_cont]" onchange="1" statustext="Accept or reject an invitation" no_lang="1"/>
</menulist>
</row>
</rows>
</grid>
</row> </row>
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="calendar.edit.recurrence" template="" lang="" group="0" version="1.0.1.002"> <template id="calendar.edit.recurrence" template="" lang="" group="0" version="1.3.001">
<grid width="100%" height="200"> <grid width="100%" height="200">
<columns> <columns>
<column width="95"/> <column width="95"/>
@ -143,7 +132,10 @@
<row class="row" valign="top"> <row class="row" valign="top">
<description options=",,,recur_data" value="Repeat days"/> <description options=",,,recur_data" value="Repeat days"/>
<listbox type="select-dow" rows="6" options="1" id="recur_data" statustext="Days of the week for a weekly repeated event"/> <listbox type="select-dow" rows="6" options="1" id="recur_data" statustext="Days of the week for a weekly repeated event"/>
<description value="Exceptions"/> <vbox options="0,0">
<description value="Exceptions"/>
<button id="button[exception]" label="@exception_label" statustext="Create an exception for the given date" no_lang="1"/>
</vbox>
<grid> <grid>
<columns> <columns>
<column/> <column/>
@ -255,7 +247,7 @@
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="calendar.edit" template="" lang="" group="0" version="1.3.001"> <template id="calendar.edit" template="" lang="" group="0" version="1.3.002">
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width="100"/> <column width="100"/>
@ -294,7 +286,7 @@
</tabpanels> </tabpanels>
</tabbox> </tabbox>
</row> </row>
<row class="row" disabled="!@owner"> <row disabled="!@owner">
<description value="Owner"/> <description value="Owner"/>
<menulist> <menulist>
<menupopup type="select-account" id="owner" readonly="true"/> <menupopup type="select-account" id="owner" readonly="true"/>
@ -308,14 +300,12 @@
</row> </row>
<row> <row>
<hbox span="2"> <hbox span="2">
<button id="button[edit]" label="Edit" statustext="Edit this event"/>
<button id="button[exception]" label="Exception" statustext="Create an exception at this recuring event"/>
<button id="button[copy]" label="Copy" statustext="Copy this event"/>
<button id="button[vcal]" label="Export" statustext="Download this event as iCal"/>
<button label="Save" id="button[save]" statustext="saves the changes made"/> <button label="Save" id="button[save]" statustext="saves the changes made"/>
<button id="button[apply]" label="Apply" statustext="apply the changes"/> <button id="button[apply]" label="Apply" statustext="apply the changes"/>
<button id="button[cancel]" label="Cancel" onclick="window.close();" statustext="Close the window"/> <button id="button[cancel]" label="Cancel" onclick="window.close();" statustext="Close the window"/>
<checkbox id="custom_mail" label="mail all participants" statustext="compose a mail to all participants after the event is saved"/> <menulist>
<menupopup id="action" statustext="Execute a further action for this entry" options="Actions..." onchange="this.form.submit(); this.value='';"/>
</menulist>
</hbox> </hbox>
<button label="Delete" id="button[delete]" statustext="Delete this event" onclick="return confirm('Delete this event');" align="right"/> <button label="Delete" id="button[delete]" statustext="Delete this event" onclick="return confirm('Delete this event');" align="right"/>
</row> </row>