summaryrefslogtreecommitdiff
path: root/root/search
diff options
context:
space:
mode:
Diffstat (limited to 'root/search')
-rw-r--r--root/search10
1 files changed, 10 insertions, 0 deletions
diff --git a/root/search b/root/search
new file mode 100644
index 0000000..198bc35
--- /dev/null
+++ b/root/search
@@ -0,0 +1,10 @@
+<div id="search[% IF local; '-local'; END %]">
+ <form action="[% href.search() %]" method="get">
+ <p>
+ <label for="term">Search:</label>
+ <input type="text" id="term" name="q" size="30" />
+ <input type="hidden" name="tags" value="[% IF local; FOR tag IN tagset.tags; tag.pk _ ' '; END; END %]" />
+ <input type="submit" name="go" value=">" />
+ </p>
+ </form>
+</div> \ No newline at end of file