summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-14 21:42:48 -0400
committerJoey Hess <joey@kitenet.net>2010-05-14 21:42:48 -0400
commit4c6fa6413fc26ddbb1f8dc2c73f97a105c5002f8 (patch)
tree77aaf322a35f671a6ee91ce2ed1b67b8dd012e85 /templates
parentf69c072d8aad7ad68547f17bf60bd804542b064f (diff)
avoid showing redundant search box on search results page
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index f7944e40e..a7d200466 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -48,9 +48,11 @@
</TMPL_IF>
</span>
</span>
+<TMPL_UNLESS SEARCHING>
<TMPL_IF SEARCHFORM>
<TMPL_VAR SEARCHFORM>
</TMPL_IF>
+</TMPL_UNLESS>
<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF HAVE_ACTIONS>