cvs: smarty /libs/plugins function.html_checkboxes.php function.html_radios.php function.html_table.php
| From: | Monte Ohrt | Date: | Wed, 19 Mar 2003 22:58:23 +0000 |
| Subject: | cvs: smarty /libs/plugins function.html_checkboxes.php function.html_radios.php function.html_table.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-481@lists.php.net to get a copy of this message | ||
mohrt Wed Mar 19 17:58:23 2003 EDT
Modified files:
/smarty/libs/plugins function.html_checkboxes.php
function.html_radios.php
function.html_table.php
Log:
fix a few error messages, follow consistancy format plugin_name: errormsg
Index: smarty/libs/plugins/function.html_checkboxes.php
diff -u smarty/libs/plugins/function.html_checkboxes.php:1.5
smarty/libs/plugins/function.html_checkboxes.php:1.6
--- smarty/libs/plugins/function.html_checkboxes.php:1.5 Tue Mar 18 03:59:00 2003
+++ smarty/libs/plugins/function.html_checkboxes.php Wed Mar 19 17:58:23 2003
@@ -53,7 +53,7 @@
break;
case 'checkboxes':
- $smarty->trigger_error('the use of the "checkboxes"-attribute is
deprecated. use "options" instead', E_USER_WARNING);
+ $smarty->trigger_error('html_checkboxes: the use of the "checkboxes"
attribute is deprecated, use "options" instead', E_USER_WARNING);
$options = (array)$_val;
break;
Index: smarty/libs/plugins/function.html_radios.php
diff -u smarty/libs/plugins/function.html_radios.php:1.10
smarty/libs/plugins/function.html_radios.php:1.11
--- smarty/libs/plugins/function.html_radios.php:1.10 Wed Mar 19 17:56:30 2003
+++ smarty/libs/plugins/function.html_radios.php Wed Mar 19 17:58:23 2003
@@ -40,7 +40,7 @@
case 'separator':
case 'checked':
if(is_array($_val)) {
- $smarty->trigger_error('html_radio: the "checked" attribute cannot be an
array', E_USER_WARNING);
+ $smarty->trigger_error('html_radios: the "checked" attribute cannot be an
array', E_USER_WARNING);
} else {
$$_key = (string)$_val;
}
@@ -56,7 +56,7 @@
break;
case 'radios':
- $smarty->trigger_error('html_radio: the use of the "radios" attribute is
deprecated, use "options" instead', E_USER_WARNING);
+ $smarty->trigger_error('html_radios: the use of the "radios" attribute is
deprecated, use "options" instead', E_USER_WARNING);
$options = (array)$_val;
break;
Index: smarty/libs/plugins/function.html_table.php
diff -u smarty/libs/plugins/function.html_table.php:1.2
smarty/libs/plugins/function.html_table.php:1.3
--- smarty/libs/plugins/function.html_table.php:1.2 Fri Feb 28 10:08:15 2003
+++ smarty/libs/plugins/function.html_table.php Wed Mar 19 17:58:23 2003
@@ -32,7 +32,7 @@
extract($params);
if (!isset($loop)) {
- $smarty->trigger_error("table: missing 'loop' parameter");
+ $smarty->trigger_error("html_table: missing 'loop' parameter");
return;
}