]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul
some refactor and localization
[working/Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / main / app_shell_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/app_shell.dtd">
3 <overlay id="app_shell_overlay" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6 <commandset id="AppShell_cmds">
7
8         <command id="cmd_close_window" oncommand="
9                 window.close();" />
10
11         <command id="cmd_new_window" oncommand="
12                 spawn_main_window();" />
13
14         <command id="cmd_new_tab" oncommand="
15                 new_tab(document,'main_tabbox');" />
16
17         <command id="cmd_close_tab" oncommand="
18                 close_tab(document,'main_tabbox');" />
19
20         <command id="cmd_cat_main" oncommand="
21                 spawn_opac_navigator(document,'replace',{}); "/>        
22
23         <command id="cmd_circ_checkout" oncommand="
24                 spawn_check_out(document,'replace',{}); "/>     
25
26         <command id="cmd_circ_search" oncommand="
27                 spawn_circ_search(document,'replace',{}); "/>   
28
29         <command id="cmd_circ_display" oncommand="
30                 spawn_circ_display(document,'replace',{}); "/>
31
32         <command id="cmd_circ_checkin" oncommand="
33                 spawn_check_in(document,'replace',{}); "/>      
34
35         <command id="cmd_search_opac" oncommand="
36                 spawn_opac_navigator(document,'replace',{}); "/>        
37
38         <command id="cmd_patron_register" oncommand="
39                 spawn_patron_register(document,'replace',{}); "/>       
40
41         <command id="cmd_survey_wizard" oncommand="
42                 spawn_survey_admin_wizard(document,false,{}); "/>       
43
44         <command id="cmd_copy_stat_cat_edit" oncommand="
45                 spawn_copy_stat_cat_edit(document,'replace',{}); "/>    
46
47         <command id="cmd_patron_stat_cat_edit" oncommand="
48                 spawn_patron_stat_cat_edit(document,'replace',{}); "/>  
49
50         <command id="cmd_z39_50_import_old" oncommand="
51                 spawn_z3950_import(document,'replace',{}); "/>  
52
53         <command id="cmd_test" oncommand="
54                 "/>
55
56         <command id="cmd_broken" oncommand="
57                 alert('Not Yet Implemented'); "/>
58
59 </commandset>
60
61 <!-- The top level widget for the staff client -->
62 <box id="AppShell_main" flex="1">
63         <toolbox id="main_toolbox"/>
64         <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
65                 <tabs id="main_tabs"/>
66                 <tabpanels id="main_panels" flex="1"/>
67         </tabbox>
68         <toolbox id="entity_toolbox"/>
69 </box>
70
71 <!-- The main top level menubar -->
72 <toolbox id="main_toolbox">
73         <menubar id="main_menubar">
74                 <menu id="file-menu" label="&evergreen.file;" accesskey="&evergreen.file.key;"/>
75                 <menu id="edit-menu" label="&evergreen.edit;" accesskey="&evergreen.edit.key;"/>
76                 <menu id="search-menu" label="&evergreen.search;" accesskey="&evergreen.search.key;"/>
77                 <menu id="circ-menu" label="&evergreen.circ;" accesskey="&evergreen.circ.key;"/>
78                 <menu id="cat-menu" label="&evergreen.cat;" accesskey="&evergreen.cat.key;"/>
79                 <menu id="serials-menu" label="&evergreen.serials;" accesskey="&evergreen.serials.key;"/>
80                 <menu id="acquisitions-menu" label="&evergreen.acquisitions;" accesskey="&evergreen.acquisitions.key;"/>
81                 <menu id="reports-menu" label="&evergreen.reports;" accesskey="&evergreen.reports.key;"/>
82                 <spacer flex="1" />
83                 <menu id="admin-menu" label="&evergreen.admin;" accesskey="&evergreen.admin.key;"/>
84                 <menu id="help-menu" label="&evergreen.help;" accesskey="&evergreen.help.key;"/>
85         </menubar>
86 </toolbox>
87
88 <!-- The File menu on the main menu -->
89 <menu id="file-menu">
90         <menupopup id="file-popup">
91                 <menuitem label="&evergreen.file.new;" accesskey="&evergreen.file.new.key;" key="file-new-key" command="cmd_new_window"/>
92                 <menuitem label="&evergreen.file.new_tab;" accesskey="&evergreen.file.new_tab.key;" key="file-new-tab-key" command="cmd_new_tab"/>
93                 <menuseparator />
94                 <menuitem label="&evergreen.file.open;" accesskey="&evergreen.file.open.key;" key="file-open-key" command="cmd_broken"/>
95                 <menuitem label="&evergreen.file.save;" accesskey="&evergreen.file.save.key;" key="file-save-key" command="cmd_broken"/>
96                 <menuseparator />
97                 <menuitem label="&evergreen.file.close_tab;" accesskey="&evergreen.file.close_tab.key;" key="file-close-tab-key" command="cmd_close_tab"/>
98                 <menuitem label="&evergreen.file.close;" accesskey="&evergreen.file.close.key;" key="file-close-key" command="cmd_close_window"/>
99         </menupopup>
100 </menu>
101
102 <!-- The Edit menu on the main menu -->
103 <menu id="edit-menu">
104         <menupopup id="edit-popup">
105                 <menuitem label="&evergreen.edit.undo;" accesskey="&evergreen.edit.undo.key;" key="edit-undo-key" command="cmd_broken"/>
106                 <menuitem label="&evergreen.edit.redo;" accesskey="&evergreen.edit.redo.key;" key="edit-redo-key" command="cmd_broken"/>
107                 <menuseparator />
108                 <menuitem label="&evergreen.edit.cut;" accesskey="&evergreen.edit.cut.key;" key="edit-cut-key" command="cmd_broken"/>
109                 <menuitem label="&evergreen.edit.copy;" accesskey="&evergreen.edit.copy.key;" key="edit-copy-key" command="cmd_broken"/>
110                 <menuitem label="&evergreen.edit.paste;" accesskey="&evergreen.edit.paste.key;" key="edit-paste-key" command="cmd_broken"/>
111                 <menuitem label="&evergreen.edit.delete;" accesskey="&evergreen.edit.delete.key;" key="edit-delete-key" command="cmd_broken"/>
112                 <menuseparator />
113                 <menuitem label="&evergreen.edit.buckets;" accesskey="&evergreen.edit.buckets.key;" command="cmd_broken"/>
114                 <menuseparator />
115                 <menuitem label="&evergreen.edit.select_all;" accesskey="&evergreen.edit.select_all.key;" key="edit-select-all-key" command="cmd_broken"/>
116                 <menuseparator />
117                 <menuitem label="&evergreen.edit.find;" accesskey="&evergreen.edit.find.key;" key="edit-find-key" command="cmd_broken"/>
118                 <menuitem label="&evergreen.edit.find_again;" accesskey="&evergreen.edit.find_again.key;" key="edit-find-again-key" command="cmd_broken"/>
119         </menupopup>
120 </menu>
121
122 <!-- The Circulation menu on the main menu -->
123 <menu id="circ-menu">
124         <menupopup id="circ-popup">
125                 <menuitem label="&evergreen.circ.checkout;" accesskey="&evergreen.circ.checkout.key;" key="circ-check-out-key" command="cmd_circ_checkout"/>
126                 <menuitem label="&evergreen.circ.checkin;" accesskey="&evergreen.circ.checkin.key;" key="circ-check-in-key" command="cmd_circ_checkin"/>
127                 <menuitem label="&evergreen.circ.renew;" accesskey="&evergreen.circ.renew.key;" key="circ-renew-key" command="cmd_broken"/>
128                 <menu id="special-circ-menu" label="&evergreen.circ.special;" accesskey="&evergreen.circ.special.key;" command="cmd_broken"/>
129                 <menuseparator />
130                 <menuitem label="&evergreen.circ.place_hold;" accesskey="&evergreen.circ.place_hold.key;" key="circ-place-hold-key" command="cmd_broken"/>
131                 <menuseparator />
132                 <menuitem label="&evergreen.circ.copy_status;" accesskey="&evergreen.circ.copy_status.key;" key="circ-copy-status-key" command="cmd_broken"/>
133                 <menuitem label="&evergreen.circ.patron_status;" accesskey="&evergreen.circ.patron_status.key;" key="circ-patron-status-key" command="cmd_circ_display"/>
134                 <menuseparator />
135                 <menuitem label="&evergreen.circ.patron_registration;" accesskey="&evergreen.circ.patron_registration.key;" key="circ-patron-registration-key" command="cmd_patron_register"/>
136         </menupopup>
137 </menu>
138
139 <!-- The Special Circulation submenu in the Circulation menu -->
140 <menu id="special-circ-menu">
141         <menupopup id="special-circ-popup">
142                 <menuitem label="&evergreen.circ.mark_used;" accesskey="&evergreen.circ.mark_used.key;" key="circ-mark-used-key" command="cmd_broken"/>
143                 <menuitem label="&evergreen.circ.lost;" accesskey="&evergreen.circ.lost.key;" command="cmd_broken"/>
144                 <menuitem label="&evergreen.circ.missing;" accesskey="&evergreen.circ.missing.key;" command="cmd_broken"/>
145                 <menuitem label="&evergreen.circ.found;" accesskey="&evergreen.circ.found.key;" command="cmd_broken"/>
146                 <menuitem label="&evergreen.circ.claimed_returned;" accesskey="&evergreen.circ.claimed_returned.key;" command="cmd_broken"/>
147                 <menuitem label="&evergreen.circ.quick_add;" accesskey="&evergreen.circ.quick_add.key;" command="cmd_broken"/>
148         </menupopup>
149 </menu>
150
151 <!-- The Cataloging menu on the main menu -->
152 <menu id="cat-menu">
153         <menupopup id="cat-popup">
154                 <menuitem label="&evergreen.cat.bib_search;" accesskey="&evergreen.cat.bib_search.key;" command="cmd_cat_main"/>
155                 <menuseparator />
156                 <menuitem disabled="true" label="&evergreen.cat.dedup;" accesskey="&evergreen.cat.dedup.key;" command="cmd_broken"/>
157                 <menuitem label="Z39.50 Import" accesskey="Z" command="cmd_z39_50_import"/>
158         </menupopup>
159 </menu>
160
161 <!-- The Search menu on the main menu -->
162 <menu id="search-menu">
163         <menupopup id="search-popup">
164                 <menuitem label="Catalog" accesskey="C" command="cmd_search_opac" />
165                 <menuitem label="Patrons" accesskey="P" command="cmd_circ_search" />
166         </menupopup>
167 </menu>
168
169 <!-- The Serials menu on the main menu -->
170 <menu id="serials-menu">
171         <menupopup id="serials-popup">
172                 <menuitem label="stub" />
173                 <menuitem label="stub" />
174                 <menuitem label="stub" />
175         </menupopup>
176 </menu>
177
178 <!-- The Acquisitions menu on the main menu -->
179 <menu id="acquisitions-menu">
180         <menupopup id="acquisitions-popup">
181                 <menuitem label="stub" />
182                 <menuitem label="stub" />
183                 <menuitem label="stub" />
184         </menupopup>
185 </menu>
186
187 <!-- The Reports menu on the main menu -->
188 <menu id="reports-menu">
189         <menupopup id="reports-popup">
190                 <menuitem label="stub" />
191                 <menuitem label="stub" />
192                 <menuitem label="stub" />
193         </menupopup>
194 </menu>
195
196 <!-- The Help menu on the main menu -->
197 <menu id="help-menu">
198         <menupopup id="help-popup">
199                 <menuitem label="stub" />
200                 <menuitem label="stub" />
201                 <menuitem label="stub" />
202         </menupopup>
203 </menu>
204
205 <!-- The Help menu on the main menu -->
206 <menu id="admin-menu">
207         <menupopup id="admin-popup">
208                 <menuitem label="Survey Wizard" accesskey="S" command="cmd_survey_wizard"/>
209                 <menuitem label="Copy Stat-Cat Editor" accesskey="C" command="cmd_copy_stat_cat_edit"/>
210                 <menuitem label="Patron Stat-Cat Editor" accesskey="P" command="cmd_patron_stat_cat_edit"/>
211                 <menuitem label="stub" />
212                 <menuitem label="Test Module" command="cmd_test"/>
213         </menupopup>
214 </menu>
215
216 <!-- The Entity top level menubar -->
217 <toolbox id="entity_toolbox">
218         <menubar id="entity_menubar">
219                 <menu id="patron-menu" label="&evergreen.entity.patron;" accesskey="&evergreen.entity.patron.key;" command="cmd_broken"/>
220                 <menu id="copy-menu" label="&evergreen.entity.copy;" accesskey="&evergreen.entity.copy.key;" command="cmd_broken"/>
221                 <menu id="volume-menu" label="&evergreen.entity.volume;" accesskey="&evergreen.entity.volume.key;" command="cmd_broken"/>
222                 <menu id="bib-menu" label="&evergreen.entity.bib;" accesskey="&evergreen.entity.bib.key;" command="cmd_broken"/>
223         </menubar>
224 </toolbox>
225
226 <!-- The Patron menu on the Entity menubar -->
227 <menu id="patron-menu">
228         <menupopup id="patron-popup">
229                 <menuitem label="&evergreen.circ.patron_registration;" accesskey="&evergreen.entity.patron.register.key;" command="cmd_patron_register"/>
230                 <menuitem label="stub" />
231                 <menuitem label="stub" />
232         </menupopup>
233 </menu>
234
235 <!-- The Items menu on the Entity menubar -->
236 <menu id="copy-menu">
237         <menupopup id="copy-popup">
238                 <menuitem label="stub" />
239                 <menuitem label="stub" />
240                 <menuitem label="stub" />
241         </menupopup>
242 </menu>
243
244 <!-- The Volumes menu on the Entity menubar -->
245 <menu id="volume-menu">
246         <menupopup id="volume-popup">
247                 <menuitem label="stub" />
248                 <menuitem label="stub" />
249                 <menuitem label="stub" />
250         </menupopup>
251 </menu>
252
253 <!-- The Bib Records menu on the Entity menubar -->
254 <menu id="bib-menu">
255         <menupopup id="bib-popup">
256                 <menuitem label="stub" />
257                 <menuitem label="stub" />
258                 <menuitem label="stub" />
259         </menupopup>
260 </menu>
261
262 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
263 <keyset id="evergreen_keys">
264         <key id="file-new-key" modifiers="accel" key="N" command="cmd_new_window"/>
265         <key id="file-new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
266         <key id="file-open-key" modifiers="accel" key="O" command=""/>
267         <key id="file-save-key" modifiers="accel" key="S" command=""/>
268         <key id="file-close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
269         <key id="file-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>
270
271         <key id="edit-undo-key" modifiers="accel" key="Z" command=""/>
272         <key id="edit-redo-key" modifiers="accel" key="Y" command=""/>
273         <key id="edit-cut-key" modifiers="accel" key="X" command=""/>
274         <key id="edit-copy-key" modifiers="accel" key="C" command=""/>
275         <key id="edit-paste-key" modifiers="accel" key="V" command=""/>
276         <key id="edit-delete-key" modifiers="" keycode="VK_DELETE" command=""/>
277         <key id="edit-select-all-key" modifiers="accel" key="A" command=""/>
278         <key id="edit-find-key" modifiers="accel" key="F" command=""/>
279         <key id="edit-find-again-key" modifiers="accel" key="G" command=""/>
280
281         <key id="circ-patron-status-key" keycode="VK_F11" command="cmd_circ_display"/>
282         <key id="circ-copy-status-key" keycode="VK_F9" command=""/>
283         <key id="circ-check-out-key" keycode="VK_F1" command="cmd_circ_checkout"/>
284         <key id="circ-check-in-key" keycode="VK_F2" command="cmd_circ_checkin"/>
285         <key id="circ-renew-key" keycode="VK_F3" command=""/>
286         <key id="circ-mark-used-key" keycode="VK_F4" command=""/>
287         <key id="circ-place-hold-key" keycode="VK_F5" command=""/>
288         <key id="circ-patron-registration-key" keycode="VK_F12" command=""/>
289 </keyset>
290
291 </overlay>