summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-05 18:42:18 -0400
committerJoey Hess <joey@kitenet.net>2010-05-05 18:42:18 -0400
commit5971a731e98b9b6543d78572c181ffc1bb7e1dd1 (patch)
tree3e43e9c2b1c07f3c672211fa8e6f977226c19027 /templates
parent9257381e8d6e0ec18eac699e22aca63873859e32 (diff)
allow search form visibility to be controlled on the template
hide extrafooter from misctemplate display per default
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index f5257058c..eb76cafa6 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -52,9 +52,11 @@
</TMPL_IF>
</span>
</span>
+<TMPL_IF ISPAGE>
<TMPL_IF NAME="SEARCHFORM">
<TMPL_VAR SEARCHFORM>
</TMPL_IF>
+</TMPL_IF>
<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF NAME="HAVE_ACTIONS">
@@ -184,8 +186,8 @@ Last edited <TMPL_VAR MTIME>
</div>
<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
-</TMPL_IF>
<TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
+</TMPL_IF>
<!-- from <TMPL_VAR WIKINAME> -->
<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>