cvs: smarty /docs designers.sgml
| From: | Monte Ohrt | Date: | Mon, 09 Jun 2003 22:06:21 +0000 |
| Subject: | cvs: smarty /docs designers.sgml | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-635@lists.php.net to get a copy of this message | ||
mohrt Mon Jun 9 18:06:21 2003 EDT
Modified files:
/smarty/docs designers.sgml
Log:
replace example with more practical one
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.70 smarty/docs/designers.sgml:1.71
--- smarty/docs/designers.sgml:1.70 Mon May 19 13:45:48 2003
+++ smarty/docs/designers.sgml Mon Jun 9 18:06:20 2003
@@ -59,10 +59,10 @@
{include file="header.tpl"}
-{if $name eq "Fred"}
- You are not allowed here
+{if $highlight_name}
+ Welcome, <font color="{#fontColor#}">{$name}!</font>
{else}
- Welcome, <font color="{#fontColor#}">{$name}!</font>
+ Welcome, {$name}!
{/if}
{include file="footer.tpl"}</programlisting>