]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/admin/hold_pull_list.xul
I18N version of a patch from Bill Ott for a New Window button on the login window...
[Evergreen.git] / Open-ILS / xul / staff_client / server / admin / hold_pull_list.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
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"?>
11
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
13 <!-- LOCALIZATION -->
14 <!DOCTYPE window PUBLIC "" ""[
15         <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
16 ]>
17
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
19 <!-- OVERLAYS -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <?xul-overlay href="/xul/server/patron/holds_overlay.xul"?>
22
23 <window id="holds_win" 
24         onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
25         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
26
27         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
28         <!-- BEHAVIOR -->
29         <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
30         <scripts id="openils_util_scripts"/>
31
32         <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
33         <script>
34         <![CDATA[
35                 function my_init() {
36                         try {
37                                 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
38                                 if (typeof JSAN == 'undefined') { throw( document.getElementById("commonStrings").getString('common.jsan.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 holds.xul');
43
44                                 JSAN.use('patron.holds'); g.holds = new patron.holds();
45                                 g.holds.init( 
46                                         { 
47                                                 'tree_id' : 'holds_list',
48                                                 'patron_id' : xul_param('patron_id'),
49                                                 'docid' : xul_param('docid'),
50                                                 'shelf' : xul_param('shelf'),
51                                                 'pull' : xul_param('pull'),
52                                         } 
53                                 );
54                                 window.refresh = function(p) { g.holds.retrieve(p); }
55
56                                 default_focus();
57
58                         } catch(E) {
59                                 var err_msg = document.getElementById("commonStrings").getFormattedString('common.exception', ['patron/holds.xul', E]);
60                                 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
61                                 alert(err_msg);
62                         }
63                 }
64
65                 function default_focus() { try { document.getElementById('holds_print').focus(); } catch(E) { } }
66
67         ]]>
68         </script>
69
70         <commandset id="holds_cmds">
71                 <command id="sel_mark_items_damaged" disabled="true"/>
72                 <command id="sel_mark_items_missing" disabled="true"/>
73                 <command id="sel_copy_details" disabled="true"/>
74                 <command id="sel_patron" disabled="true"/>
75                 <command id="sel_clip" />
76                 <command id="cmd_holds_print" />
77                 <command id="cmd_show_catalog" />
78                 <command id="cmd_retrieve_patron" />
79                 <command id="cmd_show_notifications" />
80                 <command id="cmd_holds_edit_pickup_lib" />
81                 <command id="cmd_holds_edit_phone_notify" />
82                 <command id="cmd_holds_edit_email_notify" />
83                 <command id="cmd_holds_edit_selection_depth" disabled="true" hidden="true"/>
84                 <command id="cmd_broken" disabled="true" hidden="true"/>
85                 <command id="cmd_holds_retarget"/>
86                 <command id="cmd_holds_cancel" />
87                 <command id="save_columns" />
88         </commandset>
89
90         <popupset id="holds_popupset"/>
91
92         <box id="holds_main" />
93
94 </window>
95