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">
6 <script>mw.sdump('D_TRACE','Loading app_shell_overlay.xul\n');</script>
8 <?xul-overlay href="chrome://evergreen/content/main/app_shell_menus_overlay.xul"?>
10 <commandset id="universal_cmds">
12 <command id="cmd_close_window" key="close-window-key" oncommand="
15 <command id="cmd_new_window" key="new-window-key" oncommand="
18 <command id="cmd_new_tab" key="new-tab-key" oncommand="
19 mw.new_tab(document,'main_tabbox');" />
21 <command id="cmd_close_tab" key="close-tab-key" oncommand="
22 mw.close_tab(document,'main_tabbox');" />
24 <command id="cmd_cat_main" key="cat-main-key" oncommand="
25 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>
27 <command id="cmd_circ_checkout" key="circ-checkout-key" oncommand="
28 mw.spawn_patron_barcode_entry(document,'replace_tab','main_tabbox',{}); "/>
30 <command id="cmd_patron_search" key="patron-search-key" oncommand="
31 mw.spawn_patron_search(document,'replace_tab','main_tabbox',{}); "/>
33 <command id="cmd_circ_checkin" key="circ-checkin-key" oncommand="
34 mw.spawn_checkin(document,'replace_tab','main_tabbox',{}); "/>
36 <command id="cmd_circ_hold_capture" key="circ-hold-capture-key" oncommand="
37 mw.spawn_hold_capture(document,'replace_tab','main_tabbox',{}); "/>
39 <command id="cmd_search_opac" key="search-opac-key" oncommand="
40 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>
42 <command id="cmd_patron_register" key="patron-register-key" oncommand="
43 mw.spawn_patron_register(document,'replace_tab','main_tabbox',{}); "/>
45 <command id="cmd_survey_wizard" oncommand="
46 mw.spawn_survey_admin_wizard(document,'new_window','',{}); "/>
48 <command id="cmd_copy_stat_cat_edit" oncommand="
49 mw.spawn_copy_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>
51 <command id="cmd_patron_stat_cat_edit" oncommand="
52 mw.spawn_patron_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>
54 <command id="cmd_receipt_template_editor" oncommand="
55 mw.spawn_receipt_template_editor(document,'replace_tab','main_tabbox',{}); "/>
57 <command id="cmd_z39_50_import" oncommand="
58 mw.spawn_z3950_import(document,'replace_tab','main_tabbox',{}); "/>
60 <command id="cmd_console" oncommand="
61 mw.spawn_javascript_console(document,'new_tab','main_tabbox',{}); "/>
63 <command id="cmd_shell" oncommand="
64 mw.spawn_javascript_shell(document,'new_tab','main_tabbox',{}); "/>
66 <command id="cmd_xuleditor" oncommand="
67 mw.spawn_xuleditor(document,'new_tab','main_tabbox',{}); "/>
69 <command id="cmd_filter_console" oncommand="
70 mw.spawn_filter_console(document,'new_tab','main_tabbox',{}); "/>
72 <command id="cmd_fieldmapper" oncommand="
73 mw.spawn_fieldmapper(document,'new_tab','main_tabbox',{}); "/>
75 <command id="cmd_test" disabled="true" oncommand="
76 mw.spawn_interface(document,'new_tab','main_tabbox','chrome://evergreen/content/util/fm_view.xul','Fieldmapper',{}); "/>
78 <command id="cmd_broken" disabled="true" oncommand="
79 alert('Not Yet Implemented'); "/>
83 <!-- The top level widget for the staff client -->
84 <box id="AppShell_main" flex="1" orient="vertical">
85 <toolbox id="main_toolbox"/>
86 <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
87 <tabs id="main_tabs" closebutton="true">
88 <tab id="tab_1" accesskey="1" label="Tab 1" hidden="true" />
89 <tab id="tab_2" accesskey="2" label="Tab 2" hidden="true" />
90 <tab id="tab_3" accesskey="3" label="Tab 3" hidden="true" />
91 <tab id="tab_4" accesskey="4" label="Tab 4" hidden="true" />
92 <tab id="tab_5" accesskey="5" label="Tab 5" hidden="true" />
93 <tab id="tab_6" accesskey="6" label="Tab 6" hidden="true" />
94 <tab id="tab_7" accesskey="7" label="Tab 7" hidden="true" />
95 <tab id="tab_8" accesskey="8" label="Tab 8" hidden="true" />
96 <tab id="tab_9" accesskey="9" label="Tab 9" hidden="true" />
98 <tabpanels id="main_panels" flex="1">
99 <tabpanel id="panel_1"><label value="panel_1"/></tabpanel>
100 <tabpanel id="panel_2"><label value="panel_2"/></tabpanel>
101 <tabpanel id="panel_3"><label value="panel_3"/></tabpanel>
102 <tabpanel id="panel_4"><label value="panel_4"/></tabpanel>
103 <tabpanel id="panel_5"><label value="panel_5"/></tabpanel>
104 <tabpanel id="panel_6"><label value="panel_6"/></tabpanel>
105 <tabpanel id="panel_7"><label value="panel_7"/></tabpanel>
106 <tabpanel id="panel_8"><label value="panel_8"/></tabpanel>
107 <tabpanel id="panel_9"><label value="panel_9"/></tabpanel>
110 <toolbox id="entity_toolbox"/>
113 <!-- The main top level menubar -->
114 <toolbox id="main_toolbox">
115 <menubar id="main_menubar">
116 <menu id="main.menu.file" />
117 <menu id="main.menu.edit" />
118 <menu id="main.menu.search" />
119 <menu id="main.menu.circ" />
120 <menu id="main.menu.cat" />
121 <menu id="main.menu.serials" />
122 <menu id="main.menu.acquisitions" />
123 <menu id="main.menu.reports" />
125 <menu id="main.menu.admin" />
126 <menu id="main.menu.help" />
130 <!-- The Entity top level menubar -->
132 <toolbox id="entity_toolbox">
133 <menubar id="entity_menubar">
134 <menu id="patron-menu" label="&main.menu.entity.patron.label;" accesskey="&main.menu.entity.patron.key;" command="cmd_broken"/>
135 <menu id="copy-menu" label="&main.menu.entity.copy.label;" accesskey="&main.menu.entity.copy.key;" command="cmd_broken"/>
136 <menu id="volume-menu" label="&main.menu.entity.volume.label;" accesskey="&main.menu.entity.volume.key;" command="cmd_broken"/>
137 <menu id="bib-menu" label="&main.menu.entity.bib.label;" accesskey="&main.menu.entity.bib.key;" command="cmd_broken"/>
142 <!-- The Patron menu on the Entity menubar -->
144 <menu id="patron-menu">
145 <menupopup id="patron-popup">
146 <menuitem label="&main.menu.circ.patron_registration.label;" accesskey="&main.menu.entity.patron.register.key;" command="cmd_patron_register"/>
147 <menuitem label="stub" />
148 <menuitem label="stub" />
153 <!-- The Items menu on the Entity menubar -->
155 <menu id="copy-menu">
156 <menupopup id="copy-popup">
157 <menuitem label="stub" />
158 <menuitem label="stub" />
159 <menuitem label="stub" />
164 <!-- The Volumes menu on the Entity menubar -->
166 <menu id="volume-menu">
167 <menupopup id="volume-popup">
168 <menuitem label="stub" />
169 <menuitem label="stub" />
170 <menuitem label="stub" />
175 <!-- The Bib Records menu on the Entity menubar -->
178 <menupopup id="bib-popup">
179 <menuitem label="stub" />
180 <menuitem label="stub" />
181 <menuitem label="stub" />
186 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
187 <keyset id="AppShell_keys">
188 <key id="new-window-key" modifiers="accel" key="N" command="cmd_new_window"/>
189 <key id="new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
190 <key id="open-key" modifiers="accel" key="O" command=""/>
191 <key id="save-key" modifiers="accel" key="S" command=""/>
192 <key id="close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
193 <key id="close-window-key" modifiers="accel" key="Q" command="cmd_close_window"/>
195 <key id="edit-undo-key" modifiers="accel" key="Z" command=""/>
196 <key id="edit-redo-key" modifiers="accel" key="Y" command=""/>
197 <key id="edit-cut-key" modifiers="accel" key="X" command=""/>
198 <key id="edit-copy-key" modifiers="accel" key="C" command=""/>
199 <key id="edit-paste-key" modifiers="accel" key="V" command=""/>
200 <key id="edit-delete-key" modifiers="" keycode="VK_DELETE" command=""/>
201 <key id="edit-select-all-key" modifiers="accel" key="A" command=""/>
202 <key id="edit-find-key" modifiers="accel" key="F" command=""/>
203 <key id="edit-find-again-key" modifiers="accel" key="G" command=""/>
205 <key id="circ-patron-status-key" keycode="VK_F11" command="cmd_circ_display"/>
206 <key id="circ-copy-status-key" keycode="VK_F9" command=""/>
207 <key id="circ-check-in-key" keycode="VK_F2" command="cmd_circ_checkin"/>
208 <key id="circ-renew-key" keycode="VK_F3" command=""/>
209 <key id="circ-mark-used-key" keycode="VK_F4" command=""/>
210 <key id="circ-place-hold-key" keycode="VK_F5" command=""/>
211 <key id="circ-patron-registration-key" keycode="VK_F12" command=""/>
213 <key id="circ-checkout-key" keycode="VK_F1" command="cmd_circ_checkout"/>
214 <key id="circ-checkin-key" keycode="VK_F2" command="cmd_circ_checkin"/>
215 <key id="search-opac-key" keycode="VK_F3" command="cmd_search_opac"/>
216 <key id="patron-search-key" keycode="VK_F4" command="cmd_patron_search"/>
217 <key id="circ-hold-capture-key" keycode="VK_F5" command="cmd_circ_hold_capture"/>
218 <key id="patron-register-key" keycode="VK_F12" command="cmd_patron_registration"/>