mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54: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)
|
Version 2.6.6 (Oct 13, 2004)
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
@@ -25,7 +25,11 @@ function smarty_function_popup($params, &$smarty)
|
|||||||
switch ($_key) {
|
switch ($_key) {
|
||||||
case 'text':
|
case 'text':
|
||||||
case 'trigger':
|
case 'trigger':
|
||||||
|
case 'function':
|
||||||
|
case 'inarray':
|
||||||
$$_key = (string)$_value;
|
$$_key = (string)$_value;
|
||||||
|
if ($_key == 'function' || $_key == 'inarray')
|
||||||
|
$append .= ',' . strtoupper($_key) . ",'$_value'";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'caption':
|
case 'caption':
|
||||||
@@ -44,12 +48,10 @@ function smarty_function_popup($params, &$smarty)
|
|||||||
case 'closefont':
|
case 'closefont':
|
||||||
case 'fgbackground':
|
case 'fgbackground':
|
||||||
case 'bgbackground':
|
case 'bgbackground':
|
||||||
case 'inarray':
|
|
||||||
case 'caparray':
|
case 'caparray':
|
||||||
case 'capicon':
|
case 'capicon':
|
||||||
case 'background':
|
case 'background':
|
||||||
case 'frame':
|
case 'frame':
|
||||||
case 'function':
|
|
||||||
$append .= ',' . strtoupper($_key) . ",'$_value'";
|
$append .= ',' . strtoupper($_key) . ",'$_value'";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -84,6 +86,8 @@ function smarty_function_popup($params, &$smarty)
|
|||||||
case 'fullhtml':
|
case 'fullhtml':
|
||||||
case 'hauto':
|
case 'hauto':
|
||||||
case 'vauto':
|
case 'vauto':
|
||||||
|
case 'mouseoff':
|
||||||
|
case 'followmouse':
|
||||||
if ($_value) $append .= ',' . strtoupper($_key);
|
if ($_value) $append .= ',' . strtoupper($_key);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user