added menu options for vandelay (marc import/export) and conify (server settings...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Oct 2008 20:29:06 +0000 (20:29 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Oct 2008 20:29:06 +0000 (20:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10796 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/constants.js
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties
Open-ILS/xul/staff_client/server/admin/index.xhtml

index 9bb0cbf..4863fe3 100644 (file)
@@ -312,5 +312,7 @@ const urls = {
        'XUL_VOLUME_EDITOR' : '/xul/server/cat/volume_editor.xul',
        'XUL_Z3950_IMPORT' : '/xul/server/cat/z3950.xul',
        'TEST_HTML' : '/xul/server/main/test.html',
-       'TEST_XUL' : '/xul/server/main/test.xul'
+       'TEST_XUL' : '/xul/server/main/test.xul',
+    'VANDELAY' : '/vandelay/vandelay.xml', /* XXX how can we get the locale? */
+    'CONIFY' : '/conify/en-US/global/admin.html' /* XXX how can we get the locale? */
 }
index 79e8412..fd8087e 100644 (file)
@@ -377,6 +377,34 @@ main.menu.prototype = {
                                }
                        ],
 
+                       'cmd_open_vandelay' : [
+                               ['oncommand'],
+                               function() { 
+                                       var loc = urls.XUL_REMOTE_BROWSER + '?url=' + 
+                        window.escape(urls.VANDELAY+'?ses='+window.escape(ses()));
+                                       obj.set_tab( 
+                                               loc, 
+                                               {'tab_name' : offlineStrings.getString('menu.cmd_open_vandelay.tab'), 'browser' : true }, 
+                                               {'no_xulG' : false, 'show_print_button' : false } 
+                                       );
+
+                               }
+                       ],
+
+                       'cmd_open_conify' : [
+                               ['oncommand'],
+                               function() { 
+                                       var loc = urls.XUL_REMOTE_BROWSER + '?url=' + 
+                        window.escape(urls.CONIFY+'?ses='+window.escape(ses()));
+                                       obj.set_tab( 
+                                               loc, 
+                                               {'tab_name' : offlineStrings.getString('menu.cmd_open_conify.tab'), 'browser' : true }, 
+                                               {'no_xulG' : false, 'show_print_button' : false } 
+                                       );
+
+                               }
+                       ],
+
                        'cmd_reprint' : [
                                ['oncommand'],
                                function() {
index b1b1f67..7e28aca 100644 (file)
@@ -70,6 +70,8 @@
 
        <command id="cmd_test" />
        <command id="cmd_broken" disabled="true" />
+       <command id="cmd_open_vandelay" />
+       <command id="cmd_open_conify" />
 </commandset>
 
 
                <menuseparator />
                <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
                <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"/>
+               <menuitem label="&staff.main.menu.cat.vandelay.label;" command="cmd_open_vandelay"/>
        </menupopup>
 </menu>
 
                <menuitem label="&staff.main.menu.admin.download_patrons.label;" accesskey="&staff.main.menu.admin.download_patrons.accesskey;" command="cmd_download_patrons"/>
                <menuseparator />
                <menuitem label="&staff.main.menu.admin.local_admin.label;" accesskey="&staff.main.menu.admin.local_admin.accesskey;" command="cmd_local_admin"/>
+               <menuitem label="&staff.server.admin.index.conify;" command="cmd_open_conify"/>
                <menuitem label="&staff.main.menu.admin.user_edit.label;" accesskey="&staff.main.menu.admin.user_edit.accesskey;" command="cmd_adv_user_edit"/>
                <menuitem label="&staff.main.menu.admin.template_edit.label;" accesskey="&staff.main.menu.admin.template_edit.accesskey;" command="cmd_print_list_template_edit"/>
                <menuitem label="&staff.main.menu.admin.survey_wizard.label;" accesskey="&staff.main.menu.admin.survey_wizard.accesskey;" command="cmd_survey_wizard"/>
index e32a120..f450135 100644 (file)
@@ -106,6 +106,8 @@ menu.cmd_browse_holds.tab=Hold Browser
 menu.cmd_browse_holds_shelf.tab=Holds Shelf
 menu.cmd_browse_hold_pull_list.tab=On Shelf Pull List
 menu.cmd_local_admin.tab=Local Administration
+menu.cmd_open_vandelay.tab=MARC Import/Export
+menu.cmd_open_conify.tab=Server Settings
 menu.cmd_retrieve_last_patron.session.error=No patron visited yet this session.
 menu.cmd_retrieve_last_record.session.error=No record visited yet this session.
 menu.cmd_retrieve_last_record.status=Retrieving title...
index 24fd8f8..f2ecc05 100644 (file)
@@ -68,9 +68,6 @@
                                                        <div style='padding: 8px;'>
                                                                <a href='javascript:_l("stat_cat_editor.xhtml");'>&staff.server.admin.index.statistical_categories;</a>
                                                        </div>
-                                                       <div style='padding: 8px;'>
-                                                               <a href='javascript:_l("/conify/<!--#echo var="locale"-->/global/admin.html");'>&staff.server.admin.index.conify;</a>
-                                                       </div>
                                                </td><td>
                                                        <div style='padding: 8px;'>
                                                                <a href='javascript:window.xulG.new_tab("/xul/server/patron/holds.xul",{"tab_name":"&staff.server.admin.index.hold_pull_list;"},{});'>&staff.server.admin.index.hold_pull_list;</a> <span style="color: red">&staff.server.admin.index.testing;</span>