Using Smarty Functions

From: Date: Sat, 02 Apr 2005 12:49:12 +0000
Subject: Using Smarty Functions
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12386@lists.php.net to get a copy of this message
Hi comunity. I'm new in use of Smarty Templates. I try to use the $smarty.now function but i don't know in where place i put there. If is in .php file or is in .tpl file? In the first case how to assign values to var? Take a look of part of my tpl code: ========================================================= <tr><td class="td image"><span class="td"><img src="themes/images/clockicon.gif" alt="Hora del Servidor" border="0" align="absmiddle" class="cursor"></span></td> <td class="td padding-menu">{$HOUR.now|date_format:"%Y-%m-%d %H:%M:%S"}</td></tr> ========================================================= are this OK or wrong?? Regards Reynier Pérez MiraBlog de ReynierPM ______________________________________________ Renovamos el Correo Yahoo!: ¡250 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es

« previous php.smarty.general (#12386) next »