aboutsummaryrefslogtreecommitdiff
path: root/templates/searchquery.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-04 14:13:21 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-04 14:13:21 -0400
commite4119f048c9ddd8795df378ff1ad676dca28de82 (patch)
tree46ac0e2defa99a166985e12a74a278dfb5a86fbd /templates/searchquery.tmpl
parent319e2c94deeffc3ffe1244d8afe27c6007b9b47b (diff)
downloadikiwiki-e4119f048c9ddd8795df378ff1ad676dca28de82.tar
ikiwiki-e4119f048c9ddd8795df378ff1ad676dca28de82.tar.gz
The search interface now allows searching for a page by title ("title:foo"), as well as for pages that contain a given link ("link:bar").
Diffstat (limited to 'templates/searchquery.tmpl')
-rw-r--r--templates/searchquery.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/searchquery.tmpl b/templates/searchquery.tmpl
index 33a7cb6fa..bf36f3330 100644
--- a/templates/searchquery.tmpl
+++ b/templates/searchquery.tmpl
@@ -1,3 +1,5 @@
+$setmap{prefix,title,S}
+$setmap{prefix,link,LINK}
$set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France}
${
$def{PREV,