as a placeholder and example of a xml-template

This commit is contained in:
Ralf Becker 2002-09-16 20:37:11 +00:00
parent f33da8d656
commit dc2c34ce10
3 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1,49 @@
<?xml version="1.0"?>
<overlay>
<grid id="et_media.edit" template="" lang="" group="" version="" width="100%">
<columns>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<description size="ib" span="all" value="eTemplates MediaDB" no_lang="1" id="msg"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description span="all"/>
</row>
<row>
<description value="Name"/>
<textbox size="100" maxlength="100" span="all" id="name" statustext="here goes the name of the publication / record"/>
</row>
<row>
<description value="Author"/>
<textbox size="100" maxlength="100" span="all" id="author" statustext="please use Name, First Name"/>
</row>
<row>
<description value="Type"/>
<menulist>
<menupopup span="all" id="type" statustext="select the type fitting most"/>
</menulist>
</row>
<row>
<description value="Description"/>
<textbox ="" cols="3" rows="100" span="all" id="descr" statustext="we have a fulltext search using that description"/>
</row>
<row>
<description span="all"/>
</row>
<row>
<button label="Read" id="read" statustext="reads or searches for entries matching the criteria above"/>
<button label="Save" id="save" statustext="saves the change to the db"/>
<button label="Cancel" id="cancel" statustext="clears the form, without changing anything"/>
<button label="Delete" id="delete" statustext="deletes an entry"/>
</row>
</rows>
</grid>
</overlay>

View File

@ -0,0 +1,23 @@
<?xml version="1.0"?>
<overlay>
<grid id="et_media.show.rows" template="" lang="" group="" version="" width="100%">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="nmh">
<description value="Name"/>
<description value="Author"/>
<description/>
</row>
<row class="nmr">
<description no_lang="1" id="${row}[name]"/>
<description class="ml10" no_lang="1" id="${row}[author]"/>
<button label="Edit" align="center" id="edit[$row_cont[id]]" statustext="click here to edit the entry"/>
</row>
</rows>
<styles>.nmh { font-weight: bold; }</styles>
</grid>
</overlay>

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<overlay>
<grid id="et_media.show" template="" lang="" group="" version="" width="100%">
<columns>
<column/>
</columns>
<rows>
<row>
<description size="ib" span="all" value="eTemplates MediaDB" no_lang="1" id="msg"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description span="all"/>
</row>
<row>
<grid content="entry" id="et_media.show.rows"/>
</row>
</rows>
</grid>
</overlay>