From c42fb4b2abc530d32f9419e342dec98ef564e574 Mon Sep 17 00:00:00 2001 From: mohrt Date: Wed, 19 Mar 2003 22:58:23 +0000 Subject: [PATCH] fix a few error messages, follow consistancy format plugin_name: errormsg --- libs/plugins/function.html_checkboxes.php | 2 +- libs/plugins/function.html_radios.php | 4 ++-- libs/plugins/function.html_table.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/plugins/function.html_checkboxes.php b/libs/plugins/function.html_checkboxes.php index 52000e3c..027fbeba 100644 --- a/libs/plugins/function.html_checkboxes.php +++ b/libs/plugins/function.html_checkboxes.php @@ -53,7 +53,7 @@ function smarty_function_html_checkboxes($params, &$smarty) 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; diff --git a/libs/plugins/function.html_radios.php b/libs/plugins/function.html_radios.php index f8afae40..d6f519e3 100644 --- a/libs/plugins/function.html_radios.php +++ b/libs/plugins/function.html_radios.php @@ -40,7 +40,7 @@ function smarty_function_html_radios($params, &$smarty) 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 @@ function smarty_function_html_radios($params, &$smarty) 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; diff --git a/libs/plugins/function.html_table.php b/libs/plugins/function.html_table.php index b66cb0c5..34a116ec 100644 --- a/libs/plugins/function.html_table.php +++ b/libs/plugins/function.html_table.php @@ -32,7 +32,7 @@ function smarty_function_html_table($params, &$smarty) extract($params); if (!isset($loop)) { - $smarty->trigger_error("table: missing 'loop' parameter"); + $smarty->trigger_error("html_table: missing 'loop' parameter"); return; }