Trying again on some changes that wouldn't patch earlier

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2007-12-03 17:02:37 -06:00 committed by Joshua Ferraro
parent 8ebb01d71a
commit 36724260f7
21 changed files with 238 additions and 125 deletions

View File

@ -1,3 +1,5 @@
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1>
<!-- Begin Acquisitions Resident Search Box -->
<div id="header_search">
<div id="supplier_search" class="residentsearch">

View File

@ -1,4 +1,5 @@
<!-- Begin Acquisitions Resident Search Box -->
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Acquisitions Resident Search Box -->
<div id="header_search">
<div id="supplier_search" class="residentsearch">
<p class="tip">Search suppliers:</p>

View File

@ -1,5 +1,6 @@
<!-- Begin Fund Admin Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Fund Admin Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script> <!-- /TMPL_IF -->
</script> <!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="bookfund_search" class="residentsearch">
<p class="tip">Search Funds:</p>
@ -73,6 +74,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -94,17 +96,20 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<!-- /TMPL_IF -->
</form>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
</div><!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/aqbookfund.pl#bookfund_search">Search Funds</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Suggestions Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Catalogue Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><!-- TMPL_IF NAME="CAN_user_circulate" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Catalogue Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {

View File

@ -1,5 +1,6 @@
<!-- Begin Cataloging Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Cataloging Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="addbooks_search" class="residentsearch">
<p class="tip">Search the catalog and the reservoir:</p>
@ -51,6 +52,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" value="Search" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -71,10 +73,11 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/catalogue/search.pl#addbooks_search">Cataloguing Search</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Cataloging Resident Search Box -->

View File

