Unify search templates
[gitphp.git] / templates / search.tpl
blob:a/templates/search.tpl -> blob:b/templates/search.tpl
--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -5,6 +5,10 @@
  *
  *  Copyright (C) 2009 Christopher Han <xiphux@gmail.com>
  *}
+
+{include file='header.tpl'}
+
+{* Nav *}
 <div class="page_nav">
   <a href="{$SCRIPT_NAME}?p={$project}&a=summary">summary</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=shortlog&h={$hash}">shortlog</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=log&h={$hash}">log</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=commit&h={$hash}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=commitdiff&h={$hash}">commitdiff</a> | <a href="{$SCRIPT_NAME}?p={$project}&a=tree&h={$treehash}&hb={$hash}">tree</a>
   <br />
@@ -31,7 +35,7 @@
   <a href="{$SCRIPT_NAME}?p={$project}&a=commit&h={$hash}" class="title">{$title}</a>
 </div>
 <table cellspacing="0">
-
+  {* Print each match *}
   {section name=match loop=$commitlines}
     <tr class="{cycle values="light,dark"}">
       <td title="{$commitlines[match].agestringage}"><i>{$commitlines[match].agestringdate}</i></td>
@@ -53,3 +57,6 @@
   {/if}
 </table>
 
+{include file='footer.tpl'}
+
+

comments