Koha/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
Paul POULAIN 38884abf65 reverting defaut-search-on-kw-wrdl and doing it elsewhere
The patch default search on kw-wrdl is bugguy, as there ca be 2 idx (maybe an API limit,not sure)

So i've reverted it and added kw,wrdl on every place there is a query (the search boxes)

QUESTION : isn't it possible to have a single query for catalogue, that is TMPL_INCLUDE'd ?

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:07:22 -05:00

24 lines
1.2 KiB
HTML

<div id="masthead-image">
<!-- TMPL_IF NAME="opacsmallimage" -->
<img alt="<!-- TMPL_VAR NAME="LibraryName" -->" src="<!-- TMPL_VAR NAME="opacsmallimage" -->" />
<!-- TMPL_ELSE -->
<img src="/opac-tmpl/<!-- TMPL_VAR name="theme" -->/images/koha-logo-blue.png" alt="koha logo"/>
<!-- /TMPL_IF -->
</div>
<div id="masthead">
<!-- TMPL_VAR NAME="LibraryName" -->
</div>
<div id="opac-main-search">
Search
<!-- TMPL_IF name="mylibraryfirst" --> <!-- TMPL_IF name="loggedinusername" -->(in <!-- TMPL_VAR name="LoginBranchcode" --> only)<!-- /TMPL_IF --><!-- /TMPL_IF -->
<form name="searchform" method="post" action="/cgi-bin/koha/opac-search.pl" id="searchform">
<input type="text" name="q" style="width: 30%;" />
<!-- TMPL_IF name="mylibraryfirst" --><!-- TMPL_IF name="loggedinusername" -->
<input name="limit" value="<!-- TMPL_VAR name="LoginBranchcode" -->" type="hidden" />
<!-- /TMPL_IF --><!-- /TMPL_IF -->
<input type="hidden" name="idx" value="kw,wrdl" />
<input type="submit" value="OK" class="submit" />
</form>
<a href="/cgi-bin/koha/opac-search.pl">more search options</a>
</div>