advanced user editor entry point
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Feb 2006 19:15:51 +0000 (19:15 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Feb 2006 19:15:51 +0000 (19:15 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2939 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

index 661ea6a..f04aa9b 100644 (file)
@@ -51,6 +51,7 @@ var urls = {
        'opac' : '/opac/en-US/skin/default/xml/advanced.xml',
        'browser' : '/opac/en-US/skin/default/xml/advanced.xml',
        'fieldmapper' : '/opac/common/js/fmall.js',
+       'XUL_ADV_USER_BARCODE_ENTRY' : '/xul/server/patron/adv_barcode_entry.xul',
        'XUL_BIB_BRIEF' : '/xul/server/cat/bib_brief.xul',
        'XUL_BROWSER' : 'chrome://open_ils_staff_client/content/util/browser.xul',
        'XUL_CHECKIN' : '/xul/server/circ/checkin.xul',
index a7c22e7..ae43cff 100644 (file)
@@ -91,6 +91,12 @@ main.menu.prototype = {
 
 
                        /* Admin menu */
+                       'cmd_adv_user_edit' : [
+                               ['oncommand'],
+                               function() {
+                                       obj.set_tab(obj.url_prefix(urls.XUL_ADV_USER_BARCODE_ENTRY) + '?session=' + obj.w.escape(session), {}, {});
+                               }
+                       ],
                        'cmd_stat_cat_edit' : [
                                ['oncommand'],
                                function() {
index cce1e90..afcb768 100644 (file)
@@ -25,6 +25,7 @@
        <command id="cmd_z39_50_import" />
        <command id="cmd_create_new_marc_book" />
 
+       <command id="cmd_adv_user_edit" />
        <command id="cmd_console" />
        <command id="cmd_shell" />
        <command id="cmd_xuleditor" />
 <!-- The Help menu on the main menu -->
 <menu id="main.menu.admin" label="&staff.main.menu.admin.label;" accesskey="&staff.main.menu.admin.key;">
        <menupopup id="main.menu.admin.popup">
+               <menuitem label="Advanced User Editor" accesskey="U" command="cmd_adv_user_edit"/>
                <menuitem label="Receipt Template Editor" accesskey="R" command="cmd_receipt_template_editor"/>
                <menuitem label="Survey Wizard" accesskey="S" command="cmd_survey_wizard"/>
                <menuitem label="Statistical Category Editor" accesskey="C" command="cmd_stat_cat_edit"/>