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