| Osiris Pedroso 2006-05-16, 7:13 pm |
| I am seeing an odd result of capitalize.
Basically, the letter after an accented character is capitalized, as if =
it a
new word has started.
Ex:
The word typed is "gr=E1fica", the capitalized result returned by smarty =
is
"Gr=E1Fica".
In some SW I wrote, I consider words to match the regexp "[a-z=E0-=FC]", =
but I
think capitalize is matching "[a-z]" only.
Appreciate any insights,
Osiris Pedroso
--
Optimizer Consulting
http://www.swoptimizer.com
Phone: 1.415.259.5760
-----Original Message-----
From: Davide Muzzarelli [mailto:reg@dav-muz.net]=20
Sent: Tuesday, May 16, 2006 1:24 PM
To: smarty-general@lists.php.net
Subject: [SMARTY] Unassign plugin updated
The unassign plugin is updated, now it can unassign also an array item!
Unassign is good to mantain clean your templates.
The syntax is simple:
{unassign var=3D$foo}
For unassign an array item:
{unassign var=3D$foo.bar}
See and download at:
http://smarty.incutio.com/?page=3Dunassign
Byez!
--=20
Davide "Design" Muzzarelli
www . dav - muz . net
www. fraw . info - a PHP framework with Smarty
--=20
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|