1
I'm looking at some sample code in the xoops_members module and in one of the template files, xoopsmembers_searchform.html, there is the following code:
What exactly does the first line do? Please be very verbose.
<{$searchform.javascript}> <== This line, what does it do?
<b><{$searchform.title}></b>
<br /><br />
<form name="<{$searchform.name}>" action="<{$searchform.action}>" method="<{$searchform.method}>" <{$searchform.extra}>>
<table class="outer" cellpadding="4" cellspacing="1">
<!-- start of form elements loop -->
<{foreach item=element from=$searchform.elements}>
<{if $element.hidden != true}>
<tr>
<td class="head"><b><{$element.caption}></b></td>
<td class="<{cycle values="even,odd"}>"><{$element.body}></td>
</tr>
<{else}>
<{$element.body}>
<{/if}>
<{/foreach}>
<!-- end of form elements loop -->
</table>
</form>