From 25f6fd5cac136022ef8e7e45108f0c5e25198793 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 12 May 2006 14:07:40 +0000 Subject: [PATCH] local admin interface entry point and menu options git-svn-id: svn://svn.open-ils.org/ILS/trunk@4264 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../chrome/content/main/constants.js | 1 + .../staff_client/chrome/content/main/menu.js | 7 ++++ .../chrome/content/main/menu_frame_menus.xul | 36 +++++++++++-------- 3 files changed, 29 insertions(+), 15 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 c54e8c418d..d2e93abcc7 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -149,6 +149,7 @@ const urls = { 'XUL_HOLDS_BROWSER' : '/xul/server/patron/holds.xul', 'XUL_HOLD_NOTICES' : '/xul/server/patron/hold_notices.xul', 'XUL_IN_HOUSE_USE' : '/xul/server/circ/in_house_use.xul', + 'XUL_LOCAL_ADMIN' : '/xul/server/admin/index.xhtml', 'XUL_MARC_EDIT_LEGACY' : 'chrome://open_ils_staff_client/content/legacy/_marc.xul', 'XUL_MARC_EDIT' : '/xul/server/cat/marcedit.xul', 'XUL_MARC_VIEW' : '/xul/server/cat/marc_view.xul', 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 4eb6d45d6f..b6975981f5 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -276,6 +276,13 @@ main.menu.prototype = { } ], + 'cmd_local_admin' : [ + ['oncommand'], + function() { + obj.set_tab(obj.url_prefix(urls.XUL_LOCAL_ADMIN)+'?ses='+window.escape(ses())+'&session='+window.escape(ses()),{},{}); + } + ], + '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 f3b4e0910f..2df197745b 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 @@ -42,6 +42,7 @@ + @@ -198,25 +199,30 @@ + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + -- 2.43.2