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"/>
2024-09-06 09:58:03 +02:00
<column width="250"/>
<column/>
<column/>
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>
2024-09-16 15:10:12 +02:00
<et2-select span="3" id="cf_type2" rows="5" multiple="true" placeholder="All" noLang="1"></et2-select>
2014-10-22 21:55:27 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Label"></et2-description>
2024-03-26 11:40:51 +01:00
<et2-textbox statustext="the text displayed to the user" id="cf_label" maxlength="128" 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"/>
2024-09-06 09:58:03 +02:00
<et2-checkbox id="cf_needed" label="Required" style="padding-left: .5em"></et2-checkbox>
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>
2024-03-26 11:40:51 +01:00
<!-- disabled until implemented row disabled="!@use_readonly">
2024-03-20 14:05:40 +01:00
<et2-description value="Readonly"></et2-description>
<et2-select-account statustext="Select accounts for which the custom field should be readonly" id="cf_readonly" rows="3" span="3" multiple="1" placeholder="Add user or group" accountType="both"></et2-select-account>
2024-03-26 11:40:51 +01:00
</row-->
2014-10-22 21:55:27 +02:00
<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>
2024-09-16 15:10:12 +02:00
<et2-textarea statustext="@statustext" id="cf_values" rows="5" span="3" width="99%"></et2-textarea>
2014-10-22 21:55:27 +02:00
</row>
<row>
2024-03-20 14:05:40 +01:00
<et2-description value="Length"></et2-description>
2024-09-06 09:58:03 +02:00
<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>
2024-03-20 14:05:40 +01:00
</row>
<row>
<et2-description value="Order"></et2-description>
2024-09-06 09:58:03 +02:00
<et2-number statustext="determines the order the fields are displayed" id="cf_order" min="1" precision="0"></et2-number>
<et2-description value="Tab"></et2-description>
<et2-textbox id="cf_tab" maxlength="64" placeholder="custom fields tab" statustext="Name of tab to create and show field in" style="min-width: 15em"></et2-textbox>
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">
2024-03-26 11:40:51 +01:00
<et2-description value="Name"></et2-description>
<et2-textbox statustext="internal name max. 64 chars" id="cf_name" maxlength="64" span="2" required="true"></et2-textbox>
2023-01-04 18:28:10 +01:00
<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>
2024-12-09 22:56:34 +01:00
<et2-button align="right" statustext="delete this entry" label="Delete" id="button[delete]" image="delete" onclick="Et2Dialog.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>