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"/>
<column/>
<column/>
</columns>
<rows>
<row>
<description id="app-name"/>
<description value="- type"/>
<menulist>
<menupopup id="types" onchange="1" no_lang="1"/>
</menulist>
<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.');"/>
<textbox id="name" blur="new name"/>
<button label="Create" id="create"/>
</row>
</rows>
</grid>
</template>
2005-11-09 13:47:47 +01:00
<template id="admin.customfields.fields" template="" lang="" group="0" version="1.2">
2005-11-01 19:59:15 +01:00
<grid>
<columns>
<column/>
<column/>
<column disabled="!@type2"/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description value="Name" statustext="the name used internaly (<= 20 chars), changeing it makes existing data unavailible"/>
<description value="Label"/>
2005-11-09 13:47:47 +01:00
<description value="Subtype"/>
<description value="Type"/>
2005-11-01 19:59:15 +01:00
<description value="Options" statustext="each value is a line like <id>[=<label>]"/>
<description value="Length<br>Rows"/>
<description value="Order"/>
<description value="Action" align="center" statustext="deletes this field"/>
</row>
<row class="row" valign="top">
<textbox size="20" maxlength="32" id="${row}[name]" statustext="the name used internaly (<= 20 chars), changeing it makes existing data unavailible"/>
<vbox>
<textbox maxlength="255" id="${row}[label]" statustext="the text displayed to the user"/>
<description id="${row}[label]"/>
</vbox>
<menulist>
2006-10-05 08:36:09 +02:00
<menupopup options="All" id="${row}[type2]" no_lang="1"/>
2005-11-01 19:59:15 +01:00
</menulist>
<menulist>
2006-10-05 08:36:09 +02:00
<menupopup id="{$row}[type]" statustext="Type of customfield" no_lang="1"/>
2005-11-01 19:59:15 +01:00
</menulist>
2005-11-09 13:47:47 +01:00
<textbox multiline="true" rows="2" cols="30" id="${row}[values]" statustext="each value is a line like id[=label]"/>
2005-11-01 19:59:15 +01:00
<vbox>
<textbox size="5" id="${row}[len]" statustext="max length of the input [, length of the inputfield (optional)]"/>
<int options="0,10,2" id="${row}[rows]" statustext="number of row for a multiline inputfield or line of a multi-select-box" blur="1"/>
</vbox>
<int options="1,,3" id="${row}[order]" statustext="determines the order the fields are displayed"/>
<hbox>
<button label="Delete" id="delete[$row_cont[name]]" statustext="deletes this field"/>
<button label="Create" id="create$row_cont[name]" statustext="creates a new field"/>
</hbox>
</row>
</rows>
</grid>
</template>
2005-11-09 13:47:47 +01:00
<template id="admin.customfields" template="" lang="" group="0" version="1.2">
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>
2005-11-09 13:47:47 +01:00
<description span="all" class="redItalic" id="error_msg" align="center" no_lang="1"/>
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>
<template content="content_types" span="all" id="admin.customfields.types"/>
</row>
<row>
<template span="all"/>
</row>
2005-11-01 19:59:15 +01:00
<row>
<template content="fields" span="all" id="admin.customfields.fields"/>
</row>
<row>
<hbox span="all">
<button label="Save" id="button[save]" statustext="saves the changes made and leaves"/>
<button label="Apply" id="button[apply]" statustext="applies the changes"/>
<button label="Cancel" id="button[cancel]" statustext="leaves without saveing"/>
</hbox>
</row>
</rows>
</grid>
<styles>
2005-11-09 13:47:47 +01:00
.redItalic { color: red; font-style: italics; }
2005-11-01 19:59:15 +01:00
</styles>
</template>
</overlay>