[open-ils-commits] r7726 - in trunk/Open-ILS: web/opac/locale/en-US
xul/staff_client/chrome/content/main
xul/staff_client/server/cat xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 28 12:11:44 EDT 2007
Author: phasefx
Date: 2007-08-28 12:05:59 -0400 (Tue, 28 Aug 2007)
New Revision: 7726
Added:
trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul
trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul
Modified:
trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
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
Log:
stubs for Volume and User buckets
Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2007-08-28 15:52:33 UTC (rev 7725)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2007-08-28 16:05:59 UTC (rev 7726)
@@ -616,6 +616,8 @@
<!ENTITY staff.main.menu.cat.edit_record_buckets.label "Manage Record Buckets">
<!ENTITY staff.main.menu.cat.edit_volume_buckets.accesskey "V">
<!ENTITY staff.main.menu.cat.edit_volume_buckets.label "Manage Volume Buckets">
+<!ENTITY staff.main.menu.cat.edit_user_buckets.accesskey "U">
+<!ENTITY staff.main.menu.cat.edit_user_buckets.label "Manage User Buckets">
<!ENTITY staff.main.menu.cat.key "a">
<!ENTITY staff.main.menu.cat.label "Cataloging">
<!ENTITY staff.main.menu.cat.retrieve_last_record.accesskey "L">
@@ -683,6 +685,8 @@
<!ENTITY staff.main.menu.edit.buckets.records.accesskey "R">
<!ENTITY staff.main.menu.edit.buckets.volumes "Volume Buckets">
<!ENTITY staff.main.menu.edit.buckets.volumes.accesskey "V">
+<!ENTITY staff.main.menu.edit.buckets.users "User Buckets">
+<!ENTITY staff.main.menu.edit.buckets.users.accesskey "U">
<!ENTITY staff.main.menu.edit.copy.key "C">
<!ENTITY staff.main.menu.edit.copy.label "Copy">
<!ENTITY staff.main.menu.edit.cut.key "t">
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2007-08-28 15:52:33 UTC (rev 7725)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2007-08-28 16:05:59 UTC (rev 7726)
@@ -268,6 +268,8 @@
'XUL_STANDALONE' : 'chrome://open_ils_staff_client/content/circ/offline.xul',
'XUL_STAT_CAT_EDIT' : '/xul/server/admin/stat_cat_editor.xhtml',
'XUL_SURVEY_WIZARD' : 'chrome://open_ils_staff_client/content/admin/survey_wizard.xul',
+ 'XUL_USER_BUCKETS' : '/xul/server/patron/user_buckets.xul',
+ 'XUL_VOLUME_BUCKETS' : '/xul/server/cat/volume_buckets.xul',
'XUL_VOLUME_COPY_CREATOR' : '/xul/server/cat/volume_copy_creator.xul',
'XUL_VOLUME_EDITOR' : '/xul/server/cat/volume_editor.xul',
'XUL_Z3950_IMPORT' : '/xul/server/cat/z3950.xul',
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2007-08-28 15:52:33 UTC (rev 7725)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2007-08-28 16:05:59 UTC (rev 7726)
@@ -71,6 +71,13 @@
obj.set_tab(obj.url_prefix(urls.XUL_COPY_BUCKETS),{'tab_name':'Copy Buckets'},{});
}
],
+ 'cmd_edit_volume_buckets' : [
+ ['oncommand'],
+ function() {
+ obj.data.stash_retrieve();
+ obj.set_tab(obj.url_prefix(urls.XUL_VOLUME_BUCKETS),{'tab_name':'Volume Buckets'},{});
+ }
+ ],
'cmd_edit_record_buckets' : [
['oncommand'],
function() {
@@ -78,7 +85,15 @@
obj.set_tab(obj.url_prefix(urls.XUL_RECORD_BUCKETS),{'tab_name':'Record Buckets'},{});
}
],
+ 'cmd_edit_user_buckets' : [
+ ['oncommand'],
+ function() {
+ obj.data.stash_retrieve();
+ obj.set_tab(obj.url_prefix(urls.XUL_USER_BUCKETS),{'tab_name':'User Buckets'},{});
+ }
+ ],
+
'cmd_replace_barcode' : [
['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 2007-08-28 15:52:33 UTC (rev 7725)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul 2007-08-28 16:05:59 UTC (rev 7726)
@@ -16,7 +16,9 @@
<command id="cmd_shutdown" />
<command id="cmd_edit_copy_buckets" />
+ <command id="cmd_edit_volume_buckets" />
<command id="cmd_edit_record_buckets" />
+ <command id="cmd_edit_user_buckets" />
<command id="cmd_cat_main" key="cat-main-key" />
<command id="cmd_create_marc" />
@@ -107,8 +109,9 @@
<menu id="main.menu.edit" label="&staff.main.menu.edit.label;" accesskey="&staff.main.menu.edit.key;">
<menupopup id="main.menu.edit.popup">
<menuitem label="&staff.main.menu.edit.buckets.copies;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.edit.buckets.copies.accesskey;"/>
- <menuitem label="&staff.main.menu.edit.buckets.volumes;" command="cmd_broken" accesskey="&staff.main.menu.edit.buckets.volumes.accesskey;"/>
+ <menuitem label="&staff.main.menu.edit.buckets.volumes;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.edit.buckets.volumes.accesskey;"/>
<menuitem label="&staff.main.menu.edit.buckets.records;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.edit.buckets.records.accesskey;"/>
+ <menuitem label="&staff.main.menu.edit.buckets.users;" command="cmd_edit_user_buckets" accesskey="&staff.main.menu.edit.buckets.users.accesskey;"/>
<menuseparator />
<menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
</menupopup>
@@ -148,7 +151,7 @@
<menuitem disabled="true" label="&staff.main.menu.cat.dedup.label;" accesskey="&staff.main.menu.cat.dedup.key;" command="cmd_broken"/>
-->
<menuitem label="&staff.main.menu.cat.edit_copy_buckets.label;" command="cmd_edit_copy_buckets" accesskey="&staff.main.menu.cat.edit_copy_buckets.accesskey;"/>
- <menuitem label="&staff.main.menu.cat.edit_volume_buckets.label;" command="cmd_broken" accesskey="&staff.main.menu.cat.edit_volume_buckets.accesskey;"/>
+ <menuitem label="&staff.main.menu.cat.edit_volume_buckets.label;" command="cmd_edit_volume_buckets" accesskey="&staff.main.menu.cat.edit_volume_buckets.accesskey;"/>
<menuitem label="&staff.main.menu.cat.edit_record_buckets.label;" command="cmd_edit_record_buckets" accesskey="&staff.main.menu.cat.edit_record_buckets.accesskey;"/>
<menuseparator />
<menuitem label="&staff.main.menu.cat.create_marc.label;" accesskey="&staff.main.menu.cat.create_marc.accesskey;" command="cmd_create_marc"/>
Added: trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul (rev 0)
+++ trunk/Open-ILS/xul/staff_client/server/cat/volume_buckets.xul 2007-08-28 16:05:59 UTC (rev 7726)
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!-- Application: Evergreen Staff Client -->
+<!-- Screen: Example Template for remote xul -->
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- STYLESHEETS -->
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- LOCALIZATION -->
+<!DOCTYPE window PUBLIC "" ""[
+ <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
+]>
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- OVERLAYS -->
+<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
+
+<window id="example_template_win"
+ onload="try { my_init(); } catch(E) { alert(E); }"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+ <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+ <!-- BEHAVIOR -->
+ <script type="text/javascript">
+ var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
+ </script>
+ <scripts id="openils_util_scripts"/>
+
+ <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
+ <script>
+ <![CDATA[
+ function my_init() {
+ try {
+ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+ if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
+ JSAN.errorLevel = "die"; // none, warn, or die
+ JSAN.addRepository('/xul/server/');
+ JSAN.use('util.error'); g.error = new util.error();
+ g.error.sdump('D_TRACE','my_init() for cat/volume_buckets.xul');
+
+ if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
+ try { window.xulG.set_tab_name('Volume Buckets'); } catch(E) { alert(E); }
+ }
+
+ } catch(E) {
+ try { g.error.standard_unexpected_error_alert('cat/volume_buckets.xul',E); } catch(F) { alert(E); }
+ }
+ }
+
+ ]]>
+ </script>
+
+ <label value="Just a stub, Not Yet Implemented"/>
+
+</window>
+
Added: trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul (rev 0)
+++ trunk/Open-ILS/xul/staff_client/server/patron/user_buckets.xul 2007-08-28 16:05:59 UTC (rev 7726)
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!-- Application: Evergreen Staff Client -->
+<!-- Screen: Example Template for remote xul -->
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- STYLESHEETS -->
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- LOCALIZATION -->
+<!DOCTYPE window PUBLIC "" ""[
+ <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
+]>
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- OVERLAYS -->
+<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
+
+<window id="example_template_win"
+ onload="try { my_init(); } catch(E) { alert(E); }"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+ <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+ <!-- BEHAVIOR -->
+ <script type="text/javascript">
+ var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
+ </script>
+ <scripts id="openils_util_scripts"/>
+
+ <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
+ <script>
+ <![CDATA[
+ function my_init() {
+ try {
+ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+ if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
+ JSAN.errorLevel = "die"; // none, warn, or die
+ JSAN.addRepository('/xul/server/');
+ JSAN.use('util.error'); g.error = new util.error();
+ g.error.sdump('D_TRACE','my_init() for patron/user_buckets.xul');
+
+ if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
+ try { window.xulG.set_tab_name('User Buckets'); } catch(E) { alert(E); }
+ }
+
+ } catch(E) {
+ try { g.error.standard_unexpected_error_alert('patron/user_buckets.xul',E); } catch(F) { alert(E); }
+ }
+ }
+
+ ]]>
+ </script>
+
+ <label value="Just a stub, Not Yet Implemented"/>
+
+</window>
+
More information about the open-ils-commits
mailing list