assign a config var
| From: | Gabriel B. | Date: | Wed, 29 Jun 2005 04:34:35 +0000 |
| Subject: | assign a config var | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12742@lists.php.net to get a copy of this message | ||
is there a way to acomplish this?
logon.php:
$smaty->assign( 'err', '{#badPassword#}' );
template.tpl:
{if $err}<b class=redalert>{$err}</b>{/if}
language.conf:
[logon]
badPassword = bad username/password combination
--
Thanks,
Gabriel
design, v:
What you regret not doing later on.