diff templates/search.tmpl @ 3368:887da2247b57

hgweb: Keep session variables (currently only style) in HTML forms, too. Adjusted default and gitweb template for this.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 11 Oct 2006 20:59:37 +0200
parents 46188b9528ca
children ce8f31e0b3b8
line wrap: on
line diff
--- a/templates/search.tmpl	Wed Oct 11 20:53:02 2006 +0200
+++ b/templates/search.tmpl	Wed Oct 11 20:59:37 2006 +0200
@@ -13,6 +13,7 @@
 <h2>searching for #query|escape#</h2>
 
 <form>
+{sessionvars%hiddenformentry}
 <p>
 search:
 <input name="rev" type="text" width="30" value="#query|escape#">
@@ -22,6 +23,7 @@
 #entries#
 
 <form>
+{sessionvars%hiddenformentry}
 <p>
 search:
 <input name="rev" type="text" width="30" value="#query|escape#">