<include file="top.lhhtml">
<lconf pos="/init" pagename="init">
<section link="/init/description" local="description">
<locale>
<locale language="de">
<leohtml> durchläuft während des Kompilierens verschidene Scans.
Mit diesem Tag ist es mögliche die Reihenfolge und Anzahl der Scans zu steuern.
Auch hat jeder Scan auch ein bestimmtes Level, damit können nur Tags
angesprochen werden, die sich auf dem selben Level befinden.
Intern speichert <leohtml> die verschiedenen Scans in einer Tabelle,
die Schritt für Schritt abgearbeitet wird. Dies ist die Init Tabelle.
<br>
Wird keine Init Tabelle angegeben, dann verwendet der Kompiler die default
Init Tabelle. Der Compiler versucht dann selbst herauszufinden welcher Scan
benötigt wird und welcher nicht.
</locale>
<locale language="en">
<leohtml> processes during compiling various scans. This tag
supports manipulting the chronological order and number of scans.
Every scan has a specific level too. A scan will only recognise these
tags that are at the same level like the scan.
Internaly <leohtml> uses a table to store the scans
and goes it step by step down. That's the init table.
<br>
If you do not define an init table the compiler uses the default init table,
by trying to detect which scan is required and which one not.
</locale>
</locale>
</section>
<!-- *************************** -->
<section link="/init/table" local="table">
<locale>
<locale language="en">
You can define your own init table too, by simple writing it
somewhere into the source file. But be aware, there is only one
init table per page possible.
<br><br>
This is the sheme, for an init table:
</locale>
<locale language="de">
Du kannst auch deine eigene Init Tabelle definieren, wenn du diese
einfach irgendwo in die HTML Seite schreibst. Aber vorsicht, es ist
nur eine Init Tabelle möglich.
</locale>
</locale>
<example mode="sfixed">
<init>
<lang de text="// Init Tabelle Beginn">
<lang en text="// start of the init table">
<br>
<init .....>
<lang de text="// Ein Eintrag">
<lang en text="// an entry">
<br>
<init .....>
<lang de text="// Ein anderer Eintrag">
<lang en text="// an other entry">
<br>
<init .....> <br>
<init .....> <br>
<init .....> <br>
... <br>
</init>
<lang de text="// Init Tabelle Ende">
<lang en text="// end of the init table">
<br>
</example>
</section>
<!-- ***************************** -->
<section link="/init/init" local="init">
<definition title="Init Tag Definition:">
<include file="init.def">
</definition>
<br><br>
<locale>
<locale language="de">
Bei der <b>scan</b> Option wird der Name des Scans angegeben. Mit der
<b>level</b> Option kann spezifiziert werden welches Level verwendet werden soll.
Du kannst auch einen Level-Bereich angeben. zb: <code> scan="1-4" </code>, oder
mehrere Levels: <code> scan="1,3,8" </code>, oder beides zusammen:
<code> scan="1,3,4-9,12" </code>. Das default Level beträgt beim <code>init</code>
Tag, so wie bei den normalen Tags 0.
</locale>
<locale language="en">
At the <b>scan</b> option the name of the scan has to be given and the
<b>level</b> option allows selecting a level. You can define also a range of levels,
eg: <code> scan="1-4" </code> or more than one scan level: <code> scan="1,3,8" </code>,
or mixing both: <code>scan="1,3,4-9,12"</code>. The default level at the <code>init</code>
tags, as at the normal tags is 0.
</locale>
</locale>
</section>
<!-- ************************* -->
<section link="/init/manipulation" local="manipulation">
<locale>
<locale language="en">
In most cases you do not wan't to write a complete new init table,
you wan't to manipulate the existing one. This can be done, by writing
a special init table:
</locale>
<locale language="de">
In den meißten Fällen ist es nicht notwendig eine neue Init Tabelle
zu schreiben, es genügt die bestehende zu manipulieren. Dies
geschieht über eine spezielle Init Tabelle:
</locale>
</locale>
<definition title-en="Special Init Table:" title-de="Spezielle Init Tabelle:">
<include file="special-init.def">
</definition>
<br><br>
<locale>
<locale language="de">
Mit dem speziellem Init Tag wird die Init Tabelle begonnen, und dann
folgen in der Tabelle die Init Scans die eingefügt, entfernt,...
werden sollen.
</locale>
<locale language="en">
The init table starts with this special init tag and continues
with the init scans thet should be inserted, removed,....
</locale>
</locale>
<example mode="sfixed">
<init append scan="menu"<
<lang de text="// Beginn der speziellen Init Tabelle">
<lang en text="// start of the special init table">
<br>
<init scan="foo"> <br>
<init scan="bar"> <br>
</init>
</example>
<br><br>
<locale>
<locale language="en">
Ok, this table inserts the "foo" and the "bar" scan <i>after</i> the
"menu" scan.
<br><br>
</locale>
<locale language="de">
Diese Tabelle fügt den "foo" und den "bar" Scan <i>nach</i> dem "menu"
Scan ein.
</locale>
</locale>
<example title-en="Removing a specific scan:" title-de="Einen speziellem Scan entfernen:" mode=fixed>
<init remove scan="menu">
</init>
</example>
</section>
|