2015-02-17 10:55:05 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
2005-11-01 19:59:15 +01:00
<!-- $Id$ -->
<overlay>
2006-10-05 08:36:09 +02:00
<template id="admin.customfields.types" template="" lang="" group="0" version="1.2">
<grid>
<columns>
<column/>
<column/>
<column/>
<column disabled="@non_deletable"/>
2011-05-18 12:25:39 +02:00
<column disabled="@no_add"/>
<column disabled="@no_add"/>
2006-10-05 08:36:09 +02:00
</columns>
<rows>
2014-10-22 21:55:27 +02:00
<row>
<description id="appname"/>
2006-10-05 08:36:09 +02:00
<description value="- type"/>
<menulist>
2011-05-18 12:25:39 +02:00
<menupopup id="types" no_lang="1" onchange="1"/>
2006-10-05 08:36:09 +02:00
</menulist>
2015-12-04 22:23:32 +01:00
<button label="Delete" id="delete" onclick="et2_dialog.confirm(widget,'Entries with a deleted type can cause problems.\nCheck for entries with this type before deleting.\nDelete?','Delete');"/>
2011-05-18 12:25:39 +02:00
<textbox blur="new name" id="name"/>
2006-10-05 08:36:09 +02:00
<button label="Create" id="create"/>
</row>
</rows>
</grid>
</template>
2011-05-18 12:25:39 +02:00
<template id="admin.customfields.fields" template="" lang="" group="0" version="1.9.001">
2014-10-22 21:55:27 +02:00
<grid readonly="true">
2005-11-01 19:59:15 +01:00
<columns>
2014-10-22 21:55:27 +02:00
<column disabled="!@type2" width="50px"/>
<column width="30%"/>
<column width="30%"/>
<column width="100px"/>
<column width="50px"/>
<column width="100px" disabled="!@use_private"/>
<column width="60%"/>
<column width="50px"/>
<column width="50px"/>
<column width="120px"/>
2005-11-01 19:59:15 +01:00
</columns>
<rows>
<row class="th">
2014-10-22 21:55:27 +02:00
<nextmatch-header label="Type" id="cf_type2"/>
<nextmatch-sortheader label="Name" id="cf_name"/>
<nextmatch-sortheader label="Label" id="cf_label"/>
<nextmatch-header label="Type of field" id="cf_type"/>
<nextmatch-header label="Required" id="cf_needed"/>
<nextmatch-header label="Private" id="cf_private"/>
<nextmatch-header label="Options"/>
2013-07-10 20:36:38 +02:00
<vbox>
2014-10-22 21:55:27 +02:00
<nextmatch-header label="Length"/>
<nextmatch-header label="Rows"/>
2013-07-10 20:36:38 +02:00
</vbox>
2014-10-22 21:55:27 +02:00
<nextmatch-sortheader label="Order" id="cf_order"/>
<nextmatch-sortheader label="Last modified" id="cf_modified"/>
2005-11-01 19:59:15 +01:00
</row>
<row class="row" valign="top">
2014-10-22 21:55:27 +02:00
<menulist>
<menupopup id="${row}[cf_type2]" no_lang="1" multiple="true" empty_label="All"/>
</menulist>
2015-03-31 21:48:46 +02:00
<description id="${row}[cf_name]" no_lang="1" />
2005-11-01 19:59:15 +01:00
<vbox>
2014-10-22 21:55:27 +02:00
<description id="${row}[cf_label]" no_lang="1"/>
<description id="${row}[cf_label]"/>
2005-11-01 19:59:15 +01:00
</vbox>
2014-10-22 21:55:27 +02:00
<customfields-types statustext="Type of customfield" id="{$row}[cf_type]"/>
<checkbox id="${row}[cf_needed]" selected_value="1" unselected_value="0"/>
<select-account id="${row}[cf_private]" account_type="both"/>
2014-11-24 18:06:06 +01:00
<description id="${row}[cf_values]" no_lang="1" class="values"/>
2014-08-26 11:30:38 +02:00
<vbox>
2014-10-22 21:55:27 +02:00
<description id="${row}[cf_len]" no_lang="1"/>
<description id="${row}[cf_rows]" no_lang="1"/>
2011-05-18 12:25:39 +02:00
</vbox>
2014-10-22 21:55:27 +02:00
<description id="${row}[cf_order]" no_lang="1"/>
2005-11-01 19:59:15 +01:00
<vbox>
2014-10-22 21:55:27 +02:00
<date-time id="${row}[cf_modified]"/>
<select-account id="${row}[cf_modifier]"/>
2005-11-01 19:59:15 +01:00
</vbox>
</row>
</rows>
</grid>
</template>
2016-03-09 11:14:48 +01:00
<template id="admin.customfields.add" template="" lang="" group="0" version="1.9.001">
2016-08-12 11:35:30 +02:00
<buttononly label="Add" id="add" onclick="egw.open_link('admin.admin_customfields.edit&appname='+widget.getArrayMgr('content').getRoot().getEntry('nm[appname]')+'&use_private='+widget.getArrayMgr('content').getRoot().getEntry('use_private'),false,'450x380');"/>
2016-03-09 11:14:48 +01:00
</template>
2011-05-18 12:25:39 +02:00
<template id="admin.customfields" template="" lang="" group="0" version="1.9.001">
2016-03-09 11:14:48 +01:00
<template id="@type_template"/>
<nextmatch id="nm" template="admin.customfields.fields" header_left="admin.customfields.add"/>
2005-11-01 19:59:15 +01:00
</template>
2015-02-17 10:55:05 +01:00
</overlay>