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">
|
2005-11-01 19:59:15 +01:00
|
|
|
<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>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-hbox>
|
|
|
|
<et2-description id="appname"></et2-description>
|
|
|
|
<et2-description value="-"></et2-description>
|
|
|
|
<et2-description value="type"></et2-description>
|
|
|
|
</et2-hbox>
|
|
|
|
<et2-select id="types" onchange="1" noLang="1"></et2-select>
|
|
|
|
<et2-button label="Delete" id="delete" onclick="app.admin.cf_type_delete"></et2-button>
|
|
|
|
<et2-textbox id="name" placeholder="new name"></et2-textbox>
|
|
|
|
<et2-button label="Create" id="create"></et2-button>
|
2006-10-05 08:36:09 +02:00
|
|
|
</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"/>
|
2024-03-20 14:05:40 +01:00
|
|
|
<column width="100px" disabled="!@use_readonly"/>
|
2014-10-22 21:55:27 +02:00
|
|
|
<column width="60%"/>
|
|
|
|
<column width="50px"/>
|
|
|
|
<column width="50px"/>
|
|
|
|
<column width="120px"/>
|
2024-03-20 14:05:40 +01:00
|
|
|
<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"/>
|
2024-03-20 14:05:40 +01:00
|
|
|
<nextmatch-header label="Readonly" id="cf_readonly"/>
|
2014-10-22 21:55:27 +02:00
|
|
|
<nextmatch-header label="Options"/>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-vbox>
|
2014-10-22 21:55:27 +02:00
|
|
|
<nextmatch-header label="Length"/>
|
|
|
|
<nextmatch-header label="Rows"/>
|
2023-01-04 18:28:10 +01:00
|
|
|
</et2-vbox>
|
2014-10-22 21:55:27 +02:00
|
|
|
<nextmatch-sortheader label="Order" id="cf_order"/>
|
2024-03-20 14:05:40 +01:00
|
|
|
<nextmatch-sortheader label="Tab" id="cf_tab"/>
|
2014-10-22 21:55:27 +02:00
|
|
|
<nextmatch-sortheader label="Last modified" id="cf_modified"/>
|
2005-11-01 19:59:15 +01:00
|
|
|
</row>
|
|
|
|
<row class="row" valign="top">
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-select id="${row}[cf_type2]" multiple="true" readonly="true" placeholder="All" noLang="1"></et2-select>
|
|
|
|
<et2-description id="${row}[cf_name]" noLang="1"></et2-description>
|
|
|
|
<et2-vbox>
|
|
|
|
<et2-description id="${row}[cf_label]" noLang="1"></et2-description>
|
|
|
|
<et2-description id="${row}[cf_label]"></et2-description>
|
|
|
|
</et2-vbox>
|
2022-11-16 22:10:34 +01:00
|
|
|
<customfields-types statustext="Type of customfield" id="{$row}[cf_type]" readonly="true"
|
|
|
|
app="$cont[appname]"/>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-checkbox id="${row}[cf_needed]" readonly="true" selectedValue="1" unselectedValue="0"></et2-checkbox>
|
2024-03-20 14:05:40 +01:00
|
|
|
<et2-select-account id="${row}[cf_private]" readonly="true" accountType="both"></et2-select-account>
|
|
|
|
<et2-select-account id="${row}[cf_readonly]" readonly="true" accountType="both"></et2-select-account>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-description id="${row}[cf_values]" class="values" noLang="1"></et2-description>
|
|
|
|
<et2-vbox>
|
|
|
|
<et2-description id="${row}[cf_len]" noLang="1"></et2-description>
|
|
|
|
<et2-description id="${row}[cf_rows]" noLang="1"></et2-description>
|
|
|
|
</et2-vbox>
|
|
|
|
<et2-description id="${row}[cf_order]" noLang="1"></et2-description>
|
2024-03-20 14:05:40 +01:00
|
|
|
<et2-description id="${row}[cf_tab]" noLang="1"></et2-description>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-vbox>
|
|
|
|
<et2-date-time id="${row}[cf_modified]" readonly="true"></et2-date-time>
|
|
|
|
<et2-select-account id="${row}[cf_modifier]" readonly="true"></et2-select-account>
|
|
|
|
</et2-vbox>
|
2022-11-16 22:10:34 +01:00
|
|
|
</row>
|
2005-11-01 19:59:15 +01:00
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
2016-03-09 11:14:48 +01:00
|
|
|
<template id="admin.customfields.add" template="" lang="" group="0" version="1.9.001">
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-button 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');" noSubmit="true"></et2-button>
|
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>
|
2022-07-22 09:03:54 +02:00
|
|
|
</overlay>
|