cvs: smarty /libs/plugins function.popup.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1077578239@cvsserver>
messju		Mon Feb 23 18:17:19 2004 EDT

  Modified files:              
    /smarty/libs/plugins	function.popup.php 
  Log:
  fixed handling of integer-attributes
  
  
http://cvs.php.net/diff.php/smarty/libs/plugins/function.popup.php?r1=1.11&r2=1.12&ty=u
Index: smarty/libs/plugins/function.popup.php
diff -u smarty/libs/plugins/function.popup.php:1.11 smarty/libs/plugins/function.popup.php:1.12
--- smarty/libs/plugins/function.popup.php:1.11	Tue Jan 27 17:55:41 2004
+++ smarty/libs/plugins/function.popup.php	Mon Feb 23 18:17:19 2004
@@ -42,6 +42,17 @@
             case 'textfont':
             case 'captionfont':
             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 'captionsize':
             case 'closesize':
@@ -50,23 +61,15 @@
             case 'border':
             case 'offsetx':
             case 'offsety':
-            case 'fgbackground':
-            case 'bgbackground':
-            case 'inarray':
-            case 'caparray':
-            case 'capicon':
             case 'snapx':
             case 'snapy':
             case 'fixx':
             case 'fixy':
-            case 'background':
             case 'padx':
             case 'pady':
-            case 'frame':
             case 'timeout':
             case 'delay':
-            case 'function':
-                $append .= ',' . strtoupper($_key) . ",'$_value'";
+                $append .= ',' . strtoupper($_key) . ",$_value";
                 break;
 
             case 'sticky':

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.