);
}
+sub search : Local {
+ Carp::croak "Not implemented.";
+}
+
+sub search_help : Local {
+ Carp::croak "Not implemented.";
+}
+
=head2 auto
Populate the header and footer. Perhaps not the best location.
if(defined $project) {
$c->stash(
- search_text => ( $c->req->param('s') || $c->req->param('searchtext') ),
+ search_text => ( $c->req->param('s') || $c->req->param('searchtext') || ''),
search_hash => ( $c->req->param('hb') || $c->req->param('hashbase')
|| $c->req->param('h') || $c->req->param('hash')
|| 'HEAD' ),
<a title="[% logo_label | url %]" href="[% logo_url | url %]"><img src="[% logo_img %]" alt="git" class="logo"/></a>
<a href="[% home_link | url %]">[% home_link_str %]</a>
[%- IF project %]
- / <a href="/?p=[% project %];a=summary">[% project %]</a>
+ / <a href="/summary?p=[% project %]">[% project %]</a>
[% IF action; " / " _ action; END;
END %]
</div>
<option value="author">author</option>
<option value="committer">committer</option>
<option value="pickaxe">pickaxe</option>
- </select><sup><a href="/?p=[% project %];a=search_help">?</a></sup> search:
+ </select><sup><a href="/search_help?p=[% project %]">?</a></sup> search:
<input type="text" name="s" value="[% search_text %]"/>
<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span>
</form>