From 91b965181f907b169aeeff63a6c15f9b8df9d9a9 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 3 Feb 2013 12:07:37 +0100 Subject: Some minor documentation fixes Grammar and spelling... --- docu/language_definition.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docu/language_definition.html') diff --git a/docu/language_definition.html b/docu/language_definition.html index 2c809bc..77cb680 100644 --- a/docu/language_definition.html +++ b/docu/language_definition.html @@ -217,7 +217,7 @@ If $foo is not empty, then Bar will be executed, otherwise Baz.

Short syntax for if-clause

-

Because if-clauses are used often, there is an short syntax:

+

Because if-clauses are used often, there is a short syntax:

?{condition|then|else}

This is equivalent to:

<ste:if>condition<ste:then>then</ste:then><ste:else>else</ste:else></ste:if>

@@ -358,7 +358,7 @@ array Yes - The array to be looped through. + The array to be looped through (expects variable name). key @@ -385,7 +385,7 @@

ste:infloop

-

Create an infinitive loop. You can get out of the loop using the ste:break tag. Can be used to emulate other loop constructs like while loops.

+

Creates an infinitive loop. You can get out of the loop using the ste:break tag. Can be used to emulate other loop constructs like while loops.

Example:

<ste:infloop>
<ste:if>
<ste:foo />
<ste:then><ste:break /></ste:then>
</ste:if>
...
<ste:infloop>
@@ -416,7 +416,7 @@

ste:block

-

ste:block provides an easy way for writing master templates. Every block has a name. When a block is defined twice, the second will overwrite the first one.

+

ste:block provides an easy way for writing master templates. Every block has a name. When a block is defined twice, the second one will overwrite the first one.

The name can be set with the name parameter.

Example:
@@ -441,7 +441,7 @@

ste:get

-

ste:get will return the content of a variable. The parameter var takes the name of the variable to get. Usefult, if you want to get a variable which name is stored in a variable.

+

ste:get will return the content of a variable. The parameter var takes the name of the variable to get. Useful, if you want to get a variable which name is stored in a variable.

Example:

<ste:get var="$foo" />
-- cgit v1.2.3-70-g09d2