@ -1,6 +1,5 @@
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Checkin Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><!-- TMPL_IF NAME="CAN_user_circulate" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {

View File

@ -1,6 +1,6 @@
<!-- Begin Circulation Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Circulation Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -43,10 +43,10 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -67,28 +67,28 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="checkin_search" class="residentsearch">
<p class="tip">Scan a barcode to check in:</p>
<form method="post" action="/cgi-bin/koha/circ/returns.pl">
<input name="barcode" id="ret_barcode" size="40" maxlength="14" />
<input value="Submit" type="submit" />
</form>
</div>
</div><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" />
<input type="submit" class="form-submit" value="Submit"/>
</form>
</div>
</div><!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/circ/returns.pl#checkin_search">Check In</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/returns.pl#checkin_search">Check In</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>

View File

@ -1,5 +1,6 @@
<!-- Begin Cities Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Cities Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="city_search" class="residentsearch">
<p class="tip">City Search:</p>
@ -51,6 +52,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="submit" value="OK" class="button" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -71,18 +73,19 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
</div><!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/cities.pl#city_search">Search Cities</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Cities Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Currencies Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Currencies Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="currency_search" class="residentsearch">
<p class="tip">Currencies Search:</p>
@ -51,6 +52,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="Search" value="Search" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -71,18 +73,19 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
</div><!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/currency.pl#currency_search">Search Currencies</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Currencies Resident Search Box -->

View File

@ -19,4 +19,4 @@
</ul>
</div>
<div id="login"><!-- TMPL_IF NAME="AutoLocation" --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong><!-- TMPL_ELSE --><!-- TMPL_IF NAME="IndependantBranches" --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong><!-- TMPL_ELSE --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong> (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set</a>)<!-- /TMPL_IF --><!-- /TMPL_IF --> | <!-- TMPL_IF NAME="loggedinusername" --><span class="loggedinusername"><!-- TMPL_VAR NAME="loggedinusername" --></span> (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>) | <!-- TMPL_ELSE -->You are not logged in | <!-- /TMPL_IF --><a href="/cgi-bin/koha/help.pl" id="helper" onclick="window.open('/cgi-bin/koha/help.pl','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); return false;">[ ? ]</a></div></div>
<div id="login"><!-- TMPL_IF NAME="AutoLocation" --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong><!-- TMPL_ELSE --><!-- TMPL_IF NAME="IndependantBranches" --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong><!-- TMPL_ELSE --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong> (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set</a>)<!-- /TMPL_IF --><!-- /TMPL_IF --> | <!-- TMPL_IF NAME="loggedinusername" --><span class="loggedinusername"><!-- TMPL_VAR NAME="loggedinusername" --></span> (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>) | <!-- TMPL_ELSE -->You are not logged in | <!-- /TMPL_IF --><a href="/cgi-bin/koha/help.pl" id="helper" onclick="window.open('/cgi-bin/koha/help.pl','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); return false;">[ ? ]</a></div></div>

View File

@ -1,5 +1,6 @@
<!-- Begin Notices Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Notices Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="notices_search" class="residentsearch">
<p class="tip">Search Existing Notices:</p>
@ -51,6 +52,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="Search" value="Search" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -71,18 +73,19 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="submit" name="op" value="Submit" class="form-submit" />
</form>
</div>
</div><!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/currency.pl#notices_search">Search Notices</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Notices Resident Search Box -->

View File

@ -40,8 +40,8 @@ function confirm_reregistration() {
var moremenu = [
{ text: "Renew Patron", onclick: { fn: confirm_reregistration } },
{ text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->",<!-- TMPL_IF NAME="CAN_user_permission" --><!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_UNLESS NAME="CAN_user_staffaccess" -->disabled: true, <!-- /TMPL_UNLESS--><!-- TMPL_ELSE --> disabled: true, <!-- /TMPL_IF-->},
{ text: "Delete", <!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_UNLESS NAME="CAN_user_staffaccess" -->disabled: true, <!-- /TMPL_UNLESS --><!-- /TMPL_IF --> onclick: { fn: confirm_deletion } },
{ text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->",<!-- TMPL_UNLESS NAME="CAN_user_permission" -->disabled: true, <!-- /TMPL_UNLESS -->},
{ text: "Delete", onclick: { fn: confirm_deletion } },
]
new YAHOO.widget.Button({
@ -64,12 +64,11 @@ function confirm_reregistration() {
<!-- TMPL_IF name="adultborrower" -->new YAHOO.widget.Button("addchild");<!-- /TMPL_IF -->
new YAHOO.widget.Button("editpatron");
new YAHOO.widget.Button("addnote");
<!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_IF NAME="CAN_user_staffaccess" --> new YAHOO.widget.Button("changepassword"); <!-- /TMPL_IF-->
<!-- TMPL_ELSE--> new YAHOO.widget.Button("changepassword"); <!-- /TMPL_IF -->
new YAHOO.widget.Button("printslip");
new YAHOO.widget.Button("changepassword");
new YAHOO.widget.Button("printslilp");
new YAHOO.widget.Button("printpage");
new YAHOO.widget.Button("renewpatron");
<!-- TMPL_IF NAME="CAN_user_permission" --><!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_IF NAME="CAN_user_staffaccess" --> new YAHOO.widget.Button("patronflags");<!-- /TMPL_IF--><!-- TMPL_ELSE--> new YAHOO.widget.Button("patronflags");<!-- /TMPL_IF --> <!-- /TMPL_IF -->
new YAHOO.widget.Button("patronflags");
new YAHOO.widget.Button("deletepatron");
}
@ -92,10 +91,8 @@ function confirm_reregistration() {
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- <li><a id="addnote" href="/cgi-bin/koha/members/addnotes.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Add Note</a></li> -->
<!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_IF NAME="CAN_user_staffaccess" --><li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Change Password</a></li> <!-- /TMPL_IF--><!-- /TMPL_IF-->
<li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Change Password</a></li>
<li id="printmenuc"><a id="printpage" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page">Print Page</a></li>
<li><a id="printslip" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip">Print Slip</a></li>
<li id="moremenuc"><a id="renewpatron" href="/cgi-bin/koha/members/moremember.pl?reregistration=y&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew Account</a></li>
<!-- TMPL_IF NAME="CAN_user_permission" --><!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_IF NAME="CAN_user_staffaccess" --><li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Set Permissions</a></li> <!-- /TMPL_IF--><!-- TMPL_ELSE--><li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Set Permissions</a></li><!-- /TMPL_IF --> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="StaffMember" --><!-- TMPL_IF NAME="CAN_user_staffaccess" --><li><a id="deletepatron" href="javascript:confirm_deletion();">Delete</a></li> <!-- /TMPL_IF--><!-- TMPL_ELSE--> <li><a id="deletepatron" href="javascript:confirm_deletion();">Delete</a></li> <!-- /TMPL_IF-->
<li id="moremenuc"><a id="renewpatron" href="/cgi-bin/koha/members/moremember.pl?reregistration=y&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew Account</a></li><!-- TMPL_IF NAME="CAN_user_permission" --><li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Set Permissions</a></li><!-- /TMPL_IF --><li><a id="deletepatron" href="javascript:confirm_deletion();">Delete</a></li>
</ul></div>

View File

@ -1,5 +1,6 @@
<!-- Begin Patrons Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Patrons Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="patron_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
@ -56,6 +57,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Search" type="submit" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -76,18 +78,19 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="submit" name="op" id="opac-submit" value="Submit" class="form-submit" />
</form>
</div>
</div><!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/members/members-home.pl#patron_search">Search Patrons</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/advsearch.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/advsearch.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Patrons Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Patrons Admin Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Patrons Admin Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="patron_category_search" class="residentsearch">
<p class="tip">Search by Patron Category Name:</p>
@ -51,6 +52,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="search" value="Search" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -71,18 +73,19 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
</div><!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/categorie.pl#patron_category_search">Search Patron Categories</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Patrons Admin Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Printers Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Printers Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="printer_search" class="residentsearch">
<p class="tip">Printer Search:</p>
@ -51,6 +52,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="submit" value="Search" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -71,7 +73,9 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
@ -79,10 +83,11 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/printers.pl#printer_search">Search Printers</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Printers Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Roads Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Roads Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="roadtype_search" class="residentsearch">
<p class="tip">Road Type Search:</p>
@ -51,6 +52,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="submit" value="OK" class="button" />
</form>
</div>
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
@ -71,7 +73,9 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
@ -79,10 +83,11 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/roadtype.pl#roadtype_search">Search Road Types</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Roads Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Serials Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Serials Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,14 +43,15 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="subscription_search" class="residentsearch">
<p class="tip">Search Subscriptions:</p>
<form action="/cgi-bin/koha/serials/serials-home.pl" method="get"><!-- TMPL_IF NAME="routing" --><input type="hidden" name="routing" value="<!-- TMPL_VAR NAME="routing" -->" /><!-- /TMPL_IF --><input type="hidden" name="searched" value="1" /> <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="<!-- TMPL_VAR name="ISSN_filter" -->" /> <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="<!-- TMPL_VAR name="title_filter" -->" /><input type="submit" value="Search" class="button" />
</form>
</div>
<div id="circ_search" class="residentsearch">
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<!-- TMPL_IF NAME="CircAutocompl" -->
@ -69,7 +71,9 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
@ -77,10 +81,11 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/serials/serials-home.pl#subscription_search">Search Subscriptions</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Serials Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Stopwords Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Stopwords Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -41,7 +42,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
this.oAutoComp.formatResult = this.fnCustomFormatter;
}
}); //]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="stopword_search" class="residentsearch">
<p class="tip">Stop word search:</p>
@ -50,7 +51,8 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="ok" value="Search" />
</form>
</div>
<div id="circ_search" class="residentsearch">
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<!-- TMPL_IF NAME="CircAutocompl" -->
@ -70,7 +72,9 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
@ -78,10 +82,11 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/roadtype.pl#stopword_search">Search Stop Words</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Stopwords Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Suggestions Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Suggestions Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -42,7 +43,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
}
});
//]]>
</script> <!-- /TMPL_IF -->
</script> <!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="suggestions_search" class="residentsearch">
<p class="tip">Suggestions Search:</p>
@ -53,7 +54,8 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" class="button" value="Search" />
</form>
</div>
<div id="circ_search" class="residentsearch">
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<!-- TMPL_IF NAME="CircAutocompl" -->
@ -73,7 +75,9 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
@ -81,10 +85,11 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=<!-- TMPL_VAR NAME="supplierid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->#suggestions_search">Search Suggestions</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Suggestions Resident Search Box -->

View File

@ -1,5 +1,6 @@
<!-- Begin Stopwords Resident Search Box -->
<!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin Stopwords Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
@ -41,7 +42,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
this.oAutoComp.formatResult = this.fnCustomFormatter;
}
}); //]]>
</script><!-- /TMPL_IF -->
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="syspref_search" class="residentsearch">
<p class="tip">System preference search:</p>
@ -51,7 +52,8 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" name="ok" value="Search" />
</form>
</div>
<div id="circ_search" class="residentsearch">
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<!-- TMPL_IF NAME="CircAutocompl" -->
@ -71,7 +73,9 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
@ -79,10 +83,11 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/roadtype.pl#syspref_search">Search System Preferences</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Stopwords Resident Search Box -->

