First, create a checkbox that inherits it's checked status:
<input type="checkbox" name="hidesum" value="on"
£post.hidesum~[checked]> hide summaries</input>
-->
|
Make sure that the
hidesum
option is passed between search results pages:
<!--SET NEXT-INHERIT--$post.hidesum~[&hidesum=]-->
|
Check the option for each search result in order to decide whether the summaries should be output or not:
<!--SET MAP--
<dl><dt>
$recent <a href="$url" target="_new"><b>$title</b></a> $quality%
£post.hidesum|ISon^[
<dd>
<font size="1">$header ... <br><font color="gray">$size bytes; modified: $modif</font>
<br>url: <a href="$url" target="_new">$url</a>
</font>
]
</dl>-->
|
Using this example, you can implement lots of useful features that search engines advertise as being separate.