On So. 04. Jun. 2006, 04:38:33, guest wrote:
Show quoted text> The options 'case_sensitive' and 'use_query' are not clear to me.
> For example, in <tmpl_var name=x> does 'case_sensitive' refer to the
> template tag, the word 'name', the variable name 'x', or perhaps even
> the value of the variable, or does it apply to __first__ etc. Does it
> apply to file names used in <tmpl_include>? What about in <tmpl_if>?
> Also, what on earth does 'use_query' mean :-)?
case_sensitive means the same as in HTML::Template. It has nothing to do
with <TMPL_ or <tmpl_
Using case_sensitive => 0 means, you can do:
<tmpl_var Foo> is the same as <tmpl_var fOO>
This also applies to __first__ etc.
use_query => 1 means you want to use the query-method. It means
extra-work for HTC (and extra memory consumption) so I made that an
option.
I'll try to make that clear in the next version.
Thanks for the comment.