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');
47 JSAN.use('cat.copy_browser'); g.copy_browser = new cat.copy_browser();
49 g.copy_browser.init( { 'docid' : g.cgi.param('docid') } );
51 //if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
52 // try { window.xulG.set_tab_name('Holdings Maintenance'); } catch(E) { alert(E); }
56 var err_msg = "!! This software has encountered an error. Please tell your friendly " +
57 "system administrator or software developer the following:\ncat/copy_browser.xul\n" + E + '\n';
58 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
66 <commandset id="cat_copy_browser">
67 <command id="save_columns" />
68 <command id="cmd_broken" />
69 <command id="sel_copy_details"/>
70 <command id="sel_patron"/>
71 <command id="sel_clip" />
72 <command id="cmd_clear" />
73 <command id="cmd_show_my_libs" />
74 <command id="cmd_show_all_libs" />
75 <command id="cmd_show_libs_with_copies" />
77 <command id="sel_mark_items_damaged" />
78 <command id="sel_mark_items_missing" />
79 <command id="cmd_add_items"/>
80 <command id="cmd_add_items_to_buckets"/>
81 <command id="cmd_edit_items"/>
82 <command id="cmd_replace_barcode"/>
83 <command id="cmd_delete_items"/>
84 <command id="cmd_transfer_items"/>
85 <command id="cmd_print_spine_labels"/>
86 <command id="cmd_add_volumes"/>
87 <command id="cmd_edit_volumes"/>
88 <command id="cmd_delete_volumes"/>
89 <command id="cmd_mark_volume"/>
90 <command id="cmd_mark_library"/>
91 <command id="cmd_transfer_volume"/>
92 <command id="cmd_refresh_list"/>
96 <popup id="copy_browser_actions">
97 <menuitem command="sel_clip" label="Copy to Clipboard" accesskey="C"/>
98 <menuitem command="cmd_add_items_to_buckets" label="Add Items to Buckets" accesskey="B"/>
99 <menuitem command="sel_copy_details" label="Show Item Details" accesskey="I" />
100 <menuitem command="sel_patron" label="Show Last Few Circulations" accesskey="L"/>
102 <menuitem command="cmd_edit_items" label="Edit Item Attributes" accesskey="E"/>
103 <menuitem command="cmd_transfer_items" label="Transfer Items to Previously Marked Volume" accesskey="T"/>
105 <menuitem command="cmd_add_volumes" label="Add Volumes" accesskey="V"/>
106 <menuitem command="cmd_mark_library" label="Mark Library as Volume Transfer Destination" accesskey="M"/>
108 <menuitem command="cmd_add_items" label="Add Items" accesskey="A"/>
109 <menuitem command="cmd_edit_volumes" label="Edit Volumes" accesskey="E"/>
110 <menuitem command="cmd_mark_volume" label="Mark Volume as Item Transfer Destination" accesskey="M"/>
111 <menuitem command="cmd_transfer_volume" label="Transfer Volumes to Previously Marked Library" accesskey="T"/>
113 <menuitem command="cmd_delete_items" label="Delete Items" accesskey=""/>
114 <menuitem command="cmd_delete_volumes" label="Delete Volumes" accesskey=""/>
116 <menuitem command="sel_mark_items_damaged" label="Mark Item Damaged" accesskey="D"/>
117 <menuitem command="sel_mark_items_missing" label="Mark Item Missing" accesskey="g"/>
119 <menuitem command="cmd_print_spine_labels" label="Print Item Spine Labels" accesskey="P"/>
120 <menuitem command="cmd_replace_barcode" label="Replace Barcode" accesskey=""/>
121 <menuitem command="save_columns" label="Save Columns"/>
122 <menuitem command="cmd_refresh_list" label="Refresh Listing" accesskey="R"/>
126 <groupbox flex="1" class="my_overflow">
127 <caption label="Holdings Maintenance"/>
128 <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>
130 <hbox id="x_lib_menu"/>
133 <checkbox id="show_acns" label="Show Volumes" />
134 <checkbox id="show_acps" label="Show Items" />
135 <button label="Refresh" command="cmd_refresh_list" />
136 <button label="Show Libs With Items" command="cmd_show_libs_with_copies" accesskey="L"/>
137 <!-- <button label="Show My Libs" command="cmd_show_my_libs" accesskey="M"/>-->
139 <button label="Show All Libs" command="cmd_show_all_libs" accesskey=""/>
143 <menu label="Actions for Selected Rows" accesskey="f">
145 <menuitem command="sel_clip" label="Copy to Clipboard" accesskey="C"/>
146 <menuitem command="cmd_add_items_to_buckets" label="Add Items to Buckets" accesskey="B"/>
147 <menuitem command="sel_copy_details" label="Show Item Details" accesskey="I" />
148 <menuitem command="sel_patron" label="Show Last Few Circulations" accesskey="L"/>
150 <menuitem command="cmd_edit_items" label="Edit Item Attributes" accesskey="E"/>
151 <menuitem command="cmd_transfer_items" label="Transfer Items to Previously Marked Volume" accesskey="T"/>
153 <menuitem command="cmd_add_volumes" label="Add Volumes" accesskey="V"/>
154 <menuitem command="cmd_mark_library" label="Mark Library as Volume Transfer Destination" accesskey="M"/>
156 <menuitem command="cmd_add_items" label="Add Items" accesskey="A"/>
157 <menuitem command="cmd_edit_volumes" label="Edit Volumes" accesskey="E"/>
158 <menuitem command="cmd_mark_volume" label="Mark Volume as Item Transfer Destination" accesskey="M"/>
159 <menuitem command="cmd_transfer_volume" label="Transfer Volumes to Previously Marked Library" accesskey="T"/>
161 <menuitem command="cmd_delete_items" label="Delete Items" accesskey=""/>
162 <menuitem command="cmd_delete_volumes" label="Delete Volumes" accesskey=""/>
164 <menuitem command="sel_mark_items_damaged" label="Mark Item Damaged" accesskey="D"/>
165 <menuitem command="sel_mark_items_missing" label="Mark Item Missing" accesskey="g"/>
167 <menuitem command="cmd_print_spine_labels" label="Print Item Spine Labels" accesskey="P"/>
168 <menuitem command="cmd_replace_barcode" label="Replace Barcode" accesskey=""/>
169 <menuitem command="save_columns" label="Save Columns"/>
170 <menuitem command="cmd_refresh_list" label="Refresh Listing" accesskey="R"/>
175 <tree id="copy_tree" flex="1" enableColumnDrag="true" context="copy_browser_actions"/>