1 <?xml version="1.0" encoding="UTF-8"?>
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/${locale}/lang.dtd"-->
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <?xul-overlay href="/xul/server/circ/checkin_overlay.xul"?>
23 <window id="checkin_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"/>
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 checkin.xul');
45 if (xul_param('hold_capture')) {
46 document.getElementById('checkin_auto').checked = true;
47 document.getElementById('checkin_auto').hidden = true;
48 document.getElementById('checkin_effective_date_hbox').hidden = true;
49 document.getElementById('caption').setAttribute('label',document.getElementById('circStrings').getString('staff.circ.checkin.hold_capture'));
50 document.getElementById('hold_capture_blurb').hidden = false;
51 tab_name = document.getElementById('circStrings').getString('staff.circ.checkin.hold_capture');
53 tab_name = document.getElementById('circStrings').getString('staff.circ.checkin.check_in.tab');
56 JSAN.use('circ.checkin'); g.checkin = new circ.checkin();
62 if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
63 try { window.xulG.set_tab_name(tab_name); } catch(E) { alert(E); }
67 var err_msg = document.getElementById("commonStrings").getFormattedString('common.exception', ['circ.checkin.xul', E]);
68 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
73 function default_focus() { try { setTimeout( function() { document.getElementById('checkin_barcode_entry_textbox').focus(); }, 0); } catch(E) {} }
77 <popupset id="copy_status_popupset"/>
79 <commandset id="checkin_cmds">
80 <command id="cmd_checkin_submit_barcode" />
81 <command id="cmd_checkin_print" />
82 <command id="cmd_checkin_export" />
83 <command id="cmd_checkin_reprint" />
84 <command id="cmd_checkin_done" />
85 <command id="save_columns" />
87 <command id="sel_clip" disabled="true"/>
88 <command id="sel_edit" disabled="true"/>
89 <command id="sel_opac" disabled="true"/>
90 <command id="sel_patron" disabled="true"/>
91 <command id="sel_last_patron" disabled="true"/>
92 <command id="sel_copy_details" disabled="true"/>
93 <command id="sel_bucket" disabled="true"/>
94 <command id="sel_spine" disabled="true"/>
95 <command id="sel_transit_abort" disabled="true"/>
96 <command id="sel_mark_items_damaged" disabled="true"/>
100 <messagecatalog id="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties"/>
101 <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
103 <box id="checkin_main" />