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áfica", the capitalized
result returned by smarty is
"GráFica".
In some SW I wrote, I consider words to match the regexp
"[a-zà-ü]", 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]
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=$foo}
For unassign an array item:
{unassign var=$foo.bar}
See and download at:
http://smart
y.incutio.com/?page=unassign
Byez!
--
Davide "Design" Muzzarelli
www . dav - muz . net
www. fraw . info - a PHP framework with Smarty
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|