]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
optional button bar between top-level menu and tabbed interfaces
[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 </commandset>
78
79
80 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
81 <keyset id="menu_frame_keys">
82         <key id="new-window-key" modifiers="accel" key="N" command="cmd_new_window"/>
83         <key id="new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
84         <key id="open-key" modifiers="accel" key="O" command=""/>
85         <key id="save-key" modifiers="accel" key="S" command=""/>
86         <key id="close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
87         <key id="close-all-tabs-key" modifiers="accel,shift" key="W" command="cmd_close_all_tabs"/>
88         <key id="close-window-key" modifiers="accel" key="Q" command="cmd_close_window"/>
89         <key id="circ-checkout-key" keycode="VK_F1" command="cmd_circ_checkout"/>
90         <key id="circ-checkin-key" keycode="VK_F2" command="cmd_circ_checkin"/>
91         <key id="reprint-receipt-key" keycode="VK_F9" command="cmd_reprint"/>
92         <key id="search-opac-key" keycode="VK_F3" command="cmd_search_opac"/>
93         <key id="search-tcn-key" keycode="VK_F3" modifiers="shift" command="cmd_search_tcn"/>
94         <key id="patron-search-key" keycode="VK_F4" command="cmd_patron_search"/>
95         <key id="copy-status-key" keycode="VK_F5" command="cmd_copy_status"/>
96         <key id="circ-in-house-use-key" keycode="VK_F6" command="cmd_in_house_use"/>
97         <key id="circ-hold-capture-key" keycode="VK_F2" modifiers="shift" command="cmd_circ_hold_capture"/>
98         <key id="patron-register-key" keycode="VK_F1" modifiers="shift" command="cmd_patron_register"/>
99         <key id="retrieve_last_patron_key" keycode="VK_F8" command="cmd_retrieve_last_patron"/>
100         <key id="retrieve_last_record_key" keycode="VK_F8" modifiers="shift" command="cmd_retrieve_last_record"/>
101 </keyset>
102
103 <!-- The File menu on the main menu -->
104 <menu id="main.menu.file" label="&staff.main.menu.file.label;" accesskey="&staff.main.menu.file.accesskey;" >
105         <menupopup id="main.menu.file.popup">
106                 <menuitem label="&staff.main.menu.file.new.label;" accesskey="&staff.main.menu.file.new.accesskey;" key="new-window-key" command="cmd_new_window"/>
107                 <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"/>
108                 <menuseparator />
109                 <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"/>
110                 <menuitem label="&staff.main.menu.tabs.close;" accesskey="&staff.main.menu.tabs.close.accesskey;" key="close-all-tabs-key" command="cmd_close_all_tabs"/>
111                 <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"/>
112                 <menuseparator />
113                 <menuitem label="&staff.main.menu.quit;" accesskey="&staff.main.menu.quit.accesskey;" command="cmd_shutdown"/>
114         </menupopup>
115 </menu>
116
117 <!-- The Edit menu on the main menu -->
118 <menu id="main.menu.edit" label="&staff.main.menu.edit.label;" accesskey="&staff.main.menu.edit.accesskey;">
119         <menupopup id="main.menu.edit.popup">
120                 <menuitem label="&staff.main.menu.edit.buckets.copies;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.edit.buckets.copies.accesskey;"/>
121                 <menuitem label="&staff.main.menu.edit.buckets.volumes;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.edit.buckets.volumes.accesskey;"/>
122                 <menuitem label="&staff.main.menu.edit.buckets.records;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.edit.buckets.records.accesskey;"/>
123                 <menuitem label="&staff.main.menu.edit.buckets.users;" command="cmd_edit_user_buckets" accesskey="&staff.main.menu.edit.buckets.users.accesskey;"/>
124                 <menuseparator />
125                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
126         </menupopup>
127 </menu>
128
129 <!-- The Circulation menu on the main menu -->
130 <menu id="main.menu.circ" label="&staff.main.menu.circ.label;" accesskey="&staff.main.menu.circ.accesskey;">
131         <menupopup id="main.menu.circ.popup">
132                 <menuitem label="&staff.main.menu.circ.checkout.label;" accesskey="&staff.main.menu.circ.checkout.accesskey;" key="circ-checkout-key" command="cmd_circ_checkout"/>
133                 <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.accesskey;" key="circ-checkin-key" command="cmd_circ_checkin"/>
134                 <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"/>
135                 <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"/>
136                 <menuseparator />
137                 <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"/>
138                 <menuitem label="&staff.main.menu.circ.hold_pull.label;" accesskey="&staff.main.menu.circ.hold_pull.accesskey;" command="cmd_circ_hold_pull_list"/>
139                 <menuitem label="&staff.main.menu.circ.hold_browse.label;" command="cmd_browse_holds_shelf" accesskey="&staff.main.menu.circ.hold_browse.accesskey;"/>
140                 <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"/>
141                 <menuseparator />
142                 <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"/>
143                 <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"/>
144                 <menuitem label="&staff.main.menu.circ.verify_credentials;" accesskey="&staff.main.menu.circ.verify_credentials.accesskey;" command="cmd_verify_credentials"/>
145                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
146                 <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"/>
147                 <menuseparator />
148                 <menuitem label="&staff.main.menu.circ.reprint.label;" accesskey="&staff.main.menu.circ.reprint.accesskey;" key="reprint-receipt-key" command="cmd_reprint"/>
149                 <menuitem label="&staff.main.menu.circ.offline.label;" command="cmd_standalone" accesskey="&staff.main.menu.circ.offline.accesskey;"/>
150         </menupopup>
151 </menu>
152
153 <!-- The Cataloging menu on the main menu -->
154 <menu id="main.menu.cat" label="&staff.main.menu.cat.label;" accesskey="&staff.main.menu.cat.accesskey;">
155         <menupopup id="main.menu.cat.popup">
156                 <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"/>
157                 <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" />
158                 <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" />
159                 <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"/>
160                 <menuseparator />
161                 <!--
162                 <menuitem disabled="true" label="&staff.main.menu.cat.dedup.label;" accesskey="&staff.main.menu.cat.dedup.accesskey;" command="cmd_broken"/>
163                 -->
164                 <menuitem label="&staff.main.menu.cat.edit_copy_buckets.label;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.cat.edit_copy_buckets.accesskey;"/>
165                 <menuitem label="&staff.main.menu.cat.edit_volume_buckets.label;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.cat.edit_volume_buckets.accesskey;"/>
166                 <menuitem label="&staff.main.menu.cat.edit_record_buckets.label;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.cat.edit_record_buckets.accesskey;"/>
167                 <menuseparator />
168                 <menuitem label="&staff.main.menu.cat.create_marc.label;" accesskey="&staff.main.menu.cat.create_marc.accesskey;" command="cmd_create_marc"/>
169                 <menuitem label="&staff.main.menu.cat.z39_50_import.label;" accesskey="&staff.main.menu.cat.z39_50_import.accesskey;" command="cmd_z39_50_import"/>
170                 <menuitem label="&staff.main.menu.cat.vandelay.label;" command="cmd_open_vandelay"/>
171                 <menuseparator />
172                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
173                 <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"/>
174         </menupopup>
175 </menu>
176
177 <!-- The Search menu on the main menu -->
178 <menu id="main.menu.search" label="&staff.main.menu.search.label;" accesskey="&staff.main.menu.search.accesskey;">
179         <menupopup id="main.menu.search.popup">
180                 <menuitem label="&staff.main.menu.search.patrons.label;" accesskey="&staff.main.menu.search.patrons.accesskey;" key="patron-search-key" command="cmd_patron_search" />
181                 <menuitem label="&staff.main.menu.search.catalog.label;" accesskey="&staff.main.menu.search.catalog.accesskey;" key="search-opac-key" command="cmd_search_opac" />
182                 <menuitem label="&staff.main.menu.search.record.label;" accesskey="&staff.main.menu.search.record.accesskey;" key="search-tcn-key" command="cmd_search_tcn" />
183                 <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" />
184                 <menuitem label="&staff.main.menu.search.copies.label;" accesskey="&staff.main.menu.search.copies.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
185                 <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"/>
186         </menupopup>
187 </menu>
188
189 <!-- The Help menu on the main menu -->
190 <menu id="main.menu.help" label="&staff.main.menu.help.label;" accesskey="&staff.main.menu.help.accesskey;">
191         <menupopup id="main.menu.help.popup">
192                 <menuitem label="stub" />
193         </menupopup>
194 </menu>
195
196 <!-- The Help menu on the main menu -->
197 <menu id="main.menu.admin" label="&staff.main.menu.admin.label;" accesskey="&staff.main.menu.admin.accesskey;" old_accesskey="&staff.main.menu.admin.key;">
198         <menupopup id="main.menu.admin.popup">
199                 <menuitem id="oc_menuitem" label="&staff.main.menu.admin.change_session.label;" label_orig="&staff.main.menu.admin.change_session.label;" 
200                         accesskey="O" command="cmd_change_session"/>
201                 <menuitem label="&staff.main.menu.admin.offline_xacts.label;" accesskey="&staff.main.menu.admin.offline_xacts.accesskey;" command="cmd_manage_offline_xacts"/>
202                 <menuitem label="&staff.main.menu.admin.download_patrons.label;" accesskey="&staff.main.menu.admin.download_patrons.accesskey;" command="cmd_download_patrons"/>
203                 <menuseparator />
204                 <menuitem label="&staff.main.menu.admin.local_admin.label;" accesskey="&staff.main.menu.admin.local_admin.accesskey;" command="cmd_local_admin"/>
205                 <menuitem label="&staff.server.admin.index.conify;" command="cmd_open_conify"/>
206                 <menuitem label="&staff.main.menu.admin.user_edit.label;" accesskey="&staff.main.menu.admin.user_edit.accesskey;" command="cmd_adv_user_edit"/>
207                 <menuitem label="&staff.main.menu.admin.template_edit.label;" accesskey="&staff.main.menu.admin.template_edit.accesskey;" command="cmd_print_list_template_edit"/>
208                 <menuitem label="&staff.main.menu.admin.survey_wizard.label;" accesskey="&staff.main.menu.admin.survey_wizard.accesskey;" command="cmd_survey_wizard"/>
209                 <menuitem label="&staff.main.menu.admin.toggle_buttonbar.label;" accesskey="&staff.main.menu.admin.toggle_buttonbar.accesskey;" command="cmd_toggle_buttonbar"/>
210                 <menuseparator />
211                 <menu id="main.menu.admin.sub" accesskey="&staff.main.menu.admin.developer.accesskey;" label="&staff.main.menu.admin.developer.label;">
212                         <menupopup id="main.menu.admin.sub.popup">
213                                 <menuitem label="&staff.main.menu.admin.stat_cat_edit.label;" accesskey="&staff.main.menu.admin.stat_cat_edit.accesskey;" command="cmd_stat_cat_edit"/>
214                                 <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"/>
215                                 <menuitem label="&staff.main.menu.admin.copy_location_edit.label;" accesskey="&staff.main.menu.admin.copy_location_edit.accesskey;" command="cmd_copy_location_edit"/>
216                                 <menuitem label="&staff.main.menu.admin.browse_holds.label;" command="cmd_browse_holds" accesskey="&staff.main.menu.admin.browse_holds.accesskey;"/>
217                                 <menuseparator />
218                                 <menuitem label="&staff.main.menu.admin.public_opac.label;" command="cmd_public_opac" accesskey="&staff.main.menu.admin.public_opac.accesskey;"/>
219                                 <menuitem label="&staff.main.menu.admin.cmd_test.label;" old_accesskey="T" command="cmd_test"/>
220                                 <menuitem label="&staff.main.menu.admin.xuleditor.label;" accesskey="&staff.main.menu.admin.xuleditor.accesskey;" command="cmd_xuleditor"/>
221                                 <menuitem label="&staff.main.menu.admin.fieldmapper.label;" accesskey="&staff.main.menu.admin.fieldmapper.accesskey;" command="cmd_fieldmapper"/>
222                                 <menuitem label="&staff.main.menu.admin.cmd_console.label;" accesskey="&staff.main.menu.admin.cmd_console.accesskey;" command="cmd_console"/>
223                                 <menuitem label="&staff.main.menu.admin.cmd_shell.label;" accesskey="&staff.main.menu.admin.cmd_shell.accesskey;" command="cmd_shell"/>
224                                 <menuitem label="&staff.main.menu.admin.cmd_chrome_shell.label;" accesskey="&staff.main.menu.admin.cmd_chrome_shell.accesskey;" 
225                     oncommand="try{xulG.window.win.start_js_shell();}catch(E){alert(E);}"/>
226                                 <menuitem label="server/main/test.html" accesskey="1" command="cmd_test_html"/>
227                                 <menuitem label="server/main/test.xul" accesskey="2" command="cmd_test_xul"/>
228                                 <menuitem label="&staff.main.menu.admin.clear_cache.label;" accesskey="&staff.main.menu.admin.clear_cache.accesskey;" command="cmd_clear_cache"/>
229                                 <menuitem label="&staff.main.menu.admin.restore_all_tabs.label;" command="cmd_restore_all_tabs"/>
230                                 <menuitem label="&staff.main.menu.admin.extension_manager.label;" command="cmd_extension_manager"/>
231                                 <menuitem label="&staff.main.menu.admin.theme_manager.label;" command="cmd_theme_manager"/>
232                                 <menuitem label="&staff.main.menu.admin.about_config.label;" command="cmd_about_config"/>
233                                 <menuitem label="&staff.main.menu.admin.venkman.label;" oncommand="try{xulG.window.win.start_debugger();}catch(E){alert(E);}"/>
234                                 <menuitem label="&staff.main.auth.debug.inspector;" oncommand="try{xulG.window.win.start_inspector();}catch(E){alert(E);}"/>
235                                 <menuitem label="&staff.main.auth.debug.chrome_list;" oncommand="try{xulG.window.win.start_chrome_list();}catch(E){alert(E);}"/>
236                 <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);}"/>
237                         </menupopup>
238                 </menu>
239         </menupopup>
240 </menu>
241
242
243 </overlay>