2000-12-04 21:48:51 +00:00
|
|
|
{config_load file=test.conf section="my foo"}
|
2000-12-27 19:58:05 +00:00
|
|
|
{include file=header.tpl title=foo}
|
2000-11-20 20:06:06 +00:00
|
|
|
|
2000-11-20 22:31:38 +00:00
|
|
|
Title: {#title#|capitalize}
|
2000-11-20 20:06:06 +00:00
|
|
|
|
2000-11-22 16:23:19 +00:00
|
|
|
{$SCRIPT_NAME}
|
|
|
|
|
|
2000-11-15 17:11:52 +00:00
|
|
|
{* A simple variable test *}
|
2000-12-04 21:48:51 +00:00
|
|
|
hello, my name is {$Name|upper}
|
2000-11-20 20:06:06 +00:00
|
|
|
|
2000-11-20 03:20:55 +00:00
|
|
|
My interests are:
|
|
|
|
|
{section name=outer loop=$FirstName}
|
2000-11-20 20:06:06 +00:00
|
|
|
{if %outer.index% is odd by 2}
|
2000-11-20 03:20:55 +00:00
|
|
|
. {$outer/FirstName} {$outer/LastName}
|
|
|
|
|
{else}
|
|
|
|
|
* {$outer/FirstName} {$outer/LastName}
|
|
|
|
|
{/if}
|
|
|
|
|
{sectionelse}
|
|
|
|
|
none
|
|
|
|
|
{/section}
|
2000-11-21 20:29:55 +00:00
|
|
|
|
2000-12-07 22:47:01 +00:00
|
|
|
{$Name|@count}
|