[SMARTY] assign a config var
"Gabriel B." <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
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.
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php