]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/main/menu_frame_menus.xul
make it easier to test things
[Evergreen.git] / Open-ILS / xul / staff_client / server / main / menu_frame_menus.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/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_close_window" key="close-window-key" />
10         <command id="cmd_new_window" key="new-window-key" />
11         <command id="cmd_new_tab" key="new-tab-key" />
12         <command id="cmd_close_tab" key="close-tab-key" />
13
14         <command id="cmd_cat_main" key="cat-main-key" />
15         <command id="cmd_circ_checkout" key="circ-checkout-key" />
16         <command id="cmd_patron_search" key="patron-search-key" />
17         <command id="cmd_circ_checkin" key="circ-checkin-key" />
18         <command id="cmd_circ_hold_capture" key="circ-hold-capture-key" />
19         <command id="cmd_search_opac" key="search-opac-key" />
20         <command id="cmd_patron_register" key="patron-register-key" />
21         <command id="cmd_survey_wizard" />
22         <command id="cmd_copy_stat_cat_edit" />
23         <command id="cmd_patron_stat_cat_edit" />
24         <command id="cmd_receipt_template_editor" />
25         <command id="cmd_z39_50_import" />
26         <command id="cmd_create_new_marc_book" />
27
28         <command id="cmd_console" />
29         <command id="cmd_shell" />
30         <command id="cmd_xuleditor" />
31         <command id="cmd_filter_console" />
32         <command id="cmd_fieldmapper" />
33         <command id="cmd_test_html" />
34         <command id="cmd_test_xul" />
35
36         <command id="cmd_test" disabled="true" />
37         <command id="cmd_broken" disabled="true" />
38 </commandset>
39
40
41 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
42 <keyset id="menu_frame_keys">
43         <key id="new-window-key" modifiers="accel" key="N" command="cmd_new_window"/>
44         <key id="new-tab-key" modifiers="accel" key="T" />
45         <key id="open-key" modifiers="accel" key="O" command=""/>
46         <key id="save-key" modifiers="accel" key="S" command=""/>
47         <key id="close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
48         <key id="close-window-key" modifiers="accel" key="Q" command="cmd_close_window"/>
49         <!--
50         <key id="edit-undo-key" modifiers="accel" key="Z" command=""/>
51         <key id="edit-redo-key" modifiers="accel" key="Y" command=""/>
52         <key id="edit-cut-key" modifiers="accel" key="X" command=""/>
53         <key id="edit-copy-key" modifiers="accel" key="C" command=""/>
54         <key id="edit-paste-key" modifiers="accel" key="V" command=""/>
55         <key id="edit-delete-key" modifiers="" keycode="VK_DELETE" command=""/>
56         <key id="edit-select-all-key" modifiers="accel" key="A" command=""/>
57         <key id="edit-find-key" modifiers="accel" key="F" command=""/>
58         <key id="edit-find-again-key" modifiers="accel" key="G" command=""/>
59
60         <key id="circ-patron-status-key" keycode="VK_F11" command="cmd_circ_display"/>
61         <key id="circ-copy-status-key" keycode="VK_F9" command=""/>
62         <key id="circ-check-in-key" keycode="VK_F2" command="cmd_circ_checkin"/>
63         <key id="circ-renew-key" keycode="VK_F3" command=""/>
64         <key id="circ-mark-used-key" keycode="VK_F4" command=""/>
65         <key id="circ-place-hold-key" keycode="VK_F5" command=""/>
66         <key id="circ-patron-registration-key" keycode="VK_F12" command=""/>
67         -->
68         <key id="circ-checkout-key" keycode="VK_F1" command="cmd_circ_checkout"/>
69         <key id="circ-checkin-key" keycode="VK_F2" command="cmd_circ_checkin"/>
70         <key id="search-opac-key" keycode="VK_F3" command="cmd_search_opac"/>
71         <key id="patron-search-key" keycode="VK_F4" command="cmd_patron_search"/>
72         <key id="circ-hold-capture-key" keycode="VK_F5" command="cmd_circ_hold_capture"/>
73         <key id="patron-register-key" keycode="VK_F12" command="cmd_patron_registration"/>
74 </keyset>
75
76
77 <!-- The File menu on the main menu -->
78 <menu id="main.menu.file" label="&staff.main.menu.file.label;" accesskey="&staff.main.menu.file.key;" >
79         <menupopup id="main.menu.file.popup">
80                 <menuitem label="&staff.main.menu.file.new.label;" accesskey="&staff.main.menu.file.new.key;" key="file-new-key" command="cmd_new_window"/>
81                 <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"/>
82                 <menuseparator />
83         <!--
84                 <menuitem label="&staff.main.menu.file.open.label;" accesskey="&staff.main.menu.file.open.key;" key="file-open-key" command="cmd_broken" disabled="true"/>
85                 <menuitem label="&staff.main.menu.file.save.label;" accesskey="&staff.main.menu.file.save.key;" key="file-save-key" command="cmd_broken"/>
86                 <menuseparator />
87         -->
88                 <menuitem label="&staff.main.menu.file.close_tab.label;" accesskey="&staff.main.menu.file.close_tab.key;" key="file-close-tab-key" command="cmd_close_tab"/>
89                 <menuitem label="&staff.main.menu.file.close.label;" accesskey="&staff.main.menu.file.close.key;" key="file-close-key" command="cmd_close_window"/>
90         </menupopup>
91 </menu>
92
93 <!-- The Edit menu on the main menu -->
94 <menu id="main.menu.edit" label="&staff.main.menu.edit.label;" accesskey="&staff.main.menu.edit.key;">
95         <menupopup id="main.menu.edit.popup">
96                 <menuitem label="stub"/>
97         <!--
98                 <menuitem label="&staff.main.menu.edit.undo.label;" accesskey="&staff.main.menu.edit.undo.key;" key="edit-undo-key" command="cmd_broken"/>
99                 <menuitem label="&staff.main.menu.edit.redo.label;" accesskey="&staff.main.menu.edit.redo.key;" key="edit-redo-key" command="cmd_broken"/>
100                 <menuseparator />
101                 <menuitem label="&staff.main.menu.edit.cut.label;" accesskey="&staff.main.menu.edit.cut.key;" key="edit-cut-key" command="cmd_broken"/>
102                 <menuitem label="&staff.main.menu.edit.copy.label;" accesskey="&staff.main.menu.edit.copy.key;" key="edit-copy-key" command="cmd_broken"/>
103                 <menuitem label="&staff.main.menu.edit.paste.label;" accesskey="&staff.main.menu.edit.paste.key;" key="edit-paste-key" command="cmd_broken"/>
104                 <menuitem label="&staff.main.menu.edit.delete.label;" accesskey="&staff.main.menu.edit.delete.key;" key="edit-delete-key" command="cmd_broken"/>
105                 <menuseparator />
106                 <menuitem label="&staff.main.menu.edit.buckets.label;" accesskey="&staff.main.menu.edit.buckets.key;" command="cmd_broken"/>
107                 <menuseparator />
108                 <menuitem label="&staff.main.menu.edit.select_all.label;" accesskey="&staff.main.menu.edit.select_all.key;" key="edit-select-all-key" command="cmd_broken"/>
109                 <menuseparator />
110                 <menuitem label="&staff.main.menu.edit.find.label;" accesskey="&staff.main.menu.edit.find.key;" key="edit-find-key" command="cmd_broken"/>
111                 <menuitem label="&staff.main.menu.edit.find_again.label;" accesskey="&staff.main.menu.edit.find_again.key;" key="edit-find-again-key" command="cmd_broken"/>
112         -->
113         </menupopup>
114 </menu>
115
116 <!-- The Circulation menu on the main menu -->
117 <menu id="main.menu.circ" label="&staff.main.menu.circ.label;" accesskey="&staff.main.menu.circ.key;">
118         <menupopup id="main.menu.circ.popup">
119                 <menuitem label="&staff.main.menu.circ.checkout.label;" accesskey="&staff.main.menu.circ.checkout.key;" command="cmd_circ_checkout"/>
120                 <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.key;" command="cmd_circ_checkin"/>
121                 <menuitem label="&staff.main.menu.circ.hold_capture.label;" accesskey="&staff.main.menu.circ.hold_capture.key;" command="cmd_circ_hold_capture"/>
122         <!--
123                 <menu id="special-circ-menu" label="&staff.main.menu.circ.special.label;" accesskey="&staff.main.menu.circ.special.key;" command="cmd_broken"/>
124                 <menuseparator />
125                 <menuitem label="&staff.main.menu.circ.place_hold.label;" accesskey="&staff.main.menu.circ.place_hold.key;" key="circ-place-hold-key" command="cmd_broken"/>
126         -->
127                 <menuseparator />
128                 <menuitem label="&staff.main.menu.circ.copy_status.label;" accesskey="&staff.main.menu.circ.copy_status.key;" command="cmd_broken"/>
129                 <menuitem label="&staff.main.menu.circ.patron_status.label;" accesskey="&staff.main.menu.circ.patron_status.key;" command="cmd_circ_checkout"/>
130                 <menuseparator />
131                 <menuitem label="&staff.main.menu.circ.patron_registration.label;" accesskey="&staff.main.menu.circ.patron_registration.key;" command="cmd_patron_register"/>
132         </menupopup>
133 </menu>
134
135 <!-- The Special Circulation submenu in the Circulation menu -->
136 <menu id="special-circ-menu">
137         <menupopup id="special-circ-popup">
138                 <menuitem label="&staff.main.menu.circ.mark_used.label;" accesskey="&staff.main.menu.circ.mark_used.key;" command="cmd_broken"/>
139                 <menuitem label="&staff.main.menu.circ.lost.label;" accesskey="&staff.main.menu.circ.lost.key;" command="cmd_broken"/>
140                 <menuitem label="&staff.main.menu.circ.missing.label;" accesskey="&staff.main.menu.circ.missing.key;" command="cmd_broken"/>
141                 <menuitem label="&staff.main.menu.circ.found.label;" accesskey="&staff.main.menu.circ.found.key;" command="cmd_broken"/>
142                 <menuitem label="&staff.main.menu.circ.claimed_returned.label;" accesskey="&staff.main.menu.circ.claimed_returned.key;" command="cmd_broken"/>
143                 <menuitem label="&staff.main.menu.circ.quick_add.label;" accesskey="&staff.main.menu.circ.quick_add.key;" command="cmd_broken"/>
144         </menupopup>
145 </menu>
146
147 <!-- The Cataloging menu on the main menu -->
148 <menu id="main.menu.cat" label="&staff.main.menu.cat.label;" accesskey="&staff.main.menu.cat.key;">
149         <menupopup id="main.menu.cat.popup">
150                 <menuitem label="&staff.main.menu.cat.bib_search.label;" accesskey="&staff.main.menu.cat.bib_search.key;" command="cmd_search_opac"/>
151                 <menuseparator />
152                 <menuitem disabled="true" label="&staff.main.menu.cat.dedup.label;" accesskey="&staff.main.menu.cat.dedup.key;" command="cmd_broken"/>
153                 <menuitem label="Create New Marc Record" accesskey="n" command="cmd_create_new_marc_book"/>
154                 <menuitem label="Z39.50 Import" accesskey="Z" command="cmd_z39_50_import"/>
155         </menupopup>
156 </menu>
157
158 <!-- The Search menu on the main menu -->
159 <menu id="main.menu.search" label="&staff.main.menu.search.label;" accesskey="&staff.main.menu.search.key;">
160         <menupopup id="main.menu.search.popup">
161                 <menuitem label="Catalog" accesskey="C" command="cmd_search_opac" />
162                 <menuitem label="Patrons" accesskey="P" command="cmd_patron_search" />
163         </menupopup>
164 </menu>
165
166 <!-- The Serials menu on the main menu -->
167 <menu id="main.menu.serials" label="&staff.main.menu.serials.label;" accesskey="&staff.main.menu.serials.key;">
168         <menupopup id="main.menu.serials.popup">
169                 <menuitem label="stub" />
170         </menupopup>
171 </menu>
172
173 <!-- The Acquisitions menu on the main menu -->
174 <menu id="main.menu.acquisitions" label="&staff.main.menu.acquisitions.label;" accesskey="&staff.main.menu.acquisitions.key;">
175         <menupopup id="main.menu.acquisitions.popup">
176                 <menuitem label="stub" />
177         </menupopup>
178 </menu>
179
180 <!-- The Reports menu on the main menu -->
181 <menu id="main.menu.reports" label="&staff.main.menu.reports.label;" accesskey="&staff.main.menu.reports.key;">
182         <menupopup id="main.menu.reports.popup">
183                 <menuitem label="stub" />
184         </menupopup>
185 </menu>
186
187 <!-- The Help menu on the main menu -->
188 <menu id="main.menu.help" label="&staff.main.menu.help.label;" accesskey="&staff.main.menu.help.key;">
189         <menupopup id="main.menu.help.popup">
190                 <menuitem label="stub" />
191         </menupopup>
192 </menu>
193
194 <!-- The Help menu on the main menu -->
195 <menu id="main.menu.admin" label="&staff.main.menu.admin.label;" accesskey="&staff.main.menu.admin.key;">
196         <menupopup id="main.menu.admin.popup">
197                 <menuitem label="Receipt Template Editor" accesskey="R" command="cmd_receipt_template_editor"/>
198                 <menuitem label="Survey Wizard" accesskey="S" command="cmd_survey_wizard"/>
199                 <menuitem label="Copy Stat-Cat Editor" accesskey="C" command="cmd_copy_stat_cat_edit"/>
200                 <menuitem label="Patron Stat-Cat Editor" accesskey="P" command="cmd_patron_stat_cat_edit"/>
201                 <menuseparator />
202                 <menuitem label="Test Module" accesskey="T" command="cmd_test"/>
203                 <menuitem label="XUL Test" accesskey="X" command="cmd_xuleditor"/>
204                 <menuitem label="Fieldmapper" accesskey="m" command="cmd_fieldmapper"/>
205                 <menuitem label="Filterable Console" accesskey="F" command="cmd_filter_console"/>
206                 <menuitem label="Javscript Console" accesskey="J" command="cmd_console"/>
207                 <menuitem label="Javscript Shell" accesskey="H" command="cmd_shell"/>
208                 <menuitem label="server/main/test.html" accesskey="1" command="cmd_test_html"/>
209                 <menuitem label="server/main/test.xul" accesskey="2" command="cmd_test_xul"/>
210         </menupopup>
211 </menu>
212
213
214 </overlay>