mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
replace example with more practical one
This commit is contained in:
@@ -59,10 +59,10 @@
|
|||||||
|
|
||||||
{include file="header.tpl"}
|
{include file="header.tpl"}
|
||||||
|
|
||||||
{if $name eq "Fred"}
|
{if $highlight_name}
|
||||||
You are not allowed here
|
|
||||||
{else}
|
|
||||||
Welcome, <font color="{#fontColor#}">{$name}!</font>
|
Welcome, <font color="{#fontColor#}">{$name}!</font>
|
||||||
|
{else}
|
||||||
|
Welcome, {$name}!
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{include file="footer.tpl"}</programlisting>
|
{include file="footer.tpl"}</programlisting>
|
||||||
|
Reference in New Issue
Block a user