| ... | in search.naml |
|
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
|
<macro name="set_cookies" parameters="did_search">
<script type="text/javascript">
<n.if.both condition1="[n.not.is_empty.query_param/]" condition2="[n.did_search/]">
<then>
Nabble.setCookie("query", "<n.javascript_string_encode.query_param/>");
Nabble.setCookie("searchterms", "<n.search_terms/>");
</then>
<else>
Nabble.deleteCookie("query");
Nabble.deleteCookie("searchterms");
</else>
</n.if.both>
<n.if.is_author_search>
<then>
Nabble.setCookie("searchuser", "<n.user.search_id/>");
</then>
<else>
Nabble.deleteCookie("searchuser");
</else>
</n.if.is_author_search>
</script>
</macro>
|
| Free forum by Nabble | Edit this page |