mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
157 lines
7.5 KiB
XML
157 lines
7.5 KiB
XML
<?xml version="1.0"?>
|
|
<!-- $Id$ -->
|
|
<overlay>
|
|
<template id="etemplate.editor.widget.generic" template="" lang="" group="0" version="1.7.001">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width="70"/>
|
|
<column/>
|
|
<column/>
|
|
<column/>
|
|
<column/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row class="row">
|
|
<description options=",,,type" value="Type"/>
|
|
<menulist>
|
|
<menupopup id="type" onchange="1" statustext="type of the field (select Label if field should be empty)"/>
|
|
</menulist>
|
|
<description options=",,,size" value="Options" align="center"/>
|
|
<textbox size="10" id="size" statustext="Label:[bold][italic] Text:[len][,max] Numbers:[min][,[max][,len]] T.area:[rows][,cols] Radiob.:value H.Rule:[width] Templ.:[IndexInContent] Select:[multiselect] Date:[values: eg. 'Y-m-d']"/>
|
|
<description options=",,,span" value="Span, Class" align="center"/>
|
|
<textbox size="10" id="span" statustext="number of colums the field/cell should span or 'all' for the remaining columns, CSS-class name (for the TD tag)"/>
|
|
</row>
|
|
<row class="row">
|
|
<description options=",,,label" value="Label"/>
|
|
<textbox id="label" statustext="displayed in front of input or input is inserted for a '%s' in the label (label of the Submitbutton or Image-filename)"/>
|
|
<checkbox span="2" label="%s NoTranslation" align="center" id="no_lang" statustext="select if content of field should not be translated (label gets always translated)"/>
|
|
<description value="Align" align="center"/>
|
|
<menulist>
|
|
<menupopup id="align" statustext="alignment of label and input-field in table-cell"/>
|
|
</menulist>
|
|
</row>
|
|
<row class="row">
|
|
<description options=",,,name" value="Name"/>
|
|
<textbox id="name" statustext="index/name of returned content (name of the Template, Link / Method for Image)"/>
|
|
<hbox span="4">
|
|
<checkbox label="%s needed" align="center" id="needed" statustext="check if field has to be filled by user"/>
|
|
<checkbox label="%s readonly" align="center" id="readonly" statustext="check if content should only be displayed but not altered (the content is not send back then!)"/>
|
|
<checkbox label="%s disabled" align="center" id="disabled" statustext="if field is disabled an empty table-cell is displayed, for (temporal) removement of a field/cell"/>
|
|
</hbox>
|
|
</row>
|
|
<row class="row" disabled="@type=label">
|
|
<description options=",,,blur" value="blurText"/>
|
|
<textbox id="blur" statustext="this text gets displayed if the input-field is empty and has no focus (blur)"/>
|
|
<hbox span="4">
|
|
<int label="Tabindex" span="2" id="tabindex" statustext="Order to navigating by tab key through the form"/>
|
|
<textbox size="1" maxlength="1" id="accesskey" statustext="Accesskeys can also be specified with an & in the label (eg. &Name)" label="Accesskey"/>
|
|
</hbox>
|
|
</row>
|
|
<row class="row">
|
|
<description options=",,,help" value="Help"/>
|
|
<textbox size="71" span="all" class="inputFullWidth" id="help" statustext="displayed in statusline of browser if input-field gets focus"/>
|
|
<description/>
|
|
<description/>
|
|
<description/>
|
|
<description/>
|
|
</row>
|
|
<row class="row" disabled="@type=label">
|
|
<description value="onChange"/>
|
|
<hbox options="0,0" span="all">
|
|
<menulist>
|
|
<menupopup id="onchange_type" statustext="Should the form be submitted or any custom javascript be executed"/>
|
|
</menulist>
|
|
<textbox size="50" span="all" class="leftPad5 inputFullWidth" id="onchange" statustext="custom javascript for onChange" align="right"/>
|
|
</hbox>
|
|
</row>
|
|
<row class="row">
|
|
<description options="onclick" value="onClick"/>
|
|
<hbox options="0,0" span="all">
|
|
<menulist>
|
|
<menupopup id="onclick_type" statustext="confirmation necesary or custom java-script"/>
|
|
</menulist>
|
|
<textbox size="53" span="all" class="leftPad5 inputFullWidth" id="onclick" statustext="confirmation message or custom javascript (returning true or false)" align="right"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="etemplate.editor.widget" template="" lang="" group="0" version="1.7.001">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row class="th">
|
|
<hbox span="all">
|
|
<menulist>
|
|
<menupopup options="Edit..." id="edit_menu" onchange="1" statustext="delete and cut save the template!"/>
|
|
</menulist>
|
|
<menulist>
|
|
<menupopup options="Box..." id="box_menu" onchange="1" statustext="all operations save the template!"/>
|
|
</menulist>
|
|
<menulist>
|
|
<menupopup options="Row..." id="row_menu" onchange="1" statustext="all operations save the template!"/>
|
|
</menulist>
|
|
<menulist>
|
|
<menupopup options="Column..." id="column_menu" onchange="1" statustext="all operations save the template!"/>
|
|
</menulist>
|
|
</hbox>
|
|
</row>
|
|
<row disabled="!@msg">
|
|
<description span="all" class="redItalic" no_lang="1" id="msg"/>
|
|
</row>
|
|
<row>
|
|
<html label="Name" id="java_script"/>
|
|
<hbox>
|
|
<textbox id="name" readonly="true"/>
|
|
<textbox id="template" readonly="true"/>
|
|
<textbox id="lang" readonly="true"/>
|
|
<textbox size="20" label="Version" id="version" statustext="increment version to not overwrite the existing template"/>
|
|
<description class="gray" value="Path" no_lang="1" id="path"/>
|
|
</hbox>
|
|
</row>
|
|
<row>
|
|
<description options=",,,goto" value="Path"/>
|
|
<hbox>
|
|
<path no_lang="1" id="goto" statustext="switch to a parent widget"/>
|
|
<path options=" " label=" " no_lang="1" id="goto2" statustext="switch to an other widgets of that container"/>
|
|
</hbox>
|
|
</row>
|
|
<row>
|
|
<template content="cell" span="all" id="etemplate.editor.widget.generic"/>
|
|
</row>
|
|
<row disabled="!@grid_row">
|
|
<groupbox span="all" orient="horizontal">
|
|
<caption label="Grid row attributes"/>
|
|
<textbox size="5" label="Height" id="grid_row[height]" statustext="height of row (in % or pixel)"/>
|
|
<textbox size="10" label="Disabled" id="grid_row[disabled]" statustext="to disable: [! = not]<value>[=<check>] eg: '!@data' disables if content of data is empty"/>
|
|
<textbox size="10" label="Class" id="grid_row[class]" statustext="CSS-class name for this row, preset: 'th' = header, 'row' = alternating row, 'row_off'+'row_on' rows"/>
|
|
<menulist>
|
|
<menupopup label="Valign" id="grid_row[valign]" statustext="vertical alignment of row"/>
|
|
</menulist>
|
|
<menulist>
|
|
<menupopup label="Part" id="grid_row[part]" statustext="part of the table (header and footer have to be before body!)"/>
|
|
</menulist>
|
|
</groupbox>
|
|
</row>
|
|
<row disabled="!@grid_column">
|
|
<groupbox span="all" orient="horizontal">
|
|
<caption label="Grid column attributes"/>
|
|
<textbox size="5" label="Width" id="grid_column[width]" statustext="width of column (in % or pixel)"/>
|
|
<textbox size="10" label="Disabled" id="grid_column[disabled]" statustext="to disable: [! = not]<value>[=<check>] eg: '!@data' disables if content of data is empty"/>
|
|
</groupbox>
|
|
</row>
|
|
<row>
|
|
<hbox span="all">
|
|
<button label="Save" id="save" statustext="saves the template with given version number and closes the window"/>
|
|
<button label="Apply" id="apply" statustext="applies the changes to the given version of the template"/>
|
|
<button label="Cancel" id="cancel" statustext="closes the window without saving the changes" onclick="window.close();"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
</overlay> |