Afficher un message
Vieux 17/03/2006, 15h51   #4
Robert Hicks
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] Template last modification date

Evan Wagner wrote:
> Change the $filename variable to the path and filename of your template
> file:
>
> ---- BEGIN PHP CODE --------
> $filename = "templates/index.tpl";
> $smarty->assign('filemodified', date ("F d Y H:i:s.",
> filemtime($filename)));
> ------ END PHP CODE ---------
>
> ----- BEGIN TEMPLATE CODE -----
> File last modified on {$filemodified}
> ----- END TEMPLATE CODE ------
>
> On 3/17/06, Robert Hicks <sigzero@gmail.com> wrote:


Thank you!

Robert
  Réponse avec citation
 
Page generated in 0,04921 seconds with 9 queries