mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-08 07:55:01 +02:00
Updated CodeCorner3 (markdown)
@ -54,7 +54,7 @@ The optional file <tt>setup.inc.php</tt> in folder <tt>$app/setup</tt>?<br />
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<hr style="text-align: left; width: 99%;" /><br />
|
<hr style="text-align: left; width: 99%;" /><br />
|
||||||
Since we had our original application registered manually, we should unregister our baby, to avoid version-number conflicts that may occur, since the manually registered application had no ((VersionNumbers|version number)) at all.<br />
|
Since we had our original application registered manually, we should unregister our baby, to avoid version-number conflicts that may occur, since the manually registered application had no Version Number at all.<br />
|
||||||
So
|
So
|
||||||
<ul>
|
<ul>
|
||||||
<li>unregister the manually registered test application</li>
|
<li>unregister the manually registered test application</li>
|
||||||
@ -86,7 +86,7 @@ Assume that we wanted to name our first eTemplate <em>index</em>.<br />
|
|||||||
<dd>
|
<dd>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Step 1</dt>
|
<dt>Step 1</dt>
|
||||||
<dd>create a file <code>index.xet</code> in the <code>templates/default</code> directory of our app <code>test</code>. ... <pre>test/templates/default/index.xet</pre> .</dd>
|
<dd>create a file <code>index.xet</code> in the <code>templates/default</code> directory of our app <code>test</code>:<pre>test/templates/default/index.xet</pre> .</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@ -97,13 +97,13 @@ Assume that we wanted to name our first eTemplate <em>index</em>.<br />
|
|||||||
<dl>
|
<dl>
|
||||||
<dt>Step 2</dt>
|
<dt>Step 2</dt>
|
||||||
<dd> Enter the basics:
|
<dd> Enter the basics:
|
||||||
```
|
<pre>
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
|
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
|
||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<overlay>
|
<overlay>
|
||||||
</overlay>
|
</overlay>
|
||||||
```
|
</pre>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</dd>
|
</dd>
|
||||||
@ -115,20 +115,20 @@ Assume that we wanted to name our first eTemplate <em>index</em>.<br />
|
|||||||
<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 structure as it is used througout EGroupware
|
||||||
```xml
|
<pre>
|
||||||
<template id="test.index.dates" template="" lang="" group="0" version="1.1.001" >
|
<template id="test.index.dates" template="" lang="" group="0" version="1.1.001" >
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template id="test.index.add" template="" lang="" group="0" version="1.1.001">
|
<template id="test.index.add" template="" lang="" group="0" version="1.1.001">
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template id="test.index.rows" template="" lang="" group="0" version="1.1.001">
|
<template id="test.index.rows" template="" lang="" group="0" version="1.1.001">
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template id="test.index" template="" lang="" group="0" version="1.9.001">
|
<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"/>
|
<nextmatch id="nm" options="test.index.rows" header_left="test.index.add" header_right="test.index.dates"/>
|
||||||
</template>
|
</template>
|
||||||
```
|
</pre>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user