[open-ils-commits] r10796 - in trunk/Open-ILS/xul/staff_client: chrome/content/main chrome/locale/en-US server/admin

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 8 16:29:11 EDT 2008


Author: erickson
Date: 2008-10-08 16:29:06 -0400 (Wed, 08 Oct 2008)
New Revision: 10796

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
   trunk/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties
   trunk/Open-ILS/xul/staff_client/server/admin/index.xhtml
Log:
added menu options for vandelay (marc import/export) and conify (server settings).  removed previous conify entry in the generic admin index.xhtml

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2008-10-08 19:27:38 UTC (rev 10795)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2008-10-08 20:29:06 UTC (rev 10796)
@@ -312,5 +312,7 @@
 	'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? */
 }

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2008-10-08 19:27:38 UTC (rev 10795)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2008-10-08 20:29:06 UTC (rev 10796)
@@ -377,6 +377,34 @@
 				}
 			],
 
+			'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() {

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul	2008-10-08 19:27:38 UTC (rev 10795)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul	2008-10-08 20:29:06 UTC (rev 10796)
@@ -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>
 
 
@@ -166,6 +168,7 @@
 		<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>
 
@@ -197,6 +200,7 @@
 		<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"/>

Modified: trunk/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties	2008-10-08 19:27:38 UTC (rev 10795)
+++ trunk/Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties	2008-10-08 20:29:06 UTC (rev 10796)
@@ -106,6 +106,8 @@
 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...

Modified: trunk/Open-ILS/xul/staff_client/server/admin/index.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/index.xhtml	2008-10-08 19:27:38 UTC (rev 10795)
+++ trunk/Open-ILS/xul/staff_client/server/admin/index.xhtml	2008-10-08 20:29:06 UTC (rev 10796)
@@ -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>



More information about the open-ils-commits mailing list