[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-cvs
Subject: [SMARTY-CVS] cvs: smarty / NEWS /plugins function.cycle.php
From: "Monte Ohrt" <monte () ispi ! net>
Date: 2002-06-18 18:20:01
[Download RAW message or body]
mohrt Tue Jun 18 14:20:01 2002 EDT
Modified files:
/smarty NEWS
/smarty/plugins function.cycle.php
Log:
gave $reset a default value in cycle function
Index: smarty/NEWS
diff -u smarty/NEWS:1.207 smarty/NEWS:1.208
--- smarty/NEWS:1.207 Tue Jun 18 10:15:57 2002
+++ smarty/NEWS Tue Jun 18 14:20:01 2002
@@ -1,3 +1,4 @@
+ - gave $reset a default value in cycle plugin (Monte)
- fixed warnings with html_select_date and timestamp
functions (Monte)
- added support for sub directory exlusion format (Monte)
Index: smarty/plugins/function.cycle.php
diff -u smarty/plugins/function.cycle.php:1.10 smarty/plugins/function.cycle.php:1.11
--- smarty/plugins/function.cycle.php:1.10 Mon Jun 3 12:53:53 2002
+++ smarty/plugins/function.cycle.php Tue Jun 18 14:20:01 2002
@@ -46,7 +46,11 @@
if (!isset($advance)) {
$advance = true;
}
-
+
+ if (!isset($reset)) {
+ $reset = false;
+ }
+
if (!in_array('values', array_keys($params))) {
if(!isset($cycle_vars[$name]['values'])) {
$smarty->trigger_error("cycle: missing 'values' parameter");
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic