2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Copy Browser -->
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/cat.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"?>
22 <window id="cat_copy_browser"
23 onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
24 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
26 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
28 <script type="text/javascript">
29 var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
31 <scripts id="openils_util_scripts"/>
33 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
38 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
39 if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
40 JSAN.errorLevel = "die"; // none, warn, or die
41 JSAN.addRepository('/xul/server/');
42 JSAN.use('util.error'); g.error = new util.error();
43 g.error.sdump('D_TRACE','my_init() for cat_copy_browser.xul');
45 JSAN.use('cat.copy_browser'); g.copy_browser = new cat.copy_browser();
47 g.copy_browser.init( { 'docid' : xul_param('docid') } );
49 //if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
50 // try { window.xulG.set_tab_name('Holdings Maintenance'); } catch(E) { alert(E); }
54 var err_msg = "!! This software has encountered an error. Please tell your friendly " +
55 "system administrator or software developer the following:\ncat/copy_browser.xul\n" + E + '\n';
56 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
64 <commandset id="cat_copy_browser">
65 <command id="save_columns" />
66 <command id="cmd_broken" />
67 <command id="sel_copy_details"/>
68 <command id="sel_patron"/>
69 <command id="sel_clip" />
70 <command id="cmd_clear" />
71 <command id="cmd_show_my_libs" />
72 <command id="cmd_show_all_libs" />
73 <command id="cmd_show_libs_with_copies" />
75 <command id="sel_mark_items_damaged" />
76 <command id="sel_mark_items_missing" />
77 <command id="cmd_add_items"/>
78 <command id="cmd_add_items_to_buckets"/>
79 <command id="cmd_edit_items"/>
80 <command id="cmd_replace_barcode"/>
81 <command id="cmd_delete_items"/>
82 <command id="cmd_transfer_items"/>
83 <command id="cmd_print_spine_labels"/>
84 <command id="cmd_add_volumes"/>
85 <command id="cmd_edit_volumes"/>
86 <command id="cmd_delete_volumes"/>
87 <command id="cmd_mark_volume"/>
88 <command id="cmd_mark_library"/>
89 <command id="cmd_transfer_volume"/>
90 <command id="cmd_refresh_list"/>
94 <popup id="copy_browser_actions">
95 <menuitem command="sel_clip" label="Copy to Clipboard" accesskey="C"/>
96 <menuitem command="cmd_add_items_to_buckets" label="Add Items to Buckets" accesskey="B"/>
97 <menuitem command="sel_copy_details" label="Show Item Details" accesskey="I" />
98 <menuitem command="sel_patron" label="Show Last Few Circulations" accesskey="L"/>
100 <menuitem command="cmd_edit_items" label="Edit Item Attributes" accesskey="E"/>
101 <menuitem command="cmd_transfer_items" label="Transfer Items to Previously Marked Volume" accesskey="T"/>
103 <menuitem command="cmd_add_volumes" label="Add Volumes" accesskey="V"/>
104 <menuitem command="cmd_mark_library" label="Mark Library as Volume Transfer Destination" accesskey="M"/>
106 <menuitem command="cmd_add_items" label="Add Items" accesskey="A"/>
107 <menuitem command="cmd_edit_volumes" label="Edit Volumes" accesskey="E"/>
108 <menuitem command="cmd_mark_volume" label="Mark Volume as Item Transfer Destination" accesskey="M"/>
109 <menuitem command="cmd_transfer_volume" label="Transfer Volumes to Previously Marked Library" accesskey="T"/>
111 <menuitem command="cmd_delete_items" label="Delete Items" accesskey=""/>
112 <menuitem command="cmd_delete_volumes" label="Delete Volumes" accesskey=""/>
114 <menuitem command="sel_mark_items_damaged" label="Mark Item Damaged" accesskey="D"/>
115 <menuitem command="sel_mark_items_missing" label="Mark Item Missing" accesskey="g"/>
117 <menuitem command="cmd_print_spine_labels" label="Print Item Spine Labels" accesskey="P"/>
118 <menuitem command="cmd_replace_barcode" label="Replace Barcode" accesskey=""/>
119 <menuitem command="save_columns" label="Save Columns"/>
120 <menuitem command="cmd_refresh_list" label="Refresh Listing" accesskey="R"/>
124 <groupbox flex="1" class="my_overflow">
125 <caption label="Holdings Maintenance"/>
126 <hbox><label id="legend" style="font-size: large" class="has_copies" value="Green in the list below means the library has volumes for this record." hidden="true"/></hbox>
128 <hbox id="x_lib_menu"/>
131 <checkbox id="show_acns" label="Show Volumes" />
132 <checkbox id="show_acps" label="Show Items" />
133 <button label="Refresh" command="cmd_refresh_list" />
134 <button label="Show Libs With Items" command="cmd_show_libs_with_copies" accesskey="L"/>
135 <!-- <button label="Show My Libs" command="cmd_show_my_libs" accesskey="M"/>-->
137 <button label="Show All Libs" command="cmd_show_all_libs" accesskey=""/>
141 <menu label="Actions for Selected Rows" accesskey="f">
143 <menuitem command="sel_clip" label="Copy to Clipboard" accesskey="C"/>
144 <menuitem command="cmd_add_items_to_buckets" label="Add Items to Buckets" accesskey="B"/>
145 <menuitem command="sel_copy_details" label="Show Item Details" accesskey="I" />
146 <menuitem command="sel_patron" label="Show Last Few Circulations" accesskey="L"/>
148 <menuitem command="cmd_edit_items" label="Edit Item Attributes" accesskey="E"/>
149 <menuitem command="cmd_transfer_items" label="Transfer Items to Previously Marked Volume" accesskey="T"/>
151 <menuitem command="cmd_add_volumes" label="Add Volumes" accesskey="V"/>
152 <menuitem command="cmd_mark_library" label="Mark Library as Volume Transfer Destination" accesskey="M"/>
154 <menuitem command="cmd_add_items" label="Add Items" accesskey="A"/>
155 <menuitem command="cmd_edit_volumes" label="Edit Volumes" accesskey="E"/>
156 <menuitem command="cmd_mark_volume" label="Mark Volume as Item Transfer Destination" accesskey="M"/>
157 <menuitem command="cmd_transfer_volume" label="Transfer Volumes to Previously Marked Library" accesskey="T"/>
159 <menuitem command="cmd_delete_items" label="Delete Items" accesskey=""/>
160 <menuitem command="cmd_delete_volumes" label="Delete Volumes" accesskey=""/>
162 <menuitem command="sel_mark_items_damaged" label="Mark Item Damaged" accesskey="D"/>
163 <menuitem command="sel_mark_items_missing" label="Mark Item Missing" accesskey="g"/>
165 <menuitem command="cmd_print_spine_labels" label="Print Item Spine Labels" accesskey="P"/>
166 <menuitem command="cmd_replace_barcode" label="Replace Barcode" accesskey=""/>
167 <menuitem command="save_columns" label="Save Columns"/>
168 <menuitem command="cmd_refresh_list" label="Refresh Listing" accesskey="R"/>
173 <tree id="copy_tree" flex="1" enableColumnDrag="true" context="copy_browser_actions"/>