TBS version 3.5.2 is quite ready for the release. This is a minor
version but with nice small features.
The change-log is just at the bottom of this message. Feel free to
test the and report comments and critics.
Download the beta version:
http://www.tinybutstrong.com/download/download.php?file=tbs_beta.zip&sid=2
Have a nice day.
Skrol 29
Changlog for TBS version 3.5.2b 2009-03-10:
Bugs:
-----
- Defining a block a single tag using "block=tag/" doesn’t work. TBS
did not manage the embedding
level correctly.
- Error message when using a plugin event "OnFormat" or a "onformat"
custom function that use the
argument $TBS. Happens obly with PHP => 5.3.0
"Warning: Parameter 4 to ... expected to be a reference, value
given" (bug reported by Jérémy)
- [b.$] return the record num instead of the item key when calling
MergeBlock(‘b’, $ai) where $ai is
an ArrayIterator. (bug reported by Jérémy)
New features:
-------------
- XML/HTML tags single tags <x/> are considered like opening/closing
tags <x></x>. Thus, coding
"block=img" will work correctly if the TBS fields is embedded in the
<img/> tag.
Example: <img [b;block=img] />
- Parameter « frm » support leading zeros. Example: « frm=00 ». (idea
submitted by Jérémy)
- New parameter "maxutf8" allows the max operator to work with utf8
data. (idea submitted by Jérémy)
Example: [onshow.x;ope=max:10;maxutf8]
- New operator Magnet OK "ope=mok:xxx". To be used with parameter
"magnet".
(name may change before the final release)
The TBS field is never displayed, but the magnet tag is displayed
only if the TBS field’s value is "xxx".
Otherwise, the magnet tag is deleted.
- New operator Magnet KO "ope=mko:xxx", same as "ope=mok" but the
magnet tag is deleted only if the
TBS field’s value is "xxx".
Optimization/enhancement:
-------------------------
- Deleting an attribute using "magnet=#" does not add a new space in
the tag.
- f_Xml_FindTag() is a bit faster.
- Some code embellish.
The 3.5.2beta release works perfectly for all of my applications.
Have not tested any of the bug fixes or new features yet.
Thanks for your continued good work on TBS!
And thanks for TBS every day,
TomH
---------------------
Skrol29
www.tinybutstrong.com
---------------------
Le 16/03/2010 18:53, TomH a �crit :