]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
created an Acqusitions menu with a couple of menu entries. experimental, probably...
[working/Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / main / menu_frame_menus.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://open_ils_staff_client/locale/lang.dtd">
3 <overlay id="menu_frame_menus" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6 <script>dump('loading menu_frame_menus.xul\n');</script>
7
8 <commandset id="universal_cmds">
9         <command id="cmd_forward"/>
10         <command id="cmd_back"/>
11         <command id="cmd_close_window" key="close-window-key" />
12         <command id="cmd_new_window" key="new-window-key" />
13         <command id="cmd_new_tab" key="new-tab-key" />
14         <command id="cmd_close_tab" key="close-tab-key" />
15         <command id="cmd_close_all_tabs" key="close-all-tabs-key" />
16         <command id="cmd_shutdown" />
17
18         <command id="cmd_edit_copy_buckets" />
19         <command id="cmd_edit_volume_buckets" />
20         <command id="cmd_edit_record_buckets" />
21         <command id="cmd_edit_user_buckets" />
22
23         <command id="cmd_cat_main" key="cat-main-key" />
24         <command id="cmd_create_marc" />
25         <command id="cmd_circ_checkout" key="circ-checkout-key" />
26         <command id="cmd_patron_search" key="patron-search-key" />
27         <command id="cmd_circ_checkin" key="circ-checkin-key" />
28         <command id="cmd_circ_hold_capture" key="circ-hold-capture-key" />
29         <command id="cmd_circ_hold_pull_list" />
30         <command id="cmd_browse_holds" />
31         <command id="cmd_browse_holds_shelf" />
32         <command id="cmd_in_house_use" key="circ-in-house-use" />
33         <command id="cmd_copy_status" key="copy-status-key" />
34         <command id="cmd_search_opac" key="search-opac-key" />
35         <command id="cmd_public_opac" />
36         <command id="cmd_search_tcn" />
37         <command id="cmd_search_bib_id" />
38         <command id="cmd_patron_register" key="patron-register-key" />
39         <command id="cmd_standalone" />
40         <command id="cmd_survey_wizard" />
41         <command id="cmd_stat_cat_edit" />
42         <command id="cmd_non_cat_type_edit" />
43         <command id="cmd_copy_location_edit" />
44         <command id="cmd_print_list_template_edit" />
45         <command id="cmd_z39_50_import" />
46         <command id="cmd_create_new_marc_book" />
47         <command id="cmd_replace_barcode" />
48         <command id="cmd_reprint" />
49         <command id="cmd_retrieve_last_patron" />
50         <command id="cmd_retrieve_last_record" />
51         <command id="cmd_verify_credentials" />
52
53         <command id="cmd_change_session" />
54         <command id="cmd_manage_offline_xacts" />
55         <command id="cmd_download_patrons" />
56         <command id="cmd_local_admin" />
57         <command id="cmd_toggle_buttonbar" />
58
59         <command id="cmd_extension_manager"/>
60         <command id="cmd_theme_manager"/>
61         <command id="cmd_about_config"/>
62
63         <command id="cmd_adv_user_edit" />
64         <command id="cmd_console" />
65         <command id="cmd_shell" />
66         <command id="cmd_xuleditor" />
67         <command id="cmd_fieldmapper" />
68         <command id="cmd_test_html" />
69         <command id="cmd_test_xul" />
70         <command id="cmd_clear_cache" />
71         <command id="cmd_restore_all_tabs" />
72
73         <command id="cmd_test" />
74         <command id="cmd_broken" disabled="true" />
75         <command id="cmd_open_vandelay" />
76         <command id="cmd_open_conify" />
77     
78         <command id="cmd_acq_view_picklist" />
79         <command id="cmd_acq_upload" />
80         <command id="cmd_acq_view_po" />
81 </commandset>
82
83
84 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
85 <keyset id="menu_frame_keys">
86         <key id="new-window-key" modifiers="accel" key="N" command="cmd_new_window"/>
87         <key id="new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
88         <key id="open-key" modifiers="accel" key="O" command=""/>
89         <key id="save-key" modifiers="accel" key="S" command=""/>
90         <key id="close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
91         <key id="close-all-tabs-key" modifiers="accel,shift" key="W" command="cmd_close_all_tabs"/>
92         <key id="close-window-key" modifiers="accel" key="Q" command="cmd_close_window"/>
93         <key id="circ-checkout-key" keycode="VK_F1" command="cmd_circ_checkout"/>
94         <key id="circ-checkin-key" keycode="VK_F2" command="cmd_circ_checkin"/>
95         <key id="reprint-receipt-key" keycode="VK_F9" command="cmd_reprint"/>
96         <key id="search-opac-key" keycode="VK_F3" command="cmd_search_opac"/>
97         <key id="search-tcn-key" keycode="VK_F3" modifiers="shift" command="cmd_search_tcn"/>
98         <key id="patron-search-key" keycode="VK_F4" command="cmd_patron_search"/>
99         <key id="copy-status-key" keycode="VK_F5" command="cmd_copy_status"/>
100         <key id="circ-in-house-use-key" keycode="VK_F6" command="cmd_in_house_use"/>
101         <key id="circ-hold-capture-key" keycode="VK_F2" modifiers="shift" command="cmd_circ_hold_capture"/>
102         <key id="patron-register-key" keycode="VK_F1" modifiers="shift" command="cmd_patron_register"/>
103         <key id="retrieve_last_patron_key" keycode="VK_F8" command="cmd_retrieve_last_patron"/>
104         <key id="retrieve_last_record_key" keycode="VK_F8" modifiers="shift" command="cmd_retrieve_last_record"/>
105 </keyset>
106
107 <!-- The File menu on the main menu -->
108 <menu id="main.menu.file" label="&staff.main.menu.file.label;" accesskey="&staff.main.menu.file.accesskey;" >
109         <menupopup id="main.menu.file.popup">
110                 <menuitem label="&staff.main.menu.file.new.label;" accesskey="&staff.main.menu.file.new.accesskey;" key="new-window-key" command="cmd_new_window"/>
111                 <menuitem label="&staff.main.menu.file.new_tab.label;" accesskey="&staff.main.menu.file.new_tab.accesskey;" key="new-tab-key" command="cmd_new_tab"/>
112                 <menuseparator />
113                 <menuitem label="&staff.main.menu.file.close_tab.label;" accesskey="&staff.main.menu.file.close_tab.accesskey;" oldaccesskey="&staff.main.menu.file.close_tab.key;" key="close-tab-key" command="cmd_close_tab"/>
114                 <menuitem label="&staff.main.menu.tabs.close;" accesskey="&staff.main.menu.tabs.close.accesskey;" key="close-all-tabs-key" command="cmd_close_all_tabs"/>
115                 <menuitem label="&staff.main.menu.file.close.label;" accesskey="&staff.main.menu.file.close.accesskey;" oldaccesskey="&staff.main.menu.file.close.key;" key="close-window-key" command="cmd_close_window"/>
116                 <menuseparator />
117                 <menuitem label="&staff.main.menu.quit;" accesskey="&staff.main.menu.quit.accesskey;" command="cmd_shutdown"/>
118         </menupopup>
119 </menu>
120
121 <!-- The Edit menu on the main menu -->
122 <menu id="main.menu.edit" label="&staff.main.menu.edit.label;" accesskey="&staff.main.menu.edit.accesskey;">
123         <menupopup id="main.menu.edit.popup">
124                 <menuitem label="&staff.main.menu.edit.buckets.copies;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.edit.buckets.copies.accesskey;"/>
125         <!--
126                 <menuitem label="&staff.main.menu.edit.buckets.volumes;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.edit.buckets.volumes.accesskey;"/>
127         -->
128                 <menuitem label="&staff.main.menu.edit.buckets.records;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.edit.buckets.records.accesskey;"/>
129         <!--
130                 <menuitem label="&staff.main.menu.edit.buckets.users;" command="cmd_edit_user_buckets" accesskey="&staff.main.menu.edit.buckets.users.accesskey;"/>
131         -->
132                 <menuseparator />
133                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
134         </menupopup>
135 </menu>
136
137 <!-- The Circulation menu on the main menu -->
138 <menu id="main.menu.circ" label="&staff.main.menu.circ.label;" accesskey="&staff.main.menu.circ.accesskey;">
139         <menupopup id="main.menu.circ.popup">
140                 <menuitem label="&staff.main.menu.circ.checkout.label;" accesskey="&staff.main.menu.circ.checkout.accesskey;" key="circ-checkout-key" command="cmd_circ_checkout"/>
141                 <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.accesskey;" key="circ-checkin-key" command="cmd_circ_checkin"/>
142                 <menuitem label="&staff.main.menu.circ.patron_registration.label;" accesskey="&staff.main.menu.circ.patron_registration.accesskey;" key="patron-register-key" command="cmd_patron_register"/>
143                 <menuitem label="&staff.main.menu.circ.patron_retrieve.label;" accesskey="&staff.main.menu.circ.patron_retrieve.accesskey;" command="cmd_retrieve_last_patron" key="retrieve_last_patron_key"/>
144                 <menuseparator />
145                 <menuitem label="&staff.main.menu.circ.hold_capture.label;" accesskey="&staff.main.menu.circ.hold_capture.accesskey;" key="circ-hold-capture-key" command="cmd_circ_hold_capture"/>
146                 <menuitem label="&staff.main.menu.circ.hold_pull.label;" accesskey="&staff.main.menu.circ.hold_pull.accesskey;" command="cmd_circ_hold_pull_list"/>
147                 <menuitem label="&staff.main.menu.circ.hold_browse.label;" command="cmd_browse_holds_shelf" accesskey="&staff.main.menu.circ.hold_browse.accesskey;"/>
148                 <menuitem label="&staff.main.menu.circ.place_hold.label;" accesskey="&staff.main.menu.circ.place_hold.accesskey;" key="search-opac-key" command="cmd_search_opac"/>
149                 <menuseparator />
150                 <menuitem label="&staff.main.menu.circ.barcode.show_item;" accesskey="&staff.main.menu.circ.barcode.show_item.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
151                 <menuitem label="&staff.main.menu.circ.barcode.retrieve_patron;" accesskey="&staff.main.menu.circ.barcode.retrieve_patron.accesskey;" key="circ-checkout-key" command="cmd_circ_checkout"/>
152                 <menuitem label="&staff.main.menu.circ.verify_credentials;" accesskey="&staff.main.menu.circ.verify_credentials.accesskey;" command="cmd_verify_credentials"/>
153                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
154                 <menuitem label="&staff.main.menu.circ.in_house.label;" accesskey="&staff.main.menu.circ.in_house.accesskey;" key="circ-in-house-use-key" command="cmd_in_house_use"/>
155                 <menuseparator />
156                 <menuitem label="&staff.main.menu.circ.reprint.label;" accesskey="&staff.main.menu.circ.reprint.accesskey;" key="reprint-receipt-key" command="cmd_reprint"/>
157                 <menuitem label="&staff.main.menu.circ.offline.label;" command="cmd_standalone" accesskey="&staff.main.menu.circ.offline.accesskey;"/>
158         </menupopup>
159 </menu>
160
161 <!-- The Cataloging menu on the main menu -->
162 <menu id="main.menu.cat" label="&staff.main.menu.cat.label;" accesskey="&staff.main.menu.cat.accesskey;">
163         <menupopup id="main.menu.cat.popup">
164                 <menuitem label="&staff.main.menu.cat.bib_search.label;" accesskey="&staff.main.menu.cat.bib_search.accesskey;" key="search-opac-key" command="cmd_search_opac"/>
165                 <menuitem label="&staff.main.menu.cat.search_tcn.label;" accesskey="&staff.main.menu.cat.search_tcn.accesskey;" key="search-tcn-key" command="cmd_search_tcn" />
166                 <menuitem label="&staff.main.menu.cat.search_bib_id.label;" accesskey="&staff.main.menu.cat.search_bib_id.accesskey;" key="search-bib-id-key" command="cmd_search_bib_id" />
167                 <menuitem label="&staff.main.menu.cat.copy_status.label;" accesskey="&staff.main.menu.cat.copy_status.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
168                 <menuseparator />
169                 <!--
170                 <menuitem disabled="true" label="&staff.main.menu.cat.dedup.label;" accesskey="&staff.main.menu.cat.dedup.accesskey;" command="cmd_broken"/>
171                 -->
172                 <menuitem label="&staff.main.menu.cat.edit_copy_buckets.label;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.cat.edit_copy_buckets.accesskey;"/>
173         <!--
174                 <menuitem label="&staff.main.menu.cat.edit_volume_buckets.label;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.cat.edit_volume_buckets.accesskey;"/>
175         -->
176                 <menuitem label="&staff.main.menu.cat.edit_record_buckets.label;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.cat.edit_record_buckets.accesskey;"/>
177                 <menuseparator />
178                 <menuitem label="&staff.main.menu.cat.create_marc.label;" accesskey="&staff.main.menu.cat.create_marc.accesskey;" command="cmd_create_marc"/>
179                 <menuitem label="&staff.main.menu.cat.z39_50_import.label;" accesskey="&staff.main.menu.cat.z39_50_import.accesskey;" command="cmd_z39_50_import"/>
180                 <menuitem label="&staff.main.menu.cat.vandelay.label;" command="cmd_open_vandelay"/>
181                 <menuseparator />
182                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
183                 <menuitem label="&staff.main.menu.cat.retrieve_last_record.label;" accesskey="&staff.main.menu.cat.retrieve_last_record.accesskey;" command="cmd_retrieve_last_record" key="retrieve_last_record_key"/>
184         </menupopup>
185 </menu>
186
187
188 <!-- The Acquisitions menu on the main menu -->
189 <menu id="main.menu.acq" label="&staff.main.menu.acq.label;">
190         <menupopup id="main.menu.acq.popup">
191                 <menuitem label="&staff.main.menu.acq.picklist.label;" command="cmd_acq_view_picklist"/>
192                 <menuitem label="&staff.main.menu.acq.upload.label;" command="cmd_acq_upload"/>
193                 <menuitem label="&staff.main.menu.acq.po.label;" command="cmd_acq_view_po" />
194     </menupopup>
195 </menu>
196
197
198 <!-- The Search menu on the main menu -->
199 <menu id="main.menu.search" label="&staff.main.menu.search.label;" accesskey="&staff.main.menu.search.accesskey;">
200         <menupopup id="main.menu.search.popup">
201                 <menuitem label="&staff.main.menu.search.patrons.label;" accesskey="&staff.main.menu.search.patrons.accesskey;" key="patron-search-key" command="cmd_patron_search" />
202                 <menuitem label="&staff.main.menu.search.catalog.label;" accesskey="&staff.main.menu.search.catalog.accesskey;" key="search-opac-key" command="cmd_search_opac" />
203                 <menuitem label="&staff.main.menu.search.record.label;" accesskey="&staff.main.menu.search.record.accesskey;" key="search-tcn-key" command="cmd_search_tcn" />
204                 <menuitem label="&staff.main.menu.search.record_via_id.label;" accesskey="&staff.main.menu.search.record_via_id.accesskey;" key="search-bib-id-key" command="cmd_search_bib_id" />
205                 <menuitem label="&staff.main.menu.search.copies.label;" accesskey="&staff.main.menu.search.copies.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
206                 <menuitem label="&staff.main.menu.search.patrons_barcode.label;" accesskey="&staff.main.menu.search.patrons_barcode.accesskey;" key="circ-checkout-key" command="cmd_circ_checkout"/>
207         </menupopup>
208 </menu>
209
210 <!-- The Help menu on the main menu -->
211 <menu id="main.menu.help" label="&staff.main.menu.help.label;" accesskey="&staff.main.menu.help.accesskey;">
212         <menupopup id="main.menu.help.popup">
213                 <menuitem label="stub" />
214         </menupopup>
215 </menu>
216
217 <!-- The Help menu on the main menu -->
218 <menu id="main.menu.admin" label="&staff.main.menu.admin.label;" accesskey="&staff.main.menu.admin.accesskey;" old_accesskey="&staff.main.menu.admin.key;">
219         <menupopup id="main.menu.admin.popup">
220                 <menuitem id="oc_menuitem" label="&staff.main.menu.admin.change_session.label;" label_orig="&staff.main.menu.admin.change_session.label;" 
221                         accesskey="O" command="cmd_change_session"/>
222                 <menuitem label="&staff.main.menu.admin.offline_xacts.label;" accesskey="&staff.main.menu.admin.offline_xacts.accesskey;" command="cmd_manage_offline_xacts"/>
223                 <menuitem label="&staff.main.menu.admin.download_patrons.label;" accesskey="&staff.main.menu.admin.download_patrons.accesskey;" command="cmd_download_patrons"/>
224                 <menuseparator />
225                 <menuitem label="&staff.main.menu.admin.local_admin.label;" accesskey="&staff.main.menu.admin.local_admin.accesskey;" command="cmd_local_admin"/>
226                 <menuitem label="&staff.server.admin.index.conify;" command="cmd_open_conify"/>
227                 <menuitem label="&staff.main.menu.admin.user_edit.label;" accesskey="&staff.main.menu.admin.user_edit.accesskey;" command="cmd_adv_user_edit"/>
228                 <menuitem label="&staff.main.menu.admin.template_edit.label;" accesskey="&staff.main.menu.admin.template_edit.accesskey;" command="cmd_print_list_template_edit"/>
229                 <menuitem label="&staff.main.menu.admin.survey_wizard.label;" accesskey="&staff.main.menu.admin.survey_wizard.accesskey;" command="cmd_survey_wizard"/>
230                 <menuitem label="&staff.main.menu.admin.toggle_buttonbar.label;" accesskey="&staff.main.menu.admin.toggle_buttonbar.accesskey;" command="cmd_toggle_buttonbar"/>
231                 <menuseparator />
232                 <menu id="main.menu.admin.sub" accesskey="&staff.main.menu.admin.developer.accesskey;" label="&staff.main.menu.admin.developer.label;">
233                         <menupopup id="main.menu.admin.sub.popup">
234                                 <menuitem label="&staff.main.menu.admin.stat_cat_edit.label;" accesskey="&staff.main.menu.admin.stat_cat_edit.accesskey;" command="cmd_stat_cat_edit"/>
235                                 <menuitem label="&staff.main.menu.admin.non_cat_type_edit.label;" accesskey="&staff.main.menu.admin.non_cat_type_edit.accesskey;" command="cmd_non_cat_type_edit"/>
236                                 <menuitem label="&staff.main.menu.admin.copy_location_edit.label;" accesskey="&staff.main.menu.admin.copy_location_edit.accesskey;" command="cmd_copy_location_edit"/>
237                                 <menuitem label="&staff.main.menu.admin.browse_holds.label;" command="cmd_browse_holds" accesskey="&staff.main.menu.admin.browse_holds.accesskey;"/>
238                                 <menuseparator />
239                                 <menuitem label="&staff.main.menu.admin.public_opac.label;" command="cmd_public_opac" accesskey="&staff.main.menu.admin.public_opac.accesskey;"/>
240                                 <menuitem label="&staff.main.menu.admin.cmd_test.label;" old_accesskey="T" command="cmd_test"/>
241                                 <menuitem label="&staff.main.menu.admin.xuleditor.label;" accesskey="&staff.main.menu.admin.xuleditor.accesskey;" command="cmd_xuleditor"/>
242                                 <menuitem label="&staff.main.menu.admin.fieldmapper.label;" accesskey="&staff.main.menu.admin.fieldmapper.accesskey;" command="cmd_fieldmapper"/>
243                                 <menuitem label="&staff.main.menu.admin.cmd_console.label;" accesskey="&staff.main.menu.admin.cmd_console.accesskey;" command="cmd_console"/>
244                                 <menuitem label="&staff.main.menu.admin.cmd_shell.label;" accesskey="&staff.main.menu.admin.cmd_shell.accesskey;" command="cmd_shell"/>
245                                 <menuitem label="&staff.main.menu.admin.cmd_chrome_shell.label;" accesskey="&staff.main.menu.admin.cmd_chrome_shell.accesskey;" 
246                     oncommand="try{xulG.window.win.start_js_shell();}catch(E){alert(E);}"/>
247                                 <menuitem label="server/main/test.html" accesskey="1" command="cmd_test_html"/>
248                                 <menuitem label="server/main/test.xul" accesskey="2" command="cmd_test_xul"/>
249                                 <menuitem label="&staff.main.menu.admin.clear_cache.label;" accesskey="&staff.main.menu.admin.clear_cache.accesskey;" command="cmd_clear_cache"/>
250                                 <menuitem label="&staff.main.menu.admin.restore_all_tabs.label;" command="cmd_restore_all_tabs"/>
251                                 <menuitem label="&staff.main.menu.admin.extension_manager.label;" command="cmd_extension_manager"/>
252                                 <menuitem label="&staff.main.menu.admin.theme_manager.label;" command="cmd_theme_manager"/>
253                                 <menuitem label="&staff.main.menu.admin.about_config.label;" command="cmd_about_config"/>
254                                 <menuitem label="&staff.main.menu.admin.venkman.label;" oncommand="try{xulG.window.win.start_debugger();}catch(E){alert(E);}"/>
255                                 <menuitem label="&staff.main.auth.debug.inspector;" oncommand="try{xulG.window.win.start_inspector();}catch(E){alert(E);}"/>
256                                 <menuitem label="&staff.main.auth.debug.chrome_list;" oncommand="try{xulG.window.win.start_chrome_list();}catch(E){alert(E);}"/>
257                 <menuitem label="&staff.main.menu.admin.ping;" oncommand="try{netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');JSAN.use('util.network'); var n = new util.network(); alert(n.ping());}catch(E){alert(E);}"/>
258                         </menupopup>
259                 </menu>
260         </menupopup>
261 </menu>
262
263
264 </overlay>