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"}
|
||||
|
||||
{if $name eq "Fred"}
|
||||
You are not allowed here
|
||||
{else}
|
||||
{if $highlight_name}
|
||||
Welcome, <font color="{#fontColor#}">{$name}!</font>
|
||||
{else}
|
||||
Welcome, {$name}!
|
||||
{/if}
|
||||
|
||||
{include file="footer.tpl"}</programlisting>
|
||||
|
Reference in New Issue
Block a user