mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 16:57:54 +02:00
Updated CodeCorner3 (markdown)
@ -114,21 +114,50 @@ Assume that we wanted to name our first eTemplate <em>index</em>.<br />
|
|||||||
<dd>
|
<dd>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Step 3</dt>
|
<dt>Step 3</dt>
|
||||||
<dd>put in the basic template structure as it is used througout EGroupware
|
<dd>put in the basic template stuff that is needed to build our template
|
||||||
<pre>
|
<pre>
|
||||||
<template id="test.index.dates" template="" lang="" group="0" version="1.1.001" >
|
<template id="test.index" template="" lang="" group="0" version="1.9.101">
|
||||||
|
<groupbox id="debuginfo">
|
||||||
</template>
|
<caption label="Debuginfo"/>
|
||||||
<template id="test.index.add" template="" lang="" group="0" version="1.1.001">
|
<grid>
|
||||||
|
<columns>
|
||||||
</template>
|
<column/>
|
||||||
<template id="test.index.rows" template="" lang="" group="0" version="1.1.001">
|
</columns>
|
||||||
|
<rows>
|
||||||
</template>
|
<row>
|
||||||
<template id="test.index" template="" lang="" group="0" version="1.9.001">
|
<textbox multiline="true" id="message" no_lang="1" readonly="true"/>
|
||||||
<nextmatch id="nm" options="test.index.rows" header_left="test.index.add" header_right="test.index.dates"/>
|
</row>
|
||||||
|
<row>
|
||||||
|
<textbox lable="record-id" id="test_id" no_lang="1" readonly="true"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</groupbox>
|
||||||
|
<hrule/>
|
||||||
|
<grid>
|
||||||
|
<columns>
|
||||||
|
<column/>
|
||||||
|
<column/>
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<description font_style="20" href="40" value="firstname" no_lang="1"/>
|
||||||
|
<textbox blur="Type in a name" id="test_firstname" no_lang="1" size="25" maxlength="40"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<description value="name"/>
|
||||||
|
<textbox id="test_name" size="25" maxlength="40"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<button label="new " id="new"/>
|
||||||
|
<button align="right" label="submit" id="submit"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
</template>
|
</template>
|
||||||
</pre>
|
</pre>
|
||||||
|
Its a template with two grids. one, the first, placed within a groupbox to hold some debug-info. output after submit.
|
||||||
|
An h-rule and a grid with our inputboxes and two buttons. one to clear, one to submit
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user