Re: [SMARTY] best way to handle error messages?
| From: | Paul Lockaby | Date: | Sun, 15 Dec 2002 15:23:59 +0000 |
| Subject: | Re: [SMARTY] best way to handle error messages? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6811@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
keep your template simple, like this: {if $error_msg ne ""} {$error_msg} {/if} Let the application logic do the rest.Ok. What is the best way to keep all language specific elements out of my php code in a case like this? Again, I want this thing to be easily translateable.