2005-11-01 19:59:15 +01:00
<?xml version="1.0"?>
<!-- $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>
2011-05-18 12:25:39 +02:00
<row disabled="@no_edit_types">
2006-10-05 08:36:09 +02:00
<description id="app-name"/>
<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>
2014-08-26 11:30:38 +02:00
<button label="Delete" id="delete" onclick="return confirm('WARNING: You are about to delete this type. Entries of this type won\'t be accessable then.');"/>
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">
2005-11-01 19:59:15 +01:00
<grid>
<columns>
2014-08-26 16:34:41 +02:00
<column disabled="!@type2"/>
2005-11-01 19:59:15 +01:00
<column/>
<column/>
<column/>
2008-01-19 06:32:51 +01:00
<column disabled="!@use_private"/>
2005-11-01 19:59:15 +01:00
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
2014-08-26 11:30:38 +02:00
<description value="Type"/>
2011-05-18 12:25:39 +02:00
<description statustext="the name used internaly (<= 20 chars), changeing it makes existing data unavailible" value="Name"/>
2005-11-01 19:59:15 +01:00
<description value="Label"/>
2014-08-26 11:30:38 +02:00
<description value="Type of field"/>
2008-01-19 06:32:51 +01:00
<description value="Private"/>
2011-05-18 12:25:39 +02:00
<description statustext="each value is a line like <id>[=<label>]" value="Options"/>
2013-07-10 20:36:38 +02:00
<vbox>
<description value="Length"/>
<description value="Rows"/>
</vbox>
2005-11-01 19:59:15 +01:00
<description value="Order"/>
2011-05-18 12:25:39 +02:00
<description align="center" statustext="deletes this field" value="Action"/>
2005-11-01 19:59:15 +01:00
</row>
<row class="row" valign="top">
2014-08-26 11:30:38 +02:00
<listbox statustext="for which types should this field be used" id="${row}[type2]" no_lang="1" rows="3"/>
2011-05-18 12:25:39 +02:00
<textbox statustext="the name used internaly (<= 20 chars), changeing it makes existing data unavailible" id="${row}[name]" size="20" maxlength="32"/>
2005-11-01 19:59:15 +01:00
<vbox>
2011-05-18 12:25:39 +02:00
<textbox statustext="the text displayed to the user" id="${row}[label]" maxlength="255"/>
2005-11-01 19:59:15 +01:00
<description id="${row}[label]"/>
</vbox>
2014-08-26 11:30:38 +02:00
<vbox>
2011-05-18 12:25:39 +02:00
<customfields-types statustext="Type of customfield" id="{$row}[type]"/>
<checkbox label="required" id="${row}[needed]"/>
</vbox>
2014-08-26 11:30:38 +02:00
<taglist-account statustext="Select accounts for which the custom field should be visible" id="${row}[private]" rows="3" account_type="both"/>
2014-08-26 12:26:07 +02:00
<textbox multiline="true" statustext="each value is a line like id[=label]" id="${row}[values]" rows="4" cols="30"/>
2005-11-01 19:59:15 +01:00
<vbox>
2011-05-18 12:25:39 +02:00
<textbox statustext="max length of the input [, length of the inputfield (optional)]" id="${row}[len]" size="5"/>
2013-07-10 20:36:38 +02:00
<textbox type="integer" blur="1" statustext="number of row for a multiline inputfield or line of a multi-select-box" id="${row}[rows]" min="0" max="10" size="2"/>
2005-11-01 19:59:15 +01:00
</vbox>
2013-07-10 20:36:38 +02:00
<textbox type="integer" statustext="determines the order the fields are displayed" id="${row}[order]" min="1" size="3"/>
2005-11-01 19:59:15 +01:00
<hbox>
2011-05-18 12:25:39 +02:00
<button statustext="deletes this field" label="Delete" id="delete[$row_cont[name]]"/>
<button statustext="creates a new field" label="Create" id="create$row_cont[name]"/>
2005-11-01 19:59:15 +01:00
</hbox>
</row>
</rows>
</grid>
</template>
2011-05-18 12:25:39 +02:00
<template id="admin.customfields" template="" lang="" group="0" version="1.9.001">
2005-11-01 19:59:15 +01:00
<grid>
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
2006-10-05 08:36:09 +02:00
<column/>
2005-11-01 19:59:15 +01:00
<column width="80%"/>
</columns>
<rows>
<row>
2014-08-26 11:30:38 +02:00
<description align="center" id="error_msg" no_lang="1" span="all" class="msg"/>
2005-11-01 19:59:15 +01:00
<description/>
<description/>
<description/>
<description/>
2006-10-05 08:36:09 +02:00
<description/>
2005-11-01 19:59:15 +01:00
<description no_lang="1"/>
</row>
2006-10-05 08:36:09 +02:00
<row>
2011-05-18 12:25:39 +02:00
<template id="admin.customfields.types" content="content_types" span="all"/>
2006-10-05 08:36:09 +02:00
</row>
<row>
<template span="all"/>
</row>
2005-11-01 19:59:15 +01:00
<row>
2011-05-18 12:25:39 +02:00
<template id="admin.customfields.fields" content="fields" span="all"/>
2005-11-01 19:59:15 +01:00
</row>
<row>
<hbox span="all">
2011-05-18 12:25:39 +02:00
<button statustext="saves the changes made and leaves" label="Save" id="button[save]"/>
<button statustext="applies the changes" label="Apply" id="button[apply]"/>
<button statustext="leaves without saveing" label="Cancel" id="button[cancel]"/>
2005-11-01 19:59:15 +01:00
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>