Updated html_options / escape plugin

From: Date: Wed, 28 Aug 2002 20:04:13 +0000
Subject: Updated html_options / escape plugin
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5863@lists.php.net to get a copy of this message
Hello, I've modified the escape plugin slightly to allow escaping of array values and have added new param to html_options to allow escaping of option output values (using the escape modifier) eg. {html_options options=$contacts|escape:'html' selected=$contactKey} ...OR... {html_options options=$contacts selected=$contactKey escape='html'} The modified files are attached if anyone is interested. It might be useful to allow all modifiers to accept an array so that they could be used with html_options -RichardW. ps. My version of the escape modifier won't work with multidimensional arrays. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com

Attachment: [application/x-zip-compressed] smarty_plugins_update.20020828.zip smarty_plugins_update.20020828.zip
« previous php.smarty.general (#5863) next »