cvs: smarty / NEWS /libs Smarty.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1109452728@cvsserver>
messju		Sat Feb 26 16:18:48 2005 EDT

  Modified files:              
    /smarty	NEWS 
    /smarty/libs	Smarty.class.php 
  Log:
  add "null" as a valid token for {if} when security is enabled
  
  
  
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.490&r2=1.491&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.490 smarty/NEWS:1.491
--- smarty/NEWS:1.490	Fri Feb 25 12:08:27 2005
+++ smarty/NEWS	Sat Feb 26 16:18:47 2005
@@ -1,3 +1,4 @@
+  - add "null" as a valid token for {if} when security is enabled (messju)
   - add javascript_charcode encoding option to mailto function
     (monte)
   - add ids to html_radios labels (monte, menulis)
http://cvs.php.net/diff.php/smarty/libs/Smarty.class.php?r1=1.512&r2=1.513&ty=u
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.512 smarty/libs/Smarty.class.php:1.513
--- smarty/libs/Smarty.class.php:1.512	Thu Feb  3 10:14:43 2005
+++ smarty/libs/Smarty.class.php	Sat Feb 26 16:18:48 2005
@@ -30,7 +30,7 @@
  * @version 2.6.8-dev
  */
 
-/* $Id: Smarty.class.php,v 1.512 2005/02/03 15:14:43 mohrt Exp $ */
+/* $Id: Smarty.class.php,v 1.513 2005/02/26 21:18:48 messju Exp $ */
 
 /**
  * DIR_SEP isn't used anymore, but third party apps might
@@ -232,7 +232,7 @@
                                                                'isset', 'empty',
                                                                'count', 'sizeof',
                                                                'in_array', 'is_array',
-                                                               'true','false'),
+                                                               'true', 'false', 'null'),
                                     'INCLUDE_ANY'     => false,
                                     'PHP_TAGS'        => false,
                                     'MODIFIER_FUNCS'  => array('count'),

-- 
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.