results for opac-zoomsearch.pl

This commit is contained in:
kados 2006-06-05 14:54:39 +00:00
parent 9d8af3fdac
commit 83b7745e7c
1 changed files with 216 additions and 0 deletions

View File

@ -0,0 +1,216 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Results of Search
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!--TMPL_INCLUDE NAME="masthead.inc" -->
<!--TMPL_INCLUDE NAME="navigation.inc" -->
<script language="JavaScript" fptype="dynamicanimation">
var no_biblios_selected = "Select one or more documents to add to your virtual shelves.";
var no_shelves_selected = "Select one or more virtual shelves to add the selected documents.";
/*Add the selected biblionumber to the seleted virtual shelves*/
function addBibliosToShelves(){
shelf_frm = document.shelf_form;
//check for at least one shelf seleted
shelf_sel = false;
for (var i=0; i < shelf_frm.shelfnumber.length; i++) {
if (shelf_frm.shelfnumber[i].checked) {
shelf_sel = true;
break;
}
}
if (shelf_sel) {
shelf_frm.biblios.value = '';
for (var i=0; i < document.myform.bibid.length; i++) {
if (document.myform.bibid[i].checked) {
shelf_frm.biblios.value = shelf_frm.biblios.value + document.myform.bibid[i].value + ",";
}
}
if (shelf_frm.biblios.value == '') {
alert(no_biblios_selected);
} else {
shelf_frm.submit();
}
} else {
alert(no_shelves_selected);
}
}
function show_shelfPanel() {
if (document.getElementById('shelf_panel').style.display == 'block') {
//document.getElementById('shelf_panel').style.visibility = 'hidden';
document.getElementById('shelf_panel').style.display = 'none';
} else {
document.getElementById('shelf_panel').style.display = 'block';
//document.getElementById('shelf_panel').style.visibility = 'visible';
}
}
</script>
<div id="main">
<!-- TMPL_IF name="error" --><div class="error">The server is too busy TRY AGAIN!</div>
<!-- TMPL_ELSE -->
<!-- TMPL_LOOP NAME="searchdesc" -->
<h3>Results for Search: <span class="ex">|&nbsp;
<!-- TMPL_IF name="keyword" -->Keyword = <!-- TMPL_VAR name="keyword" -->&nbsp;|&nbsp;<!-- /TMPL_IF -->
<!-- TMPL_IF name="recently_items" --><!-- TMPL_IF name="class" --><!-- TMPL_VAR name="class_desc" --><!-- TMPL_ELSE -->Ejemplares<!-- /TMPL_IF --> updated in the last <!-- TMPL_VAR name="range" --> days&nbsp;|&nbsp;<!-- TMPL_ELSE -->
<!-- TMPL_IF name="class" --><!-- TMPL_VAR name="class_desc" -->&nbsp;|&nbsp;<!-- /TMPL_IF --><!-- /TMPL_IF -->
<!-- TMPL_IF name="branch" --> Held at <!-- TMPL_VAR name="branch_desc" -->&nbsp;|&nbsp;<!-- /TMPL_IF -->
<!-- TMPL_IF name="isbn" -->ISBN = <!-- TMPL_VAR name="isbn" -->&nbsp;|&nbsp;<!-- /TMPL_IF -->
<!-- TMPL_IF name="itemnumber" -->Barcode = <!-- TMPL_VAR name="itemnumber" -->&nbsp;|&nbsp;<!-- /TMPL_IF -->
<!-- TMPL_IF name="biblionumber" -->Biblio Number = <!-- TMPL_VAR name="biblionumber" -->&nbsp;|&nbsp;<!-- /TMPL_IF -->
<!-- TMPL_IF name="authtype" -->Authority File = <!-- TMPL_VAR name="authtype" -->&nbsp;<!-- TMPL_VAR name="authnumber" -->|&nbsp;<!-- /TMPL_IF -->
<!-- TMPL_IF name="advanced_desc" -->Main information = <!-- TMPL_VAR name="advanced_desc" -->&nbsp;|&nbsp;<!-- /TMPL_IF -->
</span></h3>
<!-- /TMPL_LOOP -->
<div class="pages" >
<!-- Row of numbers corresponding to search result pages -->
<!-- TMPL_LOOP NAME="numbers" --><!-- TMPL_IF NAME="highlight" -->&nbsp;<span class="current"><!-- TMPL_VAR NAME="number" --></span>&nbsp;<!-- TMPL_ELSE --><a class="nav" href="/cgi-bin/koha/opac-catalogue-home.pl?op=do_search&amp;startfrom=<!-- TMPL_VAR NAME="startfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->&amp;pg=<!-- TMPL_VAR NAME="pg" -->"><!-- TMPL_VAR NAME=number --></a> <!-- /TMPL_IF --><!-- /TMPL_LOOP -->
</div>
<div id="results">
<!-- TMPL_IF NAME="numrecords" -->
Results <b><!-- TMPL_VAR NAME="startfrom" --></b> - <b><!-- TMPL_VAR NAME="endat" --></b> of <b><!-- TMPL_VAR NAME="numrecords" --></b> records.
<!-- TMPL_ELSE -->
No results found.
<!-- /TMPL_IF -->
</div>
<!-- TMPL_IF name="shelvescount" -->
<table>
<tr>
<td width="75%">&nbsp;</td>
<td>
<input type="button" value="Add to my virtual shelves" class="button"
style="border:0px;background-color:#F2F0E9;text-align:left;display:block;"
onclick="show_shelfPanel();">
<div class="shelf_panel" id="shelf_panel" style="display:none;">
<form name="shelf_form" action="/cgi-bin/koha/bookshelves/add-biblios-to-shelves.pl" method="post">
<input type="checkbox" name="shelfnumber" value="-1" style="display:none;">
<input type="hidden" name="biblios" value="">
<input type="hidden" name="return_url" value="/cgi-bin/koha/catalogue-home.pl?op=do_search&startfrom=<!-- TMPL_VAR NAME="startfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->">
<span class="style3">Select one or more documents and the virtual shelves you want to add them.</span>
<table>
<!-- TMPL_LOOP name="shelves" -->
<tr>
<td>
<input type="checkbox" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->">
</td>
<td>
<a class="style12" href="/cgi-bin/koha/bookshelves/shelves.pl?op=viewcontent&shelfnumber=<!-- TMPL_VAR name="shelfnumber" -->"><!-- TMPL_VAR name="shelfname" --></a>
</td>
<td>
<!-- TMPL_VAR name="bibliocount" --> documents
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<div align="right" class="style5">
<input type="button" onclick="addBibliosToShelves()" value="Add" style="border:0px;background-color:#4898B0;height:20px;" class="button">
</div>
</form>
</div>
</td>
</tr>
</table>
<!-- /TMPL_IF -->
<!-- Search Results Table -->
<!-- TMPL_IF NAME="numrecords" -->
<!-- TMPL_IF NAME="opacbookbag" -->
<form action="opac-searchresults.pl" method="get" name="myform">
<input type="submit" class="icon addchecked" value="Add Checked Items to Book Bag" onclick="addMultiple(); return false;"> <input type="reset" value="Clear All" class="icon clearall"><!-- /TMPL_IF -->
<table>
<tr>
<!-- TMPL_IF NAME="AmazonContent" -->
<th colspan="3">Title</th>
<!-- TMPL_ELSE -->
<th colspan="2">Title</th>
<!-- /TMPL_IF -->
<th>Author</th>
<th>Call Number</th>
<th>Availability</th>
<th>&nbsp;</th>
</tr>
<!-- Actual Search Results -->
<!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
<tr<!-- TMPL_IF name="even" --> class="highlight"<!-- /TMPL_IF -->>
<td><!--TMPL_IF NAME="opacbookbag" --><label for="bib<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_IF --><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="description" -->" /><!--TMPL_IF NAME="opacbookbag" --></label><br /><input type="checkbox" name="bibid" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><!-- /TMPL_IF --></td>
<!-- TMPL_IF NAME="AmazonContent" -->
<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><img src="<!-- TMPL_IF NAME="isbn" -->http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.THUMBZZZ.jpg<!-- TMPL_ELSE -->http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif<!-- /TMPL_IF -->" alt="Book Cover Image" class="thumbnail" /><!--<img class="large" src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01._PE_SCLZZZZZZZ_.jpg" title="Enlarged view of image" alt="Enlarged view of image" />
--></a></td>
<!-- /TMPL_IF -->
<td><a href="/cgi-bin/koha/<!--TMPL_VAR NAME="script"-->?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="bold_title" --> <!-- TMPL_VAR NAME="subtitle" --></a>
<!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
</td>
<td> <!-- TMPL_IF NAME="author" --> <a href="/cgi-bin/koha/catalogue-home.pl?op=do_search&field_name1=author&field_value1=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="bold_author" --></a><br><!-- /TMPL_IF -->
<span style="font-size:90%">
<!-- TMPL_LOOP NAME="additionalauthors" -->
<a href="/cgi-bin/koha/catalogue-home.pl?op=do_search&field_name1=author&field_value1=<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="value" --></a><br>
<!-- /TMPL_LOOP -->
</span>
</td>
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
<td>
<!-- TMPL_IF NAME="on-loan-p" --> <!-- TMPL_VAR NAME="on-loan-p" --> - On Loan <br> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="lost-p" --> <!-- TMPL_VAR NAME="lost-p" --> - Lost <br> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="not-available-p" --> <!-- TMPL_VAR NAME="not-available-p" --> - Not available <br> <!-- /TMPL_IF -->
<!-- TMPL_IF name="location-only" -->
<!-- TMPL_VAR name="location-only" -->
<!-- TMPL_ELSE -->
-
<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_IF NAME="noitems" -->
-
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="norequests" -->
Not reservable
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">Reserve</a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</form>
<div class="pages" >
<!-- Row of numbers corresponding to search result pages -->
<!-- TMPL_LOOP NAME="numbers" --><!-- TMPL_IF NAME="highlight" -->&nbsp;<span class="current"><!-- TMPL_VAR NAME="number" --></span>&nbsp;<!-- TMPL_ELSE --><a class="nav" href="/cgi-bin/koha/opac-catalogue-home.pl?op=do_search&amp;startfrom=<!-- TMPL_VAR NAME="startfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->&amp;pg=<!-- TMPL_VAR NAME="pg" -->"><!-- TMPL_VAR NAME=number --></a> <!-- /TMPL_IF --><!-- /TMPL_LOOP -->
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="suggestion" -->
<div class="note">Not finding what you're looking for?<br /> Make a <a href="opac-suggestions.pl?op=add">purchase suggestion</a></div>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<div id="search-footer"><a href="/cgi-bin/koha/opac-catalogue-home.pl">New search</a> <a href="/cgi-bin/koha/opac-catalogue-home.pl?flag=''<!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->">Back to the last search </a></div>
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->