|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ar4ikzn Smarty n00b
Joined: 06 Aug 2009 Posts: 1
|
Posted: Thu Aug 06, 2009 7:37 am Post subject: repeat не на
 |
|
|
Code: | {foreach from=$nodelist item=node}
{if $node->current == true}
<li>
{else}
<li>
{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-1} |
Если это smarty объясните пожалуйста как эта схема работает ! |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|