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 SYSTEM "chrome://open_ils_staff_client/locale/lang.dtd">
16 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
18 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
19 <?xul-overlay href="/xul/server/patron/summary_overlay.xul"?>
21 <window id="patron_summary_win"
23 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
25 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
27 <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
28 <scripts id="openils_util_scripts"/>
30 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
35 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
36 if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
37 JSAN.errorLevel = "die"; // none, warn, or die
38 JSAN.addRepository('/xul/server/');
39 JSAN.use('util.error'); g.error = new util.error();
40 g.error.sdump('D_TRACE','my_init() for patron_summary.xul');
44 JSAN.use('patron.summary'); g.summary = new patron.summary();
46 'session' : g.cgi.param('session') ,
47 'barcode' : g.cgi.param('barcode') ,
48 'id' : g.cgi.param('id') ,
51 window.refresh = function () { g.summary.retrieve(); }
54 var err_msg = "!! This software has encountered an error. Please tell your friendly " +
55 "system administrator or software developer the following:\n" + E + '\n';
56 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
64 <commandset id="patron_summary_cmds">
67 <box id="patron_summary_main" />