diff templates/search.tmpl @ 3362: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
+++ b/templates/search.tmpl
@@ -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 @@ search:
 #entries#
 
 <form>
+{sessionvars%hiddenformentry}
 <p>
 search:
 <input name="rev" type="text" width="30" value="#query|escape#">