update plugins to return values instead of echo, fix config file cache

to include global config variables in cache file
This commit is contained in:
mohrt
2003-01-08 17:34:45 +00:00
parent 2cad634805
commit b579c0f51d
26 changed files with 168 additions and 150 deletions

View File

@@ -86,7 +86,9 @@ function smarty_function_cycle($params, &$smarty)
}
if($print) {
echo $cycle_array[$cycle_vars[$name]['index']];
$retval = $cycle_array[$cycle_vars[$name]['index']];
} else {
$retval = null;
}
if($advance) {
@@ -96,6 +98,8 @@ function smarty_function_cycle($params, &$smarty)
$cycle_vars[$name]['index']++;
}
}
return $retval;
}
/* vim: set expandtab: */