1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>KOHA:_Labs Thesis Selection plugin</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
6 function openWindow(targeturl, windowname) {
8 window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
11 newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
16 <link rel="stylesheet" type="text/css" href="/intranet-tmpl/default/en/includes/common-style.css" />
17 <style type="text/css">
19 background-color:#ad11ad;
21 background-image:none;
22 text-decoration: normal;
25 background-color: #ad11ad;
27 text-decoration: none;
32 <body style="padding:1em;">
34 <h1>Laboratory Search</h1>
36 <form name="f" method="post" action="/cgi-bin/koha/cataloguing/plugin_launcher.pl">
40 <input type="hidden" name="plugin_name" value="labs_theses.pl">
41 <input type="hidden" name="index" value="[% index %]">
42 <input type="hidden" name="result" value="unimarc field 328 [% index %]">
43 <input type="hidden" name="op" value="do_search">
44 <input type="hidden" name="cat_auth" value="[% cat_auth %]" >
45 <input type="text" name="search" value="[% search %]" size="35">
47 <input type="submit" value="Start search" class="button">
52 [% IF ( resultlist ) %]
54 <h2>Laboratory Search results</h2>
55 <div id="resultnumber">
56 <p class="resultcount">
58 Results [% from %] to [% to %] of [% total %][% ELSE %]No results found
68 [% FOREACH catresul IN catresult %]
69 [% IF ( catresul.even ) %]
70 <tr class="hilighted">
78 <a href="javascript:SelectEntry('[% catresul.libjs |url %]','[% catresul.authjs |url %]',[% catresul.index |url %],0)" class="button">Select</a>
79 <a href="javascript:SelectEntry('[% catresul.libjs |url %]','[% catresul.authjs |url %]',[% catresul.index |url %],1)" class="button">Sel&close</a>
85 <div id="resultnumber">
86 <p>[% IF ( displayprev ) %]
87 <a class="resultnumber" href="/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=labs_theses.pl&startfrom=[% startfromprev %]&cat_auth=[% cat_auth |url %]&search=[% search |url %]&resultsperpage=[% resultsperpage %]&type=intranet&op=do_search&index=[% anindex %]"><< Previous</a>
89 [% FOREACH number IN numbers %]
90 [% IF ( number.highlight ) %]
91 <span class="highlight">[% number.number %]</span>
93 <a class="resultnumber" href="/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=labs_theses.pl&startfrom=[% number.startfrom %]&cat_auth=[% number.cat_auth |url %]&search=[% number.search |url %]&resultsperpage=[% number.resultsperpage %]&type=intranet&op=do_search&index=[% number.anindex %]">[% number.number %]</a>
96 [% IF ( displaynext ) %]
97 <a class="resultnumber" href="/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=labs_theses.pl&startfrom=[% startfromnext %]&cat_auth=[% cat_auth |url %]&search=[% search %]&resultsperpage=[% resultsperpage %]&type=intranet&op=do_search&index=[% anindex %]">Next>></a>
100 <p class="resultcount">
102 Results [% from %] to [% to %] of [% total %][% ELSE %]No results found
106 <script language="JavaScript" type="text/javascript">
107 function SelectEntry(myentry, mycode, myindex, wclose){
108 if (opener.document.f.field_value[myindex].value!=""){
109 opener.document.f.field_value[myindex].value=opener.document.f.field_value[myindex].value+"|"+myentry
111 opener.document.f.field_value[myindex].value=myentry
122 [% INCLUDE 'popup-bottom.inc' %]