added hash_base system (base refs gets stored in the _SESSION)
[phpgitweb.git] / htdocs / templates / default / main.tpl
index 38f7b5888bdc2f7db4de4b98256bb123cf9e1d9c..ae7ea9b64a146d104722c1e6aafd89854f1a33a3 100644 (file)
@@ -62,7 +62,7 @@ Rendertime: %rendertime% sec
 <div class="search">
 <input name="p" type="hidden" value="%project%" />
 <input name="a" type="hidden" value="search" />
-<input name="h" type="hidden" value="%project_head%" />
+<input name="h" type="hidden" value="%commit_base_id%" />
 <select name="st" >
 <option selected="selected" value="commit">commit</option>
 <option value="grep">grep</option>
@@ -79,7 +79,7 @@ Rendertime: %rendertime% sec
 </div>
 
 # [project_header_nav_link]
-<a href="/?p=%project%&a=%link%&h=%project_head%">%name%</a>
+<a href="/?p=%project%&a=%link%%link_add%">%name%</a>
 
 # [project_header_nav_active]
 %name%