2015-02-17 10:55:05 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2023-01-04 18:28:10 +01:00
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
2014-10-22 21:55:27 +02:00
<overlay>
2019-04-09 22:48:44 +02:00
<template id="admin.customfield_edit.settings" template="" lang="" group="0" version="1.9.001">
2015-02-09 13:54:15 +01:00
<grid width="100%">
2014-10-22 21:55:27 +02:00
<columns>
2014-12-10 15:34:48 +01:00
<column width="100"/>
2014-10-30 15:13:45 +01:00
<column width="350"/>
2014-11-24 22:58:07 +01:00
<column width="45"/>
2014-12-10 15:34:48 +01:00
<column width="50"/>
2014-10-22 21:55:27 +02:00
</columns>
<rows>
<row disabled="@no_types">
2023-01-04 18:28:10 +01:00
<et2-description value="Type"></et2-description>
<et2-select span="3" id="cf_type2" rows="5" multiple="1" noLang="1"></et2-select>
<et2-description></et2-description>
2014-10-22 21:55:27 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Label"></et2-description>
<et2-textbox statustext="the text displayed to the user" id="cf_label" maxlength="255" span="3"></et2-textbox>
2014-10-22 21:55:27 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Type of field"></et2-description>
2015-02-18 19:23:35 +01:00
<customfields-types statustext="Type of customfield" id="cf_type" class="et2_fullWidth" span="2" onchange="app.admin.cf_type_change"/>
2023-01-04 18:28:10 +01:00
<et2-hbox span="2">
<et2-description value="Required"></et2-description>
<et2-checkbox id="cf_needed"></et2-checkbox>
</et2-hbox>
2014-10-22 21:55:27 +02:00
</row>
<row disabled="!@use_private">
2023-01-04 18:28:10 +01:00
<et2-description value="Private"></et2-description>
<et2-select-account statustext="Select accounts for which the custom field should be visible" id="cf_private" rows="3" span="3" multiple="1" placeholder="Add user or group" accountType="both"></et2-select-account>
2014-10-22 21:55:27 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description statustext="each value is a line like id[=label], or use @path to read options from a file in EGroupware directory" value="Options"></et2-description>
<et2-textarea statustext="@statustext" id="cf_values" rows="5" cols="30" span="3" width="99%"></et2-textarea>
2014-10-22 21:55:27 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Attributes"></et2-description>
<et2-box span="3" class="attributes">
<et2-description value="Length"></et2-description>
<et2-number statustext="displayed length of input field (set rows=1 to limit length)" id="cf_len" precision="0"></et2-number>
<et2-description value="Rows"></et2-description>
<et2-number statustext="number of row for a multiline inputfield or line of a multi-select-box" id="cf_rows" min="0" precision="0" placeholder="1"></et2-number>
<et2-description value="Order"></et2-description>
<et2-number statustext="determines the order the fields are displayed" id="cf_order" min="1" precision="0"></et2-number>
</et2-box>
2019-04-09 22:48:44 +02:00
2023-01-04 18:28:10 +01:00
<et2-description></et2-description>
2014-10-22 21:55:27 +02:00
</row>
2019-04-09 22:48:44 +02:00
</rows>
</grid>
</template>
<template id="admin.customfield_edit" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="100"/>
<column width="350"/>
<column width="45"/>
<column width="50"/>
</columns>
<rows>
<row class="dialogHeader" height="28">
2023-01-04 18:28:10 +01:00
<et2-description statustext="the name used internaly (&lt;= 20 chars), changeing it makes existing data unavailible" value="Name"></et2-description>
<et2-textbox statustext="the name used internaly (<= 20 chars), changeing it makes existing data unavailible" id="cf_name" maxlength="32" span="2" required="true"></et2-textbox>
<et2-appicon></et2-appicon>
2019-04-09 22:48:44 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-tabbox id="tabs" class="et2_nowrap" span="all" width="100%" tabHeight="400px">
2019-04-09 22:48:44 +02:00
<tabs>
<tab id="settings" label="Settings" statustext="Settings"/>
</tabs>
<tabpanels>
<template id="admin.customfield_edit.settings"/>
</tabpanels>
2023-01-04 18:28:10 +01:00
</et2-tabbox>
2019-04-09 22:48:44 +02:00
</row>
2014-10-22 21:55:27 +02:00
<row class="dialogFooterToolbar">
2023-01-04 18:28:10 +01:00
<et2-hbox span="2">
<et2-button statustext="Saves this entry" label="Save" id="button[save]" image="save"></et2-button>
<et2-button statustext="Apply the changes" label="Apply" id="button[apply]" image="apply"></et2-button>
<et2-button statustext="leave without saveing the entry" label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel"></et2-button>
</et2-hbox>
<et2-button align="right" statustext="delete this entry" label="Delete" id="button[delete]" image="delete" onclick="et2_dialog.confirm(widget,'Delete this entry?','Delete')" span="all"></et2-button>
2014-10-22 21:55:27 +02:00
</row>
</rows>
</grid>
</template>
2023-01-04 18:28:10 +01:00
</overlay>