From 115e43fcb6cdd9014d6a2c1095623ed302394957 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 8 Oct 2008 20:29:06 +0000 Subject: [PATCH] added menu options for vandelay (marc import/export) and conify (server settings). removed previous conify entry in the generic admin index.xhtml git-svn-id: svn://svn.open-ils.org/ILS/trunk@10796 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../chrome/content/main/constants.js | 4 ++- .../staff_client/chrome/content/main/menu.js | 28 +++++++++++++++++++ .../chrome/content/main/menu_frame_menus.xul | 4 +++ .../chrome/locale/en-US/offline.properties | 2 ++ .../xul/staff_client/server/admin/index.xhtml | 3 -- 5 files changed, 37 insertions(+), 4 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js index 9bb0cbf479..4863fe3255 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -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? */ } diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index 79e8412ac8..fd8087e550 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -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() { diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index b1b1f67e88..7e28aca522 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -70,6 +70,8 @@ + + @@ -166,6 +168,7 @@ + @@ -197,6 +200,7 @@ + diff --git a/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties b/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties index e32a120949..f45013536b 100644 --- a/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties +++ b/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties @@ -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... diff --git a/Open-ILS/xul/staff_client/server/admin/index.xhtml b/Open-ILS/xul/staff_client/server/admin/index.xhtml index 24fd8f89bf..f2ecc05c1b 100644 --- a/Open-ILS/xul/staff_client/server/admin/index.xhtml +++ b/Open-ILS/xul/staff_client/server/admin/index.xhtml @@ -68,9 +68,6 @@ -
&staff.server.admin.index.hold_pull_list; &staff.server.admin.index.testing; -- 2.43.2