[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.