xoops forums

Agent00

Just popping in
Posted on: 2006/3/24 15:44
Agent00
Agent00 (Show more)
Just popping in
Posts: 9
Since: 2005/11/16
#1

Needs help explains some codes!!

<{foreach item=module from=$block.modules}>
<li><a href="<{$module.adminlink}>"><{$module.lang_linkname}></a>: <{$module.pendingnum}></li>
<{/foreach}>

(Can anybody explains to me what all those codes means. Especially, the one in brackets {}, I'm confuse about those. Thanks)

Jason

Dave_L

XOOPS is my life!
Posted on: 2006/3/24 15:55
Dave_L
Dave_L (Show more)
XOOPS is my life!
Posts: 2277
Since: 2003/11/7
#2

Re: Needs help explains some codes!!

Short answer, just to get you started:

Those are Smarty tags. Smarty is a template processor that XOOPS uses. Here's the Smarty web site: http://smarty.php.net/

Note that XOOPS sets the Smarty tag delimiters to <{ and }>, rather than using the defaults { and }.

Agent00

Just popping in
Posted on: 2006/3/24 18:32
Agent00
Agent00 (Show more)
Just popping in
Posts: 9
Since: 2005/11/16
#3

Re: Needs help explains some codes!!

Thanks Dave, that really help me out........

Jason