Fixup some naming.

This commit is contained in:
andrey
2002-02-20 22:24:32 +00:00
parent 2c3bd85dee
commit ffe52be500
18 changed files with 142 additions and 146 deletions
+3 -4
View File
@@ -8,12 +8,12 @@
* Purpose: make text pop up in windows via overlib
* -------------------------------------------------------------
*/
function smarty_function_popup($args, &$smarty_obj)
function smarty_function_popup($params, &$smarty)
{
extract($args);
extract($params);
if (empty($text) && !isset($inarray) && empty($function)) {
$smarty_obj->_trigger_error_msg("overlib: attribute 'text' or 'inarray' or 'function' required");
$smarty->trigger_error("overlib: attribute 'text' or 'inarray' or 'function' required");
return false;
}
@@ -68,7 +68,6 @@ function smarty_function_popup($args, &$smarty_obj)
if (!empty($hauto)) { echo ",HAUTO"; }
if (!empty($vauto)) { echo ",VAUTO"; }
echo ');" onMouseOut="nd();"';
return;
}
/* vim: set expandtab: */