]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/circ/hold_capture.xul
arg! typo
[Evergreen.git] / Open-ILS / xul / staff_client / server / circ / hold_capture.xul
1 <?xml version="1.0" encoding="UTF-8"?>
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/circ/hold_capture_overlay.xul"?>
22
23 <window id="hold_capture_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') {
39                                         throw( document.getElementById("commonStrings").getString('common.jsan.missing') );
40                                 }
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 hold_capture.xul');
45
46                                 JSAN.use('circ.hold_capture'); g.hold_capture = new circ.hold_capture();
47                                 g.hold_capture.init( 
48                                         { 
49                                         } 
50                                 );
51         
52                                 if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
53                                         try { window.xulG.set_tab_name('Hold Capture'); } catch(E) { alert(E); }
54                                 }
55
56                         } catch(E) {
57                                 var err_msg = document.getElementById("commonStrings").getFormattedString('common.exception', ['circ.hold_capture.xul', E]);
58                                 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
59                                 alert(err_msg);
60                         }
61                 }
62
63         ]]>
64         </script>
65
66         <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
67
68         <commandset id="hold_capture_cmds">
69                 <command id="cmd_hold_capture_submit_barcode" />
70                 <command id="cmd_hold_capture_print" />
71                 <command id="cmd_hold_capture_reprint" />
72                 <command id="cmd_hold_capture_done" />
73         </commandset>
74
75         <box id="hold_capture_main" />
76
77 </window>
78