cvs: smarty /libs/plugins function.html_radios.php
| From: | Monte Ohrt | Date: | Wed, 19 Mar 2003 22:56:30 +0000 |
| Subject: | cvs: smarty /libs/plugins function.html_radios.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-480@lists.php.net to get a copy of this message | ||
mohrt Wed Mar 19 17:56:30 2003 EDT
Modified files:
/smarty/libs/plugins function.html_radios.php
Log:
update error messages
Index: smarty/libs/plugins/function.html_radios.php
diff -u smarty/libs/plugins/function.html_radios.php:1.9
smarty/libs/plugins/function.html_radios.php:1.10
--- smarty/libs/plugins/function.html_radios.php:1.9 Wed Mar 19 17:52:22 2003
+++ smarty/libs/plugins/function.html_radios.php Wed Mar 19 17:56:30 2003
@@ -40,7 +40,7 @@
case 'separator':
case 'checked':
if(is_array($_val)) {
- $smarty->trigger_error('the "checked"-attribute cannot be an array.',
E_USER_WARNING);
+ $smarty->trigger_error('html_radio: the "checked" attribute cannot be an
array', E_USER_WARNING);
} else {
$$_key = (string)$_val;
}
@@ -56,7 +56,7 @@
break;
case 'radios':
- $smarty->trigger_error('the use of the "radios"-attribute is deprecated. use
"options" instead', E_USER_WARNING);
+ $smarty->trigger_error('html_radio: the use of the "radios" attribute is
deprecated, use "options" instead', E_USER_WARNING);
$options = (array)$_val;
break;