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 <?xul-overlay href="chrome://evergreen/content/main/app_shell_menus_overlay.xul"?>
8 <commandset id="AppShell_cmds">
10 <command id="cmd_close_window" oncommand="
13 <command id="cmd_new_window" oncommand="
16 <command id="cmd_new_tab" oncommand="
17 mw.new_tab(document,'main_tabbox');" />
19 <command id="cmd_close_tab" oncommand="
20 mw.close_tab(document,'main_tabbox');" />
22 <command id="cmd_cat_main" oncommand="
23 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>
25 <command id="cmd_circ_checkout" oncommand="
26 mw.spawn_check_out(document,'replace_tab','main_tabbox',{}); "/>
28 <command id="cmd_circ_search" oncommand="
29 mw.spawn_circ_search(document,'replace_tab','main_tabbox',{}); "/>
31 <command id="cmd_circ_display" oncommand="
32 mw.spawn_circ_display(document,'replace_tab','main_tabbox',{}); "/>
34 <command id="cmd_circ_checkin" oncommand="
35 mw.spawn_check_in(document,'replace_tab','main_tabbox',{}); "/>
37 <command id="cmd_search_opac" oncommand="
38 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>
40 <command id="cmd_patron_register" oncommand="
41 mw.spawn_patron_register(document,'replace_tab','main_tabbox',{}); "/>
43 <command id="cmd_survey_wizard" oncommand="
44 mw.spawn_survey_admin_wizard(document,'new_window','',{}); "/>
46 <command id="cmd_copy_stat_cat_edit" oncommand="
47 mw.spawn_copy_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>
49 <command id="cmd_patron_stat_cat_edit" oncommand="
50 mw.spawn_patron_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>
52 <command id="cmd_z39_50_import_old" oncommand="
53 mw.spawn_z3950_import(document,'replace_tab','main_tabbox',{}); "/>
55 <command id="cmd_console" oncommand="
56 mw.spawn_javascript_console(document,'new_tab','main_tabbox',{}); "/>
58 <command id="cmd_shell" oncommand="
59 mw.spawn_javascript_shell(document,'new_tab','main_tabbox',{}); "/>
61 <command id="cmd_xuleditor" oncommand="
62 mw.spawn_xuleditor(document,'new_tab','main_tabbox',{}); "/>
64 <command id="cmd_test" oncommand="
69 'chrome://evergreen/content/main/clam_shell.xul',
74 <command id="cmd_broken" oncommand="
75 alert('Not Yet Implemented'); "/>
79 <!-- The top level widget for the staff client -->
80 <box id="AppShell_main" flex="1" orient="vertical">
81 <toolbox id="main_toolbox"/>
82 <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
83 <tabs id="main_tabs" closebutton="true">
84 <tab id="tab_1" accesskey="1" label="Tab 1" />
85 <tab id="tab_2" accesskey="2" label="Tab 2" hidden="true" />
86 <tab id="tab_3" accesskey="3" label="Tab 3" hidden="true" />
87 <tab id="tab_4" accesskey="4" label="Tab 4" hidden="true" />
88 <tab id="tab_5" accesskey="5" label="Tab 5" hidden="true" />
89 <tab id="tab_6" accesskey="6" label="Tab 6" hidden="true" />
90 <tab id="tab_7" accesskey="7" label="Tab 7" hidden="true" />
91 <tab id="tab_8" accesskey="8" label="Tab 8" hidden="true" />
92 <tab id="tab_9" accesskey="9" label="Tab 9" hidden="true" />
94 <tabpanels id="main_panels" flex="1">
95 <tabpanel id="panel_1"><label value="panel_1"/></tabpanel>
96 <tabpanel id="panel_2"><label value="panel_2"/></tabpanel>
97 <tabpanel id="panel_3"><label value="panel_3"/></tabpanel>
98 <tabpanel id="panel_4"><label value="panel_4"/></tabpanel>
99 <tabpanel id="panel_5"><label value="panel_5"/></tabpanel>
100 <tabpanel id="panel_6"><label value="panel_6"/></tabpanel>
101 <tabpanel id="panel_7"><label value="panel_7"/></tabpanel>
102 <tabpanel id="panel_8"><label value="panel_8"/></tabpanel>
103 <tabpanel id="panel_9"><label value="panel_9"/></tabpanel>
106 <toolbox id="entity_toolbox"/>
109 <!-- The main top level menubar -->
110 <toolbox id="main_toolbox">
111 <menubar id="main_menubar">
112 <menu id="main.menu.file" />
113 <menu id="main.menu.edit" />
114 <menu id="main.menu.search" />
115 <menu id="main.menu.circ" />
116 <menu id="main.menu.cat" />
117 <menu id="main.menu.serials" />
118 <menu id="main.menu.acquisitions" />
119 <menu id="main.menu.reports" />
121 <menu id="main.menu.admin" />
122 <menu id="main.menu.help" />
126 <!-- The Entity top level menubar -->
128 <toolbox id="entity_toolbox">
129 <menubar id="entity_menubar">
130 <menu id="patron-menu" label="&main.menu.entity.patron.label;" accesskey="&main.menu.entity.patron.key;" command="cmd_broken"/>
131 <menu id="copy-menu" label="&main.menu.entity.copy.label;" accesskey="&main.menu.entity.copy.key;" command="cmd_broken"/>
132 <menu id="volume-menu" label="&main.menu.entity.volume.label;" accesskey="&main.menu.entity.volume.key;" command="cmd_broken"/>
133 <menu id="bib-menu" label="&main.menu.entity.bib.label;" accesskey="&main.menu.entity.bib.key;" command="cmd_broken"/>
138 <!-- The Patron menu on the Entity menubar -->
140 <menu id="patron-menu">
141 <menupopup id="patron-popup">
142 <menuitem label="&main.menu.circ.patron_registration.label;" accesskey="&main.menu.entity.patron.register.key;" command="cmd_patron_register"/>
143 <menuitem label="stub" />
144 <menuitem label="stub" />
149 <!-- The Items menu on the Entity menubar -->
151 <menu id="copy-menu">
152 <menupopup id="copy-popup">
153 <menuitem label="stub" />
154 <menuitem label="stub" />
155 <menuitem label="stub" />
160 <!-- The Volumes menu on the Entity menubar -->
162 <menu id="volume-menu">
163 <menupopup id="volume-popup">
164 <menuitem label="stub" />
165 <menuitem label="stub" />
166 <menuitem label="stub" />
171 <!-- The Bib Records menu on the Entity menubar -->
174 <menupopup id="bib-popup">
175 <menuitem label="stub" />
176 <menuitem label="stub" />
177 <menuitem label="stub" />
182 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
183 <keyset id="AppShell_keys">
184 <key id="file-new-key" modifiers="accel" key="N" command="cmd_new_window"/>
185 <key id="file-new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
186 <key id="file-open-key" modifiers="accel" key="O" command=""/>
187 <key id="file-save-key" modifiers="accel" key="S" command=""/>
188 <key id="file-close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
189 <key id="file-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>
191 <key id="edit-undo-key" modifiers="accel" key="Z" command=""/>
192 <key id="edit-redo-key" modifiers="accel" key="Y" command=""/>
193 <key id="edit-cut-key" modifiers="accel" key="X" command=""/>
194 <key id="edit-copy-key" modifiers="accel" key="C" command=""/>
195 <key id="edit-paste-key" modifiers="accel" key="V" command=""/>
196 <key id="edit-delete-key" modifiers="" keycode="VK_DELETE" command=""/>
197 <key id="edit-select-all-key" modifiers="accel" key="A" command=""/>
198 <key id="edit-find-key" modifiers="accel" key="F" command=""/>
199 <key id="edit-find-again-key" modifiers="accel" key="G" command=""/>
201 <key id="circ-patron-status-key" keycode="VK_F11" command="cmd_circ_display"/>
202 <key id="circ-copy-status-key" keycode="VK_F9" command=""/>
203 <key id="circ-check-out-key" keycode="VK_F1" command="cmd_circ_checkout"/>
204 <key id="circ-check-in-key" keycode="VK_F2" command="cmd_circ_checkin"/>
205 <key id="circ-renew-key" keycode="VK_F3" command=""/>
206 <key id="circ-mark-used-key" keycode="VK_F4" command=""/>
207 <key id="circ-place-hold-key" keycode="VK_F5" command=""/>
208 <key id="circ-patron-registration-key" keycode="VK_F12" command=""/>