2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
10 <?xml-stylesheet href="/xul/server/skin/patron_display.css" type="text/css"?>
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
14 <!DOCTYPE window PUBLIC "" ""[
15 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <?xul-overlay href="/xul/server/patron/search_result_overlay.xul"?>
23 <window id="patron_search_result_win"
24 onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
25 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
27 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
29 <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
30 <scripts id="openils_util_scripts"/>
32 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
35 function $(id) { return document.getElementById(id); }
39 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
40 if (typeof JSAN == 'undefined') { throw( $("commonStrings").getString('common.jsan.missing') ); }
41 JSAN.errorLevel = "die"; // none, warn, or die
42 JSAN.addRepository('/xul/server/');
43 JSAN.use('util.error'); g.error = new util.error();
44 g.error.sdump('D_TRACE','my_init() for patron_search_result.xul');
47 var keys = g.cgi.keys();
49 for (var i = 0; i < keys.length; i++) {
50 query[keys[i]] = g.cgi.param(keys[i]);
52 if (typeof xulG != 'undefined') if (xulG.query) {
53 for (var i in xulG.query) {
54 query[i] = xulG.query[i];
58 JSAN.use('patron.search_result'); g.search_result = new patron.search_result();
59 g.search_result.init( { 'query' : query } );
62 var err_msg = $("commonStrings").getFormattedString('common.exception', ['patron/search_result.xul', E]);
63 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
71 <commandset id="patron_search_result_cmds">
72 <command id="cmd_patron_refresh" />
73 <command id="cmd_patron_checkout" />
74 <command id="cmd_patron_items" />
75 <command id="cmd_patron_holds" />
76 <command id="cmd_patron_bills" />
77 <command id="cmd_patron_edit" />
78 <command id="cmd_patron_info" />
79 <command id="cmd_search_print" />
80 <command id="cmd_sel_clip" disabled="true"/>
81 <command id="cmd_save_cols" />
84 <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
86 <box id="patron_search_result_main" />