cvs: smarty / NEWS Smarty.class.php /docs designers.sgml

From: Date: Wed, 05 Jun 2002 13:17:19 +0000
Subject: cvs: smarty / NEWS Smarty.class.php /docs designers.sgml
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-125@lists.php.net to get a copy of this message
mohrt Wed Jun 5 09:17:19 2002 EDT Modified files: /smarty NEWS Smarty.class.php /smarty/docs designers.sgml Log: fix 304 Not Modified, don't send content Index: smarty/NEWS diff -u smarty/NEWS:1.203 smarty/NEWS:1.204 --- smarty/NEWS:1.203 Mon Jun 3 12:53:25 2002 +++ smarty/NEWS Wed Jun 5 09:17:17 2002 @@ -1,5 +1,7 @@ - - fixed cycle function to respect delimiter setting - after initial setting (Monte) + - fixed bug with 304 Not Modified response sending + content (Monte) + - fixed cycle function to respect delimiter after + initial setting (Monte) - update $GLOBALS references to work properly with track_globals settings (Michal Prinke, Monte) - fixed bug in math function with call to assign Index: smarty/Smarty.class.php diff -u smarty/Smarty.class.php:1.278 smarty/Smarty.class.php:1.279 --- smarty/Smarty.class.php:1.278 Mon Jun 3 12:42:00 2002 +++ smarty/Smarty.class.php Wed Jun 5 09:17:17 2002 @@ -607,9 +607,9 @@ header("HTTP/1.1 304 Not Modified"); } else { header("Last-Modified: ".$gmt_mtime); + echo $_smarty_results; } } - echo $_smarty_results; error_reporting($_smarty_old_error_level); return true; } else { Index: smarty/docs/designers.sgml diff -u smarty/docs/designers.sgml:1.31 smarty/docs/designers.sgml:1.32 --- smarty/docs/designers.sgml:1.31 Mon Jun 3 12:05:33 2002 +++ smarty/docs/designers.sgml Wed Jun 5 09:17:18 2002 @@ -3729,7 +3729,7 @@ variables used in the equation are passed as parameters, which can be template variables or static values. +, -, /, *, abs, ceil, cos, exp, floor, log, log10, max, min, pi, pow, rand, round, sin, sqrt, - srans and tan are all valid operators. Check the PHP documenation + srans and tan are all valid operators. Check the PHP documentation for further information on these math functions. </para> <para>

« previous php.smarty.cvs (#125) next »