View File

@ -1,4 +1,49 @@
<!-- Begin Members Resident Search Box -->
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1><!-- Begin z3950 Admin Resident Search Box -->
<!-- TMPL_IF NAME="CAN_user_circulate" --><!-- TMPL_IF NAME="CircAutocompl" --><script type="text/javascript">
//<![CDATA[
YAHOO.util.Event.onContentReady("header_search", function() {
new function() {
// Define a custom formatter function
this.fnCustomFormatter = function(oResultItem, sQuery) {
var name = oResultItem[0];
var cardnumber = oResultItem[1];
var address = oResultItem[2];
var city = oResultItem[3];
var zip = oResultItem[4];
var aMarkup = [
"<div class=\"sample-result\">",
name,
" (",
cardnumber,
")<small> -- ",
address,
", ",
city,
"</small>",
"</div>"];
return (aMarkup.join(""));
};
// Instantiate one XHR DataSource and define schema as an array:
// ["Record Delimiter",
// "Field Delimiter"]
this.oACDS = new YAHOO.widget.DS_XHR("/cgi-bin/koha/circ/ysearch.pl", ["\n", "\t"]);
this.oACDS.responseType = YAHOO.widget.DS_XHR.TYPE_FLAT;
this.oACDS.maxCacheEntries = 60;
this.oACDS.queryMatchSubset = true;
// Instantiate first AutoComplete
var myInput = document.getElementById('findborrower');
var myContainer = document.getElementById('yborrowercontainer');
this.oAutoComp = new YAHOO.widget.AutoComplete(myInput,myContainer,this.oACDS);
//this.oAutoComp.delimChar = ";";
//this.oAutoComp.queryDelay = 1;
this.oAutoComp.formatResult = this.fnCustomFormatter;
}
});
//]]>
</script><!-- /TMPL_IF --><!-- /TMPL_IF -->
<div id="header_search">
<div id="z3950_search" class="residentsearch">
<p class="tip">Z39.50 Server Search:</p>
@ -7,16 +52,30 @@
<input type="submit" name="search" value="Search" />
</form>
</div>
<div id="circ_search" class="residentsearch">
<!-- TMPL_IF NAME="CAN_user_circulate" -->
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<label for="findborrower"> </label>
<input id="findborrower" name="findborrower" size="40" class="focus" type="text" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
<input value="Submit" type="submit" />
</form>
</div>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<!-- TMPL_IF NAME="CircAutocompl" -->
<div class="autocomplete">
<div id="borrowerautocomplete" class="autocomplete">
<input autocomplete="off" id="findborrower" name="findborrower" class="focus" type="text" />
<div id="yborrowercontainer"></div>
<input id="ysearchsubmit" type="submit" value="Submit" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
</div>
</div>
<!-- TMPL_ELSE -->
<input id="findborrower" name="findborrower" size="40" class="focus" type="text" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
<input value="Submit" type="submit" />
<!-- /TMPL_IF -->
</form>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" -->
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
@ -24,10 +83,11 @@
<input type="submit" value="Submit" class="form-submit" />
</form>
</div>
<!-- /TMPL_IF -->
<ul>
<li><a href="/cgi-bin/koha/admin/z3950servers.pl#z3950_search">Search z390.50 Servers</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>
<!-- TMPL_IF NAME="CAN_user_circulate" --><li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_catalogue" --><li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li><!-- /TMPL_IF -->
</ul>
</div>
<!-- End Members Resident Search Box -->