mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- fixed {popup} to properly handle inarray and function parameters and added support for mouseoff and followmouse options
This commit is contained in:
3
NEWS
3
NEWS
@@ -1,3 +1,6 @@
|
||||
- fixed {popup} to properly handle inarray and function parameters and added
|
||||
support for mouseoff and followmouse options (boots)
|
||||
|
||||
Version 2.6.6 (Oct 13, 2004)
|
||||
----------------------------
|
||||
|
||||
|
@@ -25,7 +25,11 @@ function smarty_function_popup($params, &$smarty)
|
||||
switch ($_key) {
|
||||
case 'text':
|
||||
case 'trigger':
|
||||
case 'function':
|
||||
case 'inarray':
|
||||
$$_key = (string)$_value;
|
||||
if ($_key == 'function' || $_key == 'inarray')
|
||||
$append .= ',' . strtoupper($_key) . ",'$_value'";
|
||||
break;
|
||||
|
||||
case 'caption':
|
||||
@@ -44,12 +48,10 @@ function smarty_function_popup($params, &$smarty)
|
||||
case 'closefont':
|
||||
case 'fgbackground':
|
||||
case 'bgbackground':
|
||||
case 'inarray':
|
||||
case 'caparray':
|
||||
case 'capicon':
|
||||
case 'background':
|
||||
case 'frame':
|
||||
case 'function':
|
||||
$append .= ',' . strtoupper($_key) . ",'$_value'";
|
||||
break;
|
||||
|
||||
@@ -84,6 +86,8 @@ function smarty_function_popup($params, &$smarty)
|
||||
case 'fullhtml':
|
||||
case 'hauto':
|
||||
case 'vauto':
|
||||
case 'mouseoff':
|
||||
case 'followmouse':
|
||||
if ($_value) $append .= ',' . strtoupper($_key);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user