Hi,
There is already a
beta version of TBS 3.4.0
The file is
available for download at:
I think I will
publish the final version very soon, I had some tests yet and the changes are
minor.
But is some of you could confirm that all is ok, it would be a great
help.
New
features:
* Template
Formats. You can define several template formats for the date and
number formats that you use a lot in a template.
The declaration of
the formats is made with parameter "tplfrms", the same way as the
declaration of template
variables.
Example: [onload;tplfrms;doll='$0,000.00';mydate='yyyy-mm-dd']
[var.amout;frm=doll] ... [var.date;frm=mydate]
*
Formatted dates with the local option are converted to the template
HtmlCharset. This is because they may have accents.
* You can add the
keyword "(locale)" inside a date format to specify to use the locale option for
formatting the date.
Example: [var.date;frm=(locale)dddd mmmm yyyy]
Thus,
parameter "locale" becomes deprecated because it does the
same.
Fixed
bugs:
* Avoid infinite
loops when a subblock meets an SQL error.
* Bad condition evaluation
when the first element contains the symbol equal (=). Now it can be escaped
with single quote (').
* Now
LoadTemplate(null,HtmlCharset) do run Plugins, Onload and HtmlCharset
without changing the template.
* Now
LoadTemplate('',HtmlCharset) do change HtmlCharset without changing the
template.
Have a nice day,
------------------------
Skrol29
------------------------