]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
There was some timing issue / race condition with pulling in the venkman source in...
[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_patron_register" key="patron-register-key" />
38         <command id="cmd_standalone" />
39         <command id="cmd_survey_wizard" />
40         <command id="cmd_stat_cat_edit" />
41         <command id="cmd_non_cat_type_edit" />
42         <command id="cmd_copy_location_edit" />
43         <command id="cmd_print_list_template_edit" />
44         <command id="cmd_z39_50_import" />
45         <command id="cmd_create_new_marc_book" />
46         <command id="cmd_replace_barcode" />
47         <command id="cmd_reprint" />
48         <command id="cmd_retrieve_last_patron" />
49         <command id="cmd_retrieve_last_record" />
50
51         <command id="cmd_change_session" />
52         <command id="cmd_manage_offline_xacts" />
53         <command id="cmd_download_patrons" />
54         <command id="cmd_local_admin" />
55
56         <command id="cmd_extension_manager"/>
57         <command id="cmd_theme_manager"/>
58         <command id="cmd_about_config"/>
59
60         <command id="cmd_adv_user_edit" />
61         <command id="cmd_console" />
62         <command id="cmd_shell" />
63         <command id="cmd_xuleditor" />
64         <command id="cmd_fieldmapper" />
65         <command id="cmd_test_html" />
66         <command id="cmd_test_xul" />
67         <command id="cmd_clear_cache" />
68         <command id="cmd_restore_all_tabs" />
69
70         <command id="cmd_test" />
71         <command id="cmd_broken" disabled="true" />
72 </commandset>
73
74
75 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
76 <keyset id="menu_frame_keys">
77         <key id="new-window-key" modifiers="accel" key="N" command="cmd_new_window"/>
78         <key id="new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
79         <key id="open-key" modifiers="accel" key="O" command=""/>
80         <key id="save-key" modifiers="accel" key="S" command=""/>
81         <key id="close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
82         <key id="close-all-tabs-key" modifiers="accel,shift" key="W" command="cmd_close_all_tabs"/>
83         <key id="close-window-key" modifiers="accel" key="Q" command="cmd_close_window"/>
84         <key id="circ-checkout-key" keycode="VK_F1" command="cmd_circ_checkout"/>
85         <key id="circ-checkin-key" keycode="VK_F2" command="cmd_circ_checkin"/>
86         <key id="reprint-receipt-key" keycode="VK_F9" command="cmd_reprint"/>
87         <key id="search-opac-key" keycode="VK_F3" command="cmd_search_opac"/>
88         <key id="search-tcn-key" keycode="VK_F3" modifiers="shift" command="cmd_search_tcn"/>
89         <key id="patron-search-key" keycode="VK_F4" command="cmd_patron_search"/>
90         <key id="copy-status-key" keycode="VK_F5" command="cmd_copy_status"/>
91         <key id="circ-in-house-use-key" keycode="VK_F6" command="cmd_in_house_use"/>
92         <key id="circ-hold-capture-key" keycode="VK_F2" modifiers="shift" command="cmd_circ_hold_capture"/>
93         <key id="patron-register-key" keycode="VK_F1" modifiers="shift" command="cmd_patron_register"/>
94         <key id="retrieve_last_patron_key" keycode="VK_F8" command="cmd_retrieve_last_patron"/>
95         <key id="retrieve_last_record_key" keycode="VK_F8" modifiers="shift" command="cmd_retrieve_last_record"/>
96 </keyset>
97
98
99 <!-- The File menu on the main menu -->
100 <menu id="main.menu.file" label="&staff.main.menu.file.label;" accesskey="&staff.main.menu.file.key;" >
101         <menupopup id="main.menu.file.popup">
102                 <menuitem label="&staff.main.menu.file.new.label;" accesskey="&staff.main.menu.file.new.key;" key="new-window-key" command="cmd_new_window"/>
103                 <menuitem label="&staff.main.menu.file.new_tab.label;" accesskey="&staff.main.menu.file.new_tab.key;" key="new-tab-key" command="cmd_new_tab"/>
104                 <menuseparator />
105                 <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"/>
106                 <menuitem label="&staff.main.menu.tabs.close;" accesskey="&staff.main.menu.tabs.close.accesskey;" key="close-all-tabs-key" command="cmd_close_all_tabs"/>
107                 <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"/>
108                 <menuseparator />
109                 <menuitem label="&staff.main.menu.quit;" accesskey="&staff.main.menu.quit.accesskey;" command="cmd_shutdown"/>
110         </menupopup>
111 </menu>
112
113 <!-- The Edit menu on the main menu -->
114 <menu id="main.menu.edit" label="&staff.main.menu.edit.label;" accesskey="&staff.main.menu.edit.key;">
115         <menupopup id="main.menu.edit.popup">
116                 <menuitem label="&staff.main.menu.edit.buckets.copies;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.edit.buckets.copies.accesskey;"/>
117                 <menuitem label="&staff.main.menu.edit.buckets.volumes;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.edit.buckets.volumes.accesskey;"/>
118                 <menuitem label="&staff.main.menu.edit.buckets.records;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.edit.buckets.records.accesskey;"/>
119                 <menuitem label="&staff.main.menu.edit.buckets.users;" command="cmd_edit_user_buckets" accesskey="&staff.main.menu.edit.buckets.users.accesskey;"/>
120                 <menuseparator />
121                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
122         </menupopup>
123 </menu>
124
125 <!-- The Circulation menu on the main menu -->
126 <menu id="main.menu.circ" label="&staff.main.menu.circ.label;" accesskey="&staff.main.menu.circ.key;">
127         <menupopup id="main.menu.circ.popup">
128                 <menuitem label="&staff.main.menu.circ.checkout.label;" accesskey="&staff.main.menu.circ.checkout.key;" key="circ-checkout-key" command="cmd_circ_checkout"/>
129                 <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.key;" key="circ-checkin-key" command="cmd_circ_checkin"/>
130                 <menuitem label="&staff.main.menu.circ.patron_registration.label;" accesskey="&staff.main.menu.circ.patron_registration.key;" key="patron-register-key" command="cmd_patron_register"/>
131                 <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"/>
132                 <menuseparator />
133                 <menuitem label="&staff.main.menu.circ.hold_capture.label;" accesskey="&staff.main.menu.circ.hold_capture.key;" key="circ-hold-capture-key" command="cmd_circ_hold_capture"/>
134                 <menuitem label="&staff.main.menu.circ.hold_pull.label;" accesskey="&staff.main.menu.circ.hold_pull.accesskey;" command="cmd_circ_hold_pull_list"/>
135                 <menuitem label="&staff.main.menu.circ.hold_browse.label;" command="cmd_browse_holds_shelf" accesskey="&staff.main.menu.circ.hold_browse.accesskey;"/>
136                 <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"/>
137                 <menuseparator />
138                 <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"/>
139                 <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"/>
140                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
141                 <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"/>
142                 <menuseparator />
143                 <menuitem label="&staff.main.menu.circ.reprint.label;" accesskey="&staff.main.menu.circ.reprint.accesskey;" key="reprint-receipt-key" command="cmd_reprint"/>
144                 <menuitem label="&staff.main.menu.circ.offline.label;" command="cmd_standalone" accesskey="&staff.main.menu.circ.offline.accesskey;"/>
145         </menupopup>
146 </menu>
147
148 <!-- The Cataloging menu on the main menu -->
149 <menu id="main.menu.cat" label="&staff.main.menu.cat.label;" accesskey="&staff.main.menu.cat.accesskey;">
150         <menupopup id="main.menu.cat.popup">
151                 <menuitem label="&staff.main.menu.cat.bib_search.label;" accesskey="&staff.main.menu.cat.bib_search.key;" key="search-opac-key" command="cmd_search_opac"/>
152                 <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" />
153                 <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"/>
154                 <menuseparator />
155                 <!--
156                 <menuitem disabled="true" label="&staff.main.menu.cat.dedup.label;" accesskey="&staff.main.menu.cat.dedup.key;" command="cmd_broken"/>
157                 -->
158                 <menuitem label="&staff.main.menu.cat.edit_copy_buckets.label;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.cat.edit_copy_buckets.accesskey;"/>
159                 <menuitem label="&staff.main.menu.cat.edit_volume_buckets.label;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.cat.edit_volume_buckets.accesskey;"/>
160                 <menuitem label="&staff.main.menu.cat.edit_record_buckets.label;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.cat.edit_record_buckets.accesskey;"/>
161                 <menuseparator />
162                 <menuitem label="&staff.main.menu.cat.create_marc.label;" accesskey="&staff.main.menu.cat.create_marc.accesskey;" command="cmd_create_marc"/>
163                 <menuitem label="&staff.main.menu.cat.z39_50_import.label;" accesskey="&staff.main.menu.cat.z39_50_import.accesskey;" command="cmd_z39_50_import"/>
164                 <menuseparator />
165                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
166                 <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"/>
167         </menupopup>
168 </menu>
169
170 <!-- The Search menu on the main menu -->
171 <menu id="main.menu.search" label="&staff.main.menu.search.label;" accesskey="&staff.main.menu.search.key;">
172         <menupopup id="main.menu.search.popup">
173                 <menuitem label="&staff.main.menu.search.patrons.label;" accesskey="&staff.main.menu.search.patrons.accesskey;" key="patron-search-key" command="cmd_patron_search" />
174                 <menuitem label="&staff.main.menu.search.catalog.label;" accesskey="&staff.main.menu.search.catalog.accesskey;" key="search-opac-key" command="cmd_search_opac" />
175                 <menuitem label="&staff.main.menu.search.record.label;" accesskey="&staff.main.menu.search.record.accesskey;" key="search-tcn-key" command="cmd_search_tcn" />
176                 <menuitem label="&staff.main.menu.search.copies.label;" accesskey="&staff.main.menu.search.copies.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
177                 <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"/>
178         </menupopup>
179 </menu>
180
181 <!-- The Help menu on the main menu -->
182 <menu id="main.menu.help" label="&staff.main.menu.help.label;" accesskey="&staff.main.menu.help.key;">
183         <menupopup id="main.menu.help.popup">
184                 <menuitem label="stub" />
185         </menupopup>
186 </menu>
187
188 <!-- The Help menu on the main menu -->
189 <menu id="main.menu.admin" label="&staff.main.menu.admin.label;" accesskey="&staff.main.menu.admin.accesskey;" old_accesskey="&staff.main.menu.admin.key;">
190         <menupopup id="main.menu.admin.popup">
191                 <menuitem id="oc_menuitem" label="&staff.main.menu.admin.change_session.label;" label_orig="&staff.main.menu.admin.change_session.label;" 
192                         accesskey="O" command="cmd_change_session"/>
193                 <menuitem label="&staff.main.menu.admin.offline_xacts.label;" accesskey="&staff.main.menu.admin.offline_xacts.accesskey;" command="cmd_manage_offline_xacts"/>
194                 <menuitem label="&staff.main.menu.admin.download_patrons.label;" accesskey="&staff.main.menu.admin.download_patrons.accesskey;" command="cmd_download_patrons"/>
195                 <menuseparator />
196                 <menuitem label="&staff.main.menu.admin.local_admin.label;" accesskey="&staff.main.menu.admin.local_admin.accesskey;" command="cmd_local_admin"/>
197                 <menuitem label="&staff.main.menu.admin.user_edit.label;" accesskey="&staff.main.menu.admin.user_edit.accesskey;" command="cmd_adv_user_edit"/>
198                 <menuitem label="&staff.main.menu.admin.template_edit.label;" accesskey="&staff.main.menu.admin.template_edit.accesskey;" command="cmd_print_list_template_edit"/>
199                 <menuitem label="&staff.main.menu.admin.survey_wizard.label;" accesskey="&staff.main.menu.admin.survey_wizard.accesskey;" command="cmd_survey_wizard"/>
200                 <menuseparator />
201                 <menu id="main.menu.admin.sub" accesskey="&staff.main.menu.admin.developer.accesskey;" label="&staff.main.menu.admin.developer.label;">
202                         <menupopup id="main.menu.admin.sub.popup">
203                                 <menuitem label="&staff.main.menu.admin.stat_cat_edit.label;" accesskey="&staff.main.menu.admin.stat_cat_edit.accesskey;" command="cmd_stat_cat_edit"/>
204                                 <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"/>
205                                 <menuitem label="&staff.main.menu.admin.copy_location_edit.label;" accesskey="&staff.main.menu.admin.copy_location_edit.accesskey;" command="cmd_copy_location_edit"/>
206                                 <menuitem label="&staff.main.menu.admin.browse_holds.label;" command="cmd_browse_holds" accesskey="&staff.main.menu.admin.browse_holds.accesskey;"/>
207                                 <menuseparator />
208                                 <menuitem label="&staff.main.menu.admin.public_opac.label;" command="cmd_public_opac" accesskey="&staff.main.menu.admin.public_opac.accesskey;"/>
209                                 <menuitem label="&staff.main.menu.admin.cmd_test.label;" old_accesskey="T" command="cmd_test"/>
210                                 <menuitem label="&staff.main.menu.admin.xuleditor.label;" accesskey="&staff.main.menu.admin.xuleditor.accesskey;" command="cmd_xuleditor"/>
211                                 <menuitem label="&staff.main.menu.admin.fieldmapper.label;" accesskey="&staff.main.menu.admin.fieldmapper.accesskey;" command="cmd_fieldmapper"/>
212                                 <menuitem label="&staff.main.menu.admin.cmd_console.label;" accesskey="&staff.main.menu.admin.cmd_console.accesskey;" command="cmd_console"/>
213                                 <menuitem label="&staff.main.menu.admin.cmd_shell.label;" accesskey="&staff.main.menu.admin.cmd_shell.accesskey;" command="cmd_shell"/>
214                                 <menuitem label="server/main/test.html" accesskey="1" command="cmd_test_html"/>
215                                 <menuitem label="server/main/test.xul" accesskey="2" command="cmd_test_xul"/>
216                                 <menuitem label="&staff.main.menu.admin.clear_cache.label;" accesskey="&staff.main.menu.admin.clear_cache.accesskey;" command="cmd_clear_cache"/>
217                                 <menuitem label="&staff.main.menu.admin.restore_all_tabs.label;" command="cmd_restore_all_tabs"/>
218                                 <menuitem label="&staff.main.menu.admin.extension_manager.label;" command="cmd_extension_manager"/>
219                                 <menuitem label="&staff.main.menu.admin.theme_manager.label;" command="cmd_theme_manager"/>
220                                 <menuitem label="&staff.main.menu.admin.about_config.label;" command="cmd_about_config"/>
221                                 <menuitem label="&staff.main.menu.admin.venkman.label;" oncommand="try{start_venkman();}catch(E){alert(E);}"/>
222                         </menupopup>
223                 </menu>
224         </menupopup>
225 </menu>
226
227
228 </overlay>