]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
remove stubs
[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         <!--
122                 <menuitem label="&staff.main.menu.edit.buckets.volumes;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.edit.buckets.volumes.accesskey;"/>
123         -->
124                 <menuitem label="&staff.main.menu.edit.buckets.records;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.edit.buckets.records.accesskey;"/>
125         <!--
126                 <menuitem label="&staff.main.menu.edit.buckets.users;" command="cmd_edit_user_buckets" accesskey="&staff.main.menu.edit.buckets.users.accesskey;"/>
127         -->
128                 <menuseparator />
129                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
130         </menupopup>
131 </menu>
132
133 <!-- The Circulation menu on the main menu -->
134 <menu id="main.menu.circ" label="&staff.main.menu.circ.label;" accesskey="&staff.main.menu.circ.accesskey;">
135         <menupopup id="main.menu.circ.popup">
136                 <menuitem label="&staff.main.menu.circ.checkout.label;" accesskey="&staff.main.menu.circ.checkout.accesskey;" key="circ-checkout-key" command="cmd_circ_checkout"/>
137                 <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.accesskey;" key="circ-checkin-key" command="cmd_circ_checkin"/>
138                 <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"/>
139                 <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"/>
140                 <menuseparator />
141                 <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"/>
142                 <menuitem label="&staff.main.menu.circ.hold_pull.label;" accesskey="&staff.main.menu.circ.hold_pull.accesskey;" command="cmd_circ_hold_pull_list"/>
143                 <menuitem label="&staff.main.menu.circ.hold_browse.label;" command="cmd_browse_holds_shelf" accesskey="&staff.main.menu.circ.hold_browse.accesskey;"/>
144                 <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"/>
145                 <menuseparator />
146                 <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"/>
147                 <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"/>
148                 <menuitem label="&staff.main.menu.circ.verify_credentials;" accesskey="&staff.main.menu.circ.verify_credentials.accesskey;" command="cmd_verify_credentials"/>
149                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
150                 <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"/>
151                 <menuseparator />
152                 <menuitem label="&staff.main.menu.circ.reprint.label;" accesskey="&staff.main.menu.circ.reprint.accesskey;" key="reprint-receipt-key" command="cmd_reprint"/>
153                 <menuitem label="&staff.main.menu.circ.offline.label;" command="cmd_standalone" accesskey="&staff.main.menu.circ.offline.accesskey;"/>
154         </menupopup>
155 </menu>
156
157 <!-- The Cataloging menu on the main menu -->
158 <menu id="main.menu.cat" label="&staff.main.menu.cat.label;" accesskey="&staff.main.menu.cat.accesskey;">
159         <menupopup id="main.menu.cat.popup">
160                 <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"/>
161                 <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" />
162                 <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" />
163                 <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"/>
164                 <menuseparator />
165                 <!--
166                 <menuitem disabled="true" label="&staff.main.menu.cat.dedup.label;" accesskey="&staff.main.menu.cat.dedup.accesskey;" command="cmd_broken"/>
167                 -->
168                 <menuitem label="&staff.main.menu.cat.edit_copy_buckets.label;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.cat.edit_copy_buckets.accesskey;"/>
169         <!--
170                 <menuitem label="&staff.main.menu.cat.edit_volume_buckets.label;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.cat.edit_volume_buckets.accesskey;"/>
171         -->
172                 <menuitem label="&staff.main.menu.cat.edit_record_buckets.label;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.cat.edit_record_buckets.accesskey;"/>
173                 <menuseparator />
174                 <menuitem label="&staff.main.menu.cat.create_marc.label;" accesskey="&staff.main.menu.cat.create_marc.accesskey;" command="cmd_create_marc"/>
175                 <menuitem label="&staff.main.menu.cat.z39_50_import.label;" accesskey="&staff.main.menu.cat.z39_50_import.accesskey;" command="cmd_z39_50_import"/>
176                 <menuitem label="&staff.main.menu.cat.vandelay.label;" command="cmd_open_vandelay"/>
177                 <menuseparator />
178                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
179                 <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"/>
180         </menupopup>
181 </menu>
182
183 <!-- The Search menu on the main menu -->
184 <menu id="main.menu.search" label="&staff.main.menu.search.label;" accesskey="&staff.main.menu.search.accesskey;">
185         <menupopup id="main.menu.search.popup">
186                 <menuitem label="&staff.main.menu.search.patrons.label;" accesskey="&staff.main.menu.search.patrons.accesskey;" key="patron-search-key" command="cmd_patron_search" />
187                 <menuitem label="&staff.main.menu.search.catalog.label;" accesskey="&staff.main.menu.search.catalog.accesskey;" key="search-opac-key" command="cmd_search_opac" />
188                 <menuitem label="&staff.main.menu.search.record.label;" accesskey="&staff.main.menu.search.record.accesskey;" key="search-tcn-key" command="cmd_search_tcn" />
189                 <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" />
190                 <menuitem label="&staff.main.menu.search.copies.label;" accesskey="&staff.main.menu.search.copies.accesskey;" key="copy-status-key" command="cmd_copy_status"/>
191                 <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"/>
192         </menupopup>
193 </menu>
194
195 <!-- The Help menu on the main menu -->
196 <menu id="main.menu.help" label="&staff.main.menu.help.label;" accesskey="&staff.main.menu.help.accesskey;">
197         <menupopup id="main.menu.help.popup">
198                 <menuitem label="stub" />
199         </menupopup>
200 </menu>
201
202 <!-- The Help menu on the main menu -->
203 <menu id="main.menu.admin" label="&staff.main.menu.admin.label;" accesskey="&staff.main.menu.admin.accesskey;" old_accesskey="&staff.main.menu.admin.key;">
204         <menupopup id="main.menu.admin.popup">
205                 <menuitem id="oc_menuitem" label="&staff.main.menu.admin.change_session.label;" label_orig="&staff.main.menu.admin.change_session.label;" 
206                         accesskey="O" command="cmd_change_session"/>
207                 <menuitem label="&staff.main.menu.admin.offline_xacts.label;" accesskey="&staff.main.menu.admin.offline_xacts.accesskey;" command="cmd_manage_offline_xacts"/>
208                 <menuitem label="&staff.main.menu.admin.download_patrons.label;" accesskey="&staff.main.menu.admin.download_patrons.accesskey;" command="cmd_download_patrons"/>
209                 <menuseparator />
210                 <menuitem label="&staff.main.menu.admin.local_admin.label;" accesskey="&staff.main.menu.admin.local_admin.accesskey;" command="cmd_local_admin"/>
211                 <menuitem label="&staff.server.admin.index.conify;" command="cmd_open_conify"/>
212                 <menuitem label="&staff.main.menu.admin.user_edit.label;" accesskey="&staff.main.menu.admin.user_edit.accesskey;" command="cmd_adv_user_edit"/>
213                 <menuitem label="&staff.main.menu.admin.template_edit.label;" accesskey="&staff.main.menu.admin.template_edit.accesskey;" command="cmd_print_list_template_edit"/>
214                 <menuitem label="&staff.main.menu.admin.survey_wizard.label;" accesskey="&staff.main.menu.admin.survey_wizard.accesskey;" command="cmd_survey_wizard"/>
215                 <menuitem label="&staff.main.menu.admin.toggle_buttonbar.label;" accesskey="&staff.main.menu.admin.toggle_buttonbar.accesskey;" command="cmd_toggle_buttonbar"/>
216                 <menuseparator />
217                 <menu id="main.menu.admin.sub" accesskey="&staff.main.menu.admin.developer.accesskey;" label="&staff.main.menu.admin.developer.label;">
218                         <menupopup id="main.menu.admin.sub.popup">
219                                 <menuitem label="&staff.main.menu.admin.stat_cat_edit.label;" accesskey="&staff.main.menu.admin.stat_cat_edit.accesskey;" command="cmd_stat_cat_edit"/>
220                                 <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"/>
221                                 <menuitem label="&staff.main.menu.admin.copy_location_edit.label;" accesskey="&staff.main.menu.admin.copy_location_edit.accesskey;" command="cmd_copy_location_edit"/>
222                                 <menuitem label="&staff.main.menu.admin.browse_holds.label;" command="cmd_browse_holds" accesskey="&staff.main.menu.admin.browse_holds.accesskey;"/>
223                                 <menuseparator />
224                                 <menuitem label="&staff.main.menu.admin.public_opac.label;" command="cmd_public_opac" accesskey="&staff.main.menu.admin.public_opac.accesskey;"/>
225                                 <menuitem label="&staff.main.menu.admin.cmd_test.label;" old_accesskey="T" command="cmd_test"/>
226                                 <menuitem label="&staff.main.menu.admin.xuleditor.label;" accesskey="&staff.main.menu.admin.xuleditor.accesskey;" command="cmd_xuleditor"/>
227                                 <menuitem label="&staff.main.menu.admin.fieldmapper.label;" accesskey="&staff.main.menu.admin.fieldmapper.accesskey;" command="cmd_fieldmapper"/>
228                                 <menuitem label="&staff.main.menu.admin.cmd_console.label;" accesskey="&staff.main.menu.admin.cmd_console.accesskey;" command="cmd_console"/>
229                                 <menuitem label="&staff.main.menu.admin.cmd_shell.label;" accesskey="&staff.main.menu.admin.cmd_shell.accesskey;" command="cmd_shell"/>
230                                 <menuitem label="&staff.main.menu.admin.cmd_chrome_shell.label;" accesskey="&staff.main.menu.admin.cmd_chrome_shell.accesskey;" 
231                     oncommand="try{xulG.window.win.start_js_shell();}catch(E){alert(E);}"/>
232                                 <menuitem label="server/main/test.html" accesskey="1" command="cmd_test_html"/>
233                                 <menuitem label="server/main/test.xul" accesskey="2" command="cmd_test_xul"/>
234                                 <menuitem label="&staff.main.menu.admin.clear_cache.label;" accesskey="&staff.main.menu.admin.clear_cache.accesskey;" command="cmd_clear_cache"/>
235                                 <menuitem label="&staff.main.menu.admin.restore_all_tabs.label;" command="cmd_restore_all_tabs"/>
236                                 <menuitem label="&staff.main.menu.admin.extension_manager.label;" command="cmd_extension_manager"/>
237                                 <menuitem label="&staff.main.menu.admin.theme_manager.label;" command="cmd_theme_manager"/>
238                                 <menuitem label="&staff.main.menu.admin.about_config.label;" command="cmd_about_config"/>
239                                 <menuitem label="&staff.main.menu.admin.venkman.label;" oncommand="try{xulG.window.win.start_debugger();}catch(E){alert(E);}"/>
240                                 <menuitem label="&staff.main.auth.debug.inspector;" oncommand="try{xulG.window.win.start_inspector();}catch(E){alert(E);}"/>
241                                 <menuitem label="&staff.main.auth.debug.chrome_list;" oncommand="try{xulG.window.win.start_chrome_list();}catch(E){alert(E);}"/>
242                 <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);}"/>
243                         </menupopup>
244                 </menu>
245         </menupopup>
246 </menu>
247
248
249 </overlay>