mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
fixed handling of integer-attributes
This commit is contained in:
@@ -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':
|
||||||
|
Reference in New Issue
Block a user