print formatting would be good

Lee Weston
2000-12-21
2001-03-02
  • Lee Weston

    Lee Weston - 2000-12-21

    I was just looking at what it'd take to add, and maybe I will.

    Basically if would work like URLESCAPE, but pass a format string from the template to sprintf or strftime

    <TMPL_VAR NAME [ESCAPE=URL] VALUE [FORMAT_C= "fomat" | FORMAT_T="format"] >

    Any thoughts on this?

    Oh and why am I doing this?  Well because I won't actaully know what the data I'm passing is, whoever writes the template will.

     
    • Andrey Melnikov

      Andrey Melnikov - 2001-03-02

      In this case we will get sprintf templates inside of HTML::Template templates... I don't think that we need to support %s syntax if we already have <TMPL_VAR>

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks