Bug 10096 - Add a Z39.50 interface for authority searching
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / authorities-toolbar.inc
index b376ce5..972cea6 100644 (file)
@@ -5,6 +5,12 @@
             confirm_deletion();
             return false;
         });
+
+        $("#z3950submit").click(function(){
+            window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl","z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
+            return false;
+        });
+
     });
 
 //]]>
@@ -47,6 +53,9 @@
             [% END %]
         </ul>
     </div>
+    <div class="btn-group">
+        <a class="btn btn-small" id="z3950submit" href="#"><i class="icon-search"></i> Z39.50 search</a>
+    </div>
 [% END %]
 </div>