* Martin Sarfy <[EMAIL PROTECTED]> [August 24 2004, 23:23]: > > > Using <TMPL_IF lang=""> construct isn't appropriate for several reasons: > > > -- $lang is not accessible in <TMPL_LOOP> context > > Use global_vars and it will be. > It's good that global_vars is not set by default, clean namespace in > <TMPL_LOOP> is advantage and I don't want to turn it on only because > translations.
And global_vars slow down processing by a factor of 4. I once was very surprised with a profile where HTML::Template::output took more than 40% of execution time. -- Alex Kapranoff. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users