fixed handling of integer-attributes

This commit is contained in:
messju
2004-02-23 23:17:19 +00:00
parent fff19de349
commit d02633999c

View File

@@ -42,6 +42,17 @@ function smarty_function_popup($params, &$smarty)
case 'textfont': case 'textfont':
case 'captionfont': case 'captionfont':
case 'closefont': 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 'textsize':
case 'captionsize': case 'captionsize':
case 'closesize': case 'closesize':
@@ -50,23 +61,15 @@ function smarty_function_popup($params, &$smarty)
case 'border': case 'border':
case 'offsetx': case 'offsetx':
case 'offsety': case 'offsety':
case 'fgbackground':
case 'bgbackground':
case 'inarray':
case 'caparray':
case 'capicon':
case 'snapx': case 'snapx':
case 'snapy': case 'snapy':
case 'fixx': case 'fixx':
case 'fixy': case 'fixy':
case 'background':
case 'padx': case 'padx':
case 'pady': case 'pady':
case 'frame':
case 'timeout': case 'timeout':
case 'delay': case 'delay':
case 'function': $append .= ',' . strtoupper($_key) . ",$_value";
$append .= ',' . strtoupper($_key) . ",'$_value'";
break; break;
case 'sticky': case 'sticky':