search_form

NAML documentation   Watch a video
   Usages of this macro
... in spam_searcher.naml
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<macro name="search_form" dot_parameter="do"
 
parameters="style,query,author,starrer,days" requires="node,
 
searcher_tool">
    <form style="[n.style/]"
    
    action="/template/NamlServlet.jtp">
        <input type="hidden" name="macro" value="searcher" />
        <input type="hidden" name="node" value="[n.id
Binary
Namespace: NodeNamespace
/]" />
        <n.hidden_field
Macro
Parameters: name, default_value, value
 name="query" value="[n.query/]" />
        <n.hidden_field
Macro
Parameters: name, default_value, value
 name="author" value="[n.author/]" />
        <n.hidden_field
Macro
Parameters: name, default_value, value
 name="starrer" value="[n.starrer/]"
        
        />
        <n.hidden_field
Macro
Parameters: name, default_value, value
 name="days" value="[n.days/]" />
        <n.do/>
    </form>
</macro>