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/circ.css" type="text/css"?>
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
14 <!DOCTYPE window PUBLIC "" ""[
15 <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <?xul-overlay href="/xul/server/patron/items_overlay.xul"?>
23 <window id="items_win"
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"/>
37 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
38 if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
39 JSAN.errorLevel = "die"; // none, warn, or die
40 JSAN.addRepository('/xul/server/');
41 JSAN.use('util.error'); g.error = new util.error();
42 g.error.sdump('D_TRACE','my_init() for items.xul');
46 JSAN.use('patron.items'); g.items = new patron.items();
49 'patron_id' : g.cgi.param('patron_id'),
50 'session' : g.cgi.param('session')
54 window.refresh = function () { g.items.list.clear(); g.items.retrieve(); }
57 var err_msg = "!! This software has encountered an error. Please tell your friendly " +
58 "system administrator or software developer the following:\n" + E + '\n';
59 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
67 <commandset id="items_cmds">
68 <command id="cmd_items_print" />
69 <command id="cmd_items_renew" />
70 <command id="cmd_items_claimed_returned" />
71 <command id="cmd_items_checkin" />
72 <command id="cmd_items_edit" />
73 <command id="cmd_items_mark_lost" />
74 <command id="cmd_show_catalog" />
77 <box id="items_main" />