From d02633999c22235c12011d4605e0c2d1ec4eafd5 Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 23 Feb 2004 23:17:19 +0000 Subject: [PATCH] fixed handling of integer-attributes --- libs/plugins/function.popup.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/libs/plugins/function.popup.php b/libs/plugins/function.popup.php index 90323ce5..80bd62aa 100644 --- a/libs/plugins/function.popup.php +++ b/libs/plugins/function.popup.php @@ -42,6 +42,17 @@ function smarty_function_popup($params, &$smarty) case 'textfont': case 'captionfont': case 'closefont': + case 'fgbackground': + case 'bgbackground': + case 'inarray': + case 'caparray': + case 'capicon': + case 'background': + case 'frame': + case 'function': + $append .= ',' . strtoupper($_key) . ",'$_value'"; + break; + case 'textsize': case 'captionsize': case 'closesize': @@ -50,23 +61,15 @@ function smarty_function_popup($params, &$smarty) case 'border': case 'offsetx': case 'offsety': - case 'fgbackground': - case 'bgbackground': - case 'inarray': - case 'caparray': - case 'capicon': case 'snapx': case 'snapy': case 'fixx': case 'fixy': - case 'background': case 'padx': case 'pady': - case 'frame': case 'timeout': case 'delay': - case 'function': - $append .= ',' . strtoupper($_key) . ",'$_value'"; + $append .= ',' . strtoupper($_key) . ",$_value"; break; case 'sticky':