2018-12-13 22:35:26 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
|
|
|
|
<!-- $Id$ -->
|
|
|
|
<overlay>
|
|
|
|
<template id="calendar.add" template="" lang="" group="0" version="19.1.000">
|
|
|
|
<grid width="100%">
|
|
|
|
<columns>
|
|
|
|
<column width="88"/>
|
|
|
|
<column width="130"/>
|
|
|
|
<column width="88"/>
|
|
|
|
<column width="130"/>
|
|
|
|
<column width="130"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row class="dialogHeader" height="28">
|
|
|
|
<appicon/>
|
2022-09-23 09:26:39 +02:00
|
|
|
<textbox id="title" maxlength="255" tabindex="1" class="et2_required" span="4" blur="Title"/>
|
2018-12-13 22:35:26 +01:00
|
|
|
</row>
|
|
|
|
<row class="dialogHeader2" height="28">
|
2022-03-24 18:24:00 +01:00
|
|
|
<description for="start" value="Start" width="88"/>
|
|
|
|
<date-time id="start" needed="1" class="required" onchange="app.calendar.edit_start_change"/>
|
|
|
|
<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"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<hbox slot="buttons">
|
|
|
|
<button statustext="saves the changes made" label="Save" id="button[save]" image="save" background_image="1"
|
|
|
|
onclick="return app.calendar.add_dialog_save(ev, widget); "/>
|
|
|
|
<button statustext="Full edit dialog" label="Edit" id="button[edit]" image="edit" background_image="1"
|
|
|
|
onclick="return app.calendar.add_dialog_edit(ev, widget);"/>
|
|
|
|
<button statustext="Close the window" label="Cancel" id="button[cancel]"
|
2022-03-18 20:58:13 +01:00
|
|
|
onclick="document.querySelector('et2-dialog#quick_add').close()" image="cancel"
|
|
|
|
background_image="1"/>
|
2022-03-24 18:24:00 +01:00
|
|
|
<checkbox label="Always use full edit dialog" id="new_event_dialog"
|
|
|
|
statustext="Always use the full edit dialog, not this little dialog"
|
|
|
|
onchange="egw.set_preference('calendar',widget.id,widget.get_value() ? 'edit' : 'add');"/>
|
|
|
|
</hbox>
|
|
|
|
</template>
|
2022-09-23 09:26:39 +02:00
|
|
|
</overlay>
|