cvs: smarty / NEWS /libs/plugins function.popup.php
"boots" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsboots1102363752@cvsserver> |
boots Mon Dec 6 15:09:12 2004 EDT
Modified files:
/smarty NEWS
/smarty/libs/plugins function.popup.php
Log:
- fixed {popup} to properly handle inarray and function parameters and added support for mouseoff and followmouse options
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.479&r2=1.480&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.479 smarty/NEWS:1.480
--- smarty/NEWS:1.479 Wed Oct 13 15:49:55 2004
+++ smarty/NEWS Mon Dec 6 15:09:11 2004
@@ -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)
----------------------------
http://cvs.php.net/diff.php/smarty/libs/plugins/function.popup.php?r1=1.14&r2=1.15&ty=u
Index: smarty/libs/plugins/function.popup.php
diff -u smarty/libs/plugins/function.popup.php:1.14 smarty/libs/plugins/function.popup.php:1.15
--- smarty/libs/plugins/function.popup.php:1.14 Fri Apr 16 04:00:51 2004
+++ smarty/libs/plugins/function.popup.php Mon Dec 6 15:09:12 2004
@@ -25,7 +25,11 @@
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 @@
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 @@
case 'fullhtml':
case 'hauto':
case 'vauto':
+ case 'mouseoff':
+ case 'followmouse':
if ($_value) $append .= ',' . strtoupper($_key);
break;
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php