mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:03:21 +01:00
Updated CodeCorner3 (markdown)
parent
dd72afedc8
commit
d312c49455
@ -114,21 +114,50 @@ Assume that we wanted to name our first eTemplate <em>index</em>.<br />
|
||||
<dd>
|
||||
<dl>
|
||||
<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>
|
||||
<template id="test.index.dates" template="" lang="" group="0" version="1.1.001" >
|
||||
|
||||
</template>
|
||||
<template id="test.index.add" template="" lang="" group="0" version="1.1.001">
|
||||
|
||||
</template>
|
||||
<template id="test.index.rows" template="" lang="" group="0" version="1.1.001">
|
||||
|
||||
</template>
|
||||
<template id="test.index" template="" lang="" group="0" version="1.9.001">
|
||||
<nextmatch id="nm" options="test.index.rows" header_left="test.index.add" header_right="test.index.dates"/>
|
||||
<template id="test.index" template="" lang="" group="0" version="1.9.101">
|
||||
<groupbox id="debuginfo">
|
||||
<caption label="Debuginfo"/>
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<textbox multiline="true" id="message" no_lang="1" readonly="true"/>
|
||||
</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>
|
||||
</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>
|
||||
</dl>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user