diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-15 09:15:13 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-15 09:15:13 +0000 |
| commit | 49c5145935f8c5d35db23ae173c6650a37a4907f (patch) | |
| tree | 690e5bc3170d419842ca5a76f0a5a9b0c94c85a8 /templates/help_format_tikiwiki_inc.tpl | |
| parent | f21d12c855be3117654ad32a269075e0878a7ee1 (diff) | |
| download | liberty-49c5145935f8c5d35db23ae173c6650a37a4907f.tar.gz liberty-49c5145935f8c5d35db23ae173c6650a37a4907f.tar.bz2 liberty-49c5145935f8c5d35db23ae173c6650a37a4907f.zip | |
cache output hash. this avoids having to parse all the samples on every edit pageload
Diffstat (limited to 'templates/help_format_tikiwiki_inc.tpl')
| -rw-r--r-- | templates/help_format_tikiwiki_inc.tpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/help_format_tikiwiki_inc.tpl b/templates/help_format_tikiwiki_inc.tpl index 3b958ac..b3d191e 100644 --- a/templates/help_format_tikiwiki_inc.tpl +++ b/templates/help_format_tikiwiki_inc.tpl @@ -1,16 +1,16 @@ {strip} <h1>Tikiwiki Markup Syntax</h1> -{foreach from=$exampleHash key=section item=examples name=sections} - {if !$smarty.foreach.sections.first}<br /><hr /><br />{/if} - <h2>{tr}{$section}{/tr}</h2> +{foreach from=$examples.tikiwiki key=title item=tikiwiki name=tw} + {if !$smarty.foreach.tw.first}<br /><hr /><br />{/if} + <h2>{tr}{$title}{/tr}</h2> <table class="bittable"> <tr> <th style="width:25%">Description</th> - <th style="width:30%">Example</th> - <th style="width:45%">Result</th> + <th style="width:40%">Example</th> + <th style="width:35%">Result</th> </tr> - {foreach from=$examples key=desc item=example} + {foreach from=$tikiwiki key=desc item=example} <tr> <td> {tr}{$desc}{/tr} @@ -72,7 +72,7 @@ <br /> <br /> <table class="bittable"> <caption>{tr}Applied Examples{/tr}</caption> - {foreach from=$mediawiki key=title item=example} + {foreach from=$examples.mediawiki key=title item=example} <tr> <th style="width:60%">{$title}</th> <th style="width:40%">Result</th> |
