1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Z39.50 Search Results</title>
3 <!-- TMPL_INCLUDE NAME="greybox.inc" -->
4 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
6 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
7 <script type="text/javascript">
9 function Import(GetThisOne,biblionumber) {
10 opener.document.location="../cataloguing/addbiblio.pl?biblionumber="+biblionumber+"&z3950=1&frameworkcode=<!-- TMPL_VAR name="frameworkcode" -->&breedingid="+GetThisOne;
14 $.tablesorter.addParser({
16 is: function(s) {return false; },
17 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
22 $(".linktools").hide();
23 $("tr").removeClass("selected");
25 $(document).ready(function(){
26 $("#CheckAll").click(function(){
27 $(".checkboxed").checkCheckboxes();
30 $("#CheckNone").click(function(){
31 $(".checkboxed").unCheckCheckboxes();
34 $("#resultst").tablesorter({
36 headers: { 1: { sorter: 'articles' },7: { sorter: false },8: { sorter: false } },
39 /* Inline edit/delete links */
40 $("td").click(function(event){
41 var $tgt = $(event.target);
42 $(".linktools").hide();
43 $("tr").removeClass("selected");
44 if($tgt.is("a")||$tgt.is(":nth-child(7)")||$tgt.is(":nth-child(8)")||$tgt.is(":nth-child(9)")||$tgt.is(":nth-child(10)")){
47 var position = $(this).offset();
48 var top = position.top+5;
49 var left = position.left+5;
50 $(".linktools",row).show().css("position","absolute").css("top",top).css("left",left);
52 var row = $(this).parent();
53 row.addClass("selected");
59 <style type="text/css">
60 .linktools { background-color:#FFF;border-top:1px solid #DDD; border-left: 1px solid #DDD; border-right: 1px solid #666; border-bottom:1px solid #666;display: none; white-space: nowrap;}
61 .linktools a { font-size : 85%; text-decoration:none; padding:.3em;;background-color:#FFF; display:block;float:left;border-right:1px solid #DDD;}
62 .linktools a:hover { background-color:#EEE;color:#CC3300;border-right:1px solid #CCC;}
63 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; }
65 <!-- TMPL_IF name="opsearch" -->
66 <style type="text/css">
67 #custom-doc { width:53em;*width:51.72em;min-width:689px; margin:auto; text-align:left; }
72 <div id="custom-doc" class="yui-t7">
75 <body style="padding:.5em;">
79 <!-- TMPL_IF name="opsearch" -->
80 <h2>Z39.50 Search Points</h2>
81 <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
82 <input type="hidden" name="op" id="op" value="do_search" />
84 <div class="yui-u first">
85 <fieldset class="rows">
86 <ol><li><label for="title">Title: </label> <input type="text" id="title" name="title" value="<!-- TMPL_VAR NAME="title" -->" /></li>
87 <li><label for="isbn">ISBN/ISSN: </label> <input type="text" id="isbn" name="isbn" value="<!-- TMPL_VAR NAME="isbn" -->" /></li>
88 <li><label for="lccall">LC Call Number: </label> <input type="text" id="lccall" name="lccall" value="" /></li>
89 <li><label for="controlnumber">Control No.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li>
90 <li><label for="srchany">Raw (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li></ol>
94 <fieldset class="rows"> <ol><li><label for="author">Author: </label> <input type="text" id="author" name="author" value="<!-- TMPL_VAR NAME="author" -->" /><!-- <label for="Keyword">Keyword</label> <input type="text" name="keyword" value="" /> --></li>
95 <li> <label for="subject">Subject Heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
96 <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
97 <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li></ol>
99 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
100 <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
104 <h2>Search targets <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="checkall"><a id="CheckAll" href="#">Select All</a></span><span class="clearall"><a id="CheckNone" href="#">Clear All</a></span></span></h2>
106 <!-- TMPL_LOOP name="serverloop" -->
108 <!-- TMPL_IF name="checked" -->
109 <input type="checkbox" name="id" id="z3950_<!-- TMPL_VAR NAME="id" -->" value="<!-- TMPL_VAR NAME="id" -->" checked="checked" />
111 <input type="checkbox" name="id" id="z3950_<!-- TMPL_VAR NAME="id" -->" value="<!-- TMPL_VAR NAME="id" -->" />
113 <label for="z3950_<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="name" --> [<!-- TMPL_VAR NAME="host" -->]</label>
118 <fieldset class="action"><input type="submit" class="submit" value="Search" onclick="cursor :'wait'"/> <a class="cancel close" href="#">Cancel</a></fieldset>
124 <!-- TMPL_IF name="breeding_loop" -->
125 <table id="resultst">
134 <th colspan="2">Preview</th>
137 <tbody><!-- TMPL_LOOP name="breeding_loop" -->
138 <!-- TMPL_IF NAME="breedingid" -->
140 <tr id="row<!-- TMPL_VAR NAME="breedingid" -->">
141 <td><!-- TMPL_VAR name="server" --> <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=<!-- TMPL_VAR NAME="breedingid" -->" rel="gb_page_center[600,500]">Preview MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=<!-- TMPL_VAR NAME="breedingid" -->" rel="gb_page_center[600,500]">Preview Card</a> <a href="#" onclick="Import(<!-- TMPL_VAR NAME="breedingid" -->,0); return false">Import</a><a href="#" onclick="closemenu();return false;" title="Close this menu"> X </a></div> </td>
142 <td><!-- TMPL_VAR NAME="title" escape="html" --></td>
143 <td><!-- TMPL_VAR NAME="author" --></td>
144 <td><!-- TMPL_VAR NAME="date" --></td>
145 <td><!-- TMPL_VAR NAME="edition" --></td>
146 <td><!-- TMPL_VAR NAME="isbn" --></td>
147 <td><!-- TMPL_VAR NAME="lccn" --></td>
148 <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=<!-- TMPL_VAR NAME="breedingid" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a></td>
149 <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=<!-- TMPL_VAR NAME="breedingid" -->" title="MARC" rel="gb_page_center[600,500]">Card</a></td>
150 <td><a href="#" onclick="Import(<!-- TMPL_VAR NAME="breedingid" -->,<!-- TMPL_VAR NAME="biblionumber" -->); return false">Import</a></td>
153 <!-- /TMPL_LOOP --></tbody>
156 <!-- TMPL_LOOP name="errconn" -->
157 Connection failed to <!-- TMPL_VAR NAME="server" -->
159 <p>Nothing found. <a href="/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Try another search</a>.</p>
167 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->