mcramer
2013-07-08 c3c49fe822e7e333fac4a10e7cca9f46debc6819
refs
author mcramer <m.cramer@pixcept.de>
Monday, July 8, 2013 09:55 -0400
committer mcramer <m.cramer@pixcept.de>
Monday, July 8, 2013 09:55 -0400
commitc3c49fe822e7e333fac4a10e7cca9f46debc6819
tree 462bd193bebb3fe21606ce72c2cdb2268a55180a tree | zip | gz
parent ed1260a13c005e5cdbdafacf28fbbdc1ddbe2d56 view | diff
- Implemented element counter variable for loops
->setLoop('abc', $content);
will automatically add a
->setVar('_abc', count($content))
IMPORTANT: template variables and loop names starting with _ are not allowed anymore, those are reserved for the counters!


1 files modified
8 ■■■■■ changed files
interface/lib/classes/tpl.inc.php 8 ●●●●● diff | view | raw | blame | history