Dept. of Redundancy Dept.
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Dec 2005 22:06:38 +0000 (22:06 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Dec 2005 22:06:38 +0000 (22:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2296 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/barcode_entry.xul [new file with mode: 0644]
Open-ILS/xul/staff_client/server/patron/display.xul [new file with mode: 0644]
Open-ILS/xul/staff_client/server/patron/display_overlay.xul [new file with mode: 0644]
Open-ILS/xul/staff_client/server/patron/patron_barcode_entry.xul [deleted file]
Open-ILS/xul/staff_client/server/patron/patron_display.xul [deleted file]
Open-ILS/xul/staff_client/server/patron/patron_display_overlay.xul [deleted file]

diff --git a/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul b/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
new file mode 100644 (file)
index 0000000..70d85f8
--- /dev/null
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!-- Application: Evergreen Staff Client -->
+<!-- Screen: Retrieve Patron By Barcode -->
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- STYLESHEETS -->
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/evergreen.css" type="text/css"?>
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- LOCALIZATION -->
+<!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- OVERLAYS -->
+<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
+
+<window id="patron_barcode_entry_win" 
+       onload="my_init()"
+       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+       <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+       <!-- BEHAVIOR -->
+        <script type="text/javascript">var myPackageDir = 'evergreen'; 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_display.xul');
+
+                               g.cgi = new CGI();
+                               var session = g.cgi.param('session');
+                               if (!session) { 
+                                       g.error.sdump('D_ERROR','session = ' + session + '\n'
+                                               + 'g.cgi._keys = ' + g.cgi._keys + '\n'
+                                               + 'location = ' + location + '\n'
+                                               + 'location.href = ' + location.href + '\n'
+                                       );
+                                       alert('pause.  session is ' + session ); 
+                               }
+
+                               var tb = document.getElementById('barcode_tb');
+                               tb.addEventListener(
+                                       'keypress',
+                                       function(ev) {
+                                               if (ev.keyCode == 13 || ev.keyCode == 77) {
+                                                       spawn(session);
+                                               }
+                                       },
+                                       false
+                               );
+                               tb.focus();
+       
+                       } catch(E) {
+                               var err_msg = "!! This software has encountered an error.  Please tell your friendly " +
+                                       "system administrator or software developer the following:\n" + E + '\n';
+                               try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
+                               alert(err_msg);
+                       }
+               }
+
+               function spawn(session) {
+                       var tb = document.getElementById('barcode_tb');
+                       var barcode = tb.value;
+
+                       location.href = urls.remote_patron_display + '?session=' 
+                               + window.escape(session) + '&barcode=' + window.escape(barcode);
+               }
+
+       ]]>
+       </script>
+
+       <vbox flex="1" class="my_overflow">
+               <groupbox orient="vertical" flex="1">
+                       <caption label="Retrieve Patron" />
+                       <hbox>
+                               <label value="Barcode:" accesskey="B" control="barcode_tb"/>
+                               <textbox id="barcode_tb" />
+                               <button label="Submit" accesskey="S" oncommand="spawn();"/>
+                       </hbox>
+                       <hbox>
+                               <label id="status"/>
+                       </hbox>
+               </groupbox>
+       </vbox>
+
+</window>
+
diff --git a/Open-ILS/xul/staff_client/server/patron/display.xul b/Open-ILS/xul/staff_client/server/patron/display.xul
new file mode 100644 (file)
index 0000000..6d66af9
--- /dev/null
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!-- Application: Evergreen Staff Client -->
+<!-- Screen: Patron Display -->
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- STYLESHEETS -->
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/evergreen.css" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/patron_display.css" type="text/css"?>
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- LOCALIZATION -->
+<!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
+
+<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+<!-- OVERLAYS -->
+<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
+<?xul-overlay href="/xul/server/patron/display_overlay.xul"?>
+
+<window id="patron_display_win" 
+       onload="my_init()"
+       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+       <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
+       <!-- BEHAVIOR -->
+        <script type="text/javascript">var myPackageDir = 'evergreen'; 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_display.xul');
+
+                               g.cgi = new CGI();
+
+                               JSAN.use('patron.display'); g.patron = new patron.display();
+                               g.patron.init( { 'barcode' : g.cgi.param('barcode') , 'session' : g.cgi.param('session') } );
+       
+                       } catch(E) {
+                               var err_msg = "!! This software has encountered an error.  Please tell your friendly " +
+                                       "system administrator or software developer the following:\n" + E + '\n';
+                               try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
+                               alert(err_msg);
+                       }
+               }
+
+       ]]>
+       </script>
+
+       <commandset id="patron_display_cmds">
+               <command id="cmd_patron_refresh" />
+               <command id="cmd_patron_checkout" />
+               <command id="cmd_patron_items" />
+               <command id="cmd_patron_holds" />
+               <command id="cmd_patron_bills" />
+               <command id="cmd_patron_edit" />
+               <command id="cmd_patron_info" />
+       </commandset>
+
+       <box id="patron_display_main" />
+
+</window>
+
diff --git a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
new file mode 100644 (file)
index 0000000..b2aa906
--- /dev/null
@@ -0,0 +1,209 @@
+<?xml version="1.0"?>
+<!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
+<overlay id="patron_display_overlay" 
+       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<script>dump('loading patron/display_overlay.xul\n');</script>
+
+<commandset id="patron_display_cmds" />
+
+<box id="patron_display_main" flex="1" orient="vertical" class="my_overflow">
+       <hbox id="PatronNavBar" flex="0"/>
+       <hbox id="PatronNotNavBar">
+               <vbox id="patron_info_sidebar" />
+               <deck id="patron_deck" />
+       </hbox>
+</box>
+
+<vbox id="patron_info_sidebar" flex="0">
+       <groupbox id="PatronDisplayStatus_groupbox" flex="0"/>
+       <groupbox id="PatronDisplaySurvey_groupbox" flex="0">
+               <caption id="pdsgbc" label="Surveys" />
+       </groupbox>
+       <groupbox id="PatronDisplayContact_groupbox" flex="1"/>
+</vbox>
+
+<deck id="patron_deck" flex="1">
+</deck>
+
+<hbox id="PatronNavBar">
+       <label id="patron_name" class="patronNameLarge" tooltiptext="&staff.patron_display.name.label;" 
+               value="Retrieving..." flex="1"/>
+       <button id="PatronNavBar_refresh" command="cmd_patron_refresh"
+               label="&staff.patron_navbar.refresh;" accesskey="&staff.patron_navbar.refresh.accesskey;"/>
+       <button id="PatronNavBar_checkout" command="cmd_patron_checkout"
+               label="&staff.patron_navbar.checkout;" accesskey="&staff.patron_navbar.checkout.accesskey;"/>
+       <button id="PatronNavBar_items" command="cmd_patron_items"
+               label="&staff.patron_navbar.items;" accesskey="&staff.patron_navbar.items.accesskey;"/>
+       <button id="PatronNavBar_holds" command="cmd_patron_holds"
+               label="&staff.patron_navbar.holds;" accesskey="&staff.patron_navbar.holds.accesskey;"/>
+       <button id="PatronNavBar_bills" command="cmd_patron_bills"
+               label="&staff.patron_navbar.bills;" accesskey="&staff.patron_navbar.bills.accesskey;"/>
+       <button id="PatronNavBar_edit" command="cmd_patron_edit"
+               label="&staff.patron_navbar.edit;" accesskey="&staff.patron_navbar.edit.accesskey;"/>
+       <button id="PatronNavBar_info" command="cmd_patron_info"
+               label="&staff.patron_navbar.info;" accesskey="&staff.patron_navbar.info.accesskey;"/>
+</hbox>
+
+<box id="PatronDisplayStatus_main" flex="1" orient="vertical">
+       <groupbox id="PatronDisplayStatus_groupbox" />
+</box>
+
+<groupbox id="PatronDisplayStatus_groupbox" orient="vertical">
+       <caption label="&staff.patron_display.status.caption;"/>
+       <grid id="PatronDisplayStatus_grid" flex="1"/>
+</groupbox>
+
+<grid id="PatronDisplayStatus_grid">
+       <columns id="pdsgc">
+               <column id="pdsgc1" />
+               <column id="pdsgc2" />
+               <column id="pdsgc3" />
+               <column id="pdsgc4" />
+       </columns>
+       <rows id="pdsgr" flex="1">
+               <row id="pdsgr1">
+                       <label id="PatronDisplayStatus_profile_label" class="text_right"
+                               value="&staff.patron_display.profile.label;" />
+                       <label id="patron_profile" />
+                       <label id="PatronDisplayStatus_standing_label" class="text_right"
+                               value="&staff.patron_display.standing.label;" />
+                       <label id="patron_standing" />
+               </row>
+               <row id="pdsgr2">
+                       <label id="PatronDisplayStatus_credit_label" class="text_right"
+                               value="&staff.patron_display.credit.label;" />
+                       <label id="patron_credit" />
+                       <label id="PatronDisplayStatus_bills_label" class="text_right"
+                               value="&staff.patron_display.bills.label;" />
+                       <label id="patron_bill" />
+               </row>
+               <row id="pdsgr3">
+                       <label id="PatronDisplayStatus_checkouts_label" class="text_right"
+                               value="&staff.patron_display.checkouts.label;" />
+                       <label id="patron_checkouts" />
+                       <label id="PatronDisplayStatus_checkouts_overdue_label" class="text_right"
+                               value="&staff.patron_display.checkouts_overdue.label;" />
+                       <label id="patron_overdue" />
+               </row>
+               <row id="pdsgr4">
+                       <label id="PatronDisplayStatus_holds_label" class="text_right"
+                               value="&staff.patron_display.holds.label;" />
+                       <label id="patron_holds" />
+                       <label id="PatronDisplayStatus_holds_available_label" class="text_right"
+                               value="&staff.patron_display.holds_available.label;" />
+                       <label id="patron_holds_available" />
+               </row>
+               <row id="pdsgr5">
+                       <label id="pdsgr5l1" class="text_right" value="Home Lib:" />
+                       <label id="patron_library" />
+                       <label id="pdsgr5l2" class="text_right" value="Last Lib:" />
+                       <label id="patron_last_library" />
+               </row>
+
+       </rows>
+</grid>
+
+<groupbox id="PatronDisplayContact_groupbox" orient="vertical">
+       <caption label="&staff.patron_display.contact.caption;"/>
+       <hbox id="pdcgbhb1">
+               <grid id="PatronDisplayContact_grid" />
+               <spacer id="pdcgbhbs1" flex="1"/>
+               <image id="patron_photo_url" />
+       </hbox>
+       <grid id="PatronDisplayContact_grid_phone" />
+       <groupbox id="PatronDisplayContact_mailing_address" />
+       <groupbox id="PatronDisplayContact_physical_address" />
+</groupbox>
+
+<grid id="PatronDisplayContact_grid">
+       <columns id="pdsgc">
+               <column id="pdsgc1" />
+               <column id="pdsgc2" />
+       </columns>
+       <rows id="pdsgr" flex="1">
+               <row id="pdsgr0">
+                       <label id="PatronDisplayContact_library_card_label" class="text_right"
+                               value="&staff.patron_display.library_card.label;"/>
+                       <label id="patron_card" />
+               </row>
+               <row id="pdsgr1">
+                       <label id="PatronDisplayContact_ident_label" class="text_right"
+                               value="&staff.patron_display.ident1.label;"/>
+                       <hbox id="pdsgr0h">
+                               <label id="patron_ident_type_1" />
+                               <label id="patron_ident_value_1" />
+                       </hbox>
+               </row>
+               <row id="pdsgr2">
+                       <label id="PatronDisplayContact_ident_label2" class="text_right"
+                               value="&staff.patron_display.ident2.label;"/>
+                       <hbox id="pdsgr0ah">
+                               <label id="patron_ident_type_2" />
+                               <label id="patron_ident_value_2" />
+                       </hbox>
+               </row>
+               <row id="pdsgr3">
+                       <label id="PatronDisplayContact_date_of_birth_label" class="text_right"
+                               value="&staff.patron_display.date_of_birth.label;"/>
+                       <label id="patron_date_of_birth" />
+               </row>
+               <row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
+       </rows>
+</grid>
+
+<grid id="PatronDisplayContact_grid_phone">
+       <columns id="pdcgpc">
+               <column id="pdcgpc1" />
+               <column id="pdcgpc2" />
+       </columns>
+       <rows id="pdcgpr" flex="1">
+               <row id="pdcgpr1">
+                       <label id="PatronDisplayContact_day_phone_label" class="text_right"
+                               value="&staff.patron_display.day_phone.label;" />
+                       <label id="patron_day_phone" /> 
+               </row>
+               <row id="pdcgpr2">
+                       <label id="PatronDisplayContact_evening_phone_label" class="text_right"
+                               value="&staff.patron_display.evening_phone.label;" />
+                       <label id="patron_evening_phone" />
+               </row>
+               <row id="pdcgpr3">
+                       <label id="PatronDisplayContact_other_phone_label" class="text_right"
+                               value="&staff.patron_display.other_phone.label;" />
+                       <label id="patron_other_phone" /> 
+               </row>
+               <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
+               <row id="pdcgpr5">
+                       <label id="PatronDisplayContact_email_label" class="text_right"
+                               value="&staff.patron_display.email.label;" />
+                       <label id="patron_email" />
+               </row>
+               <row id="pdsgpr6"><label id="pdsgpr6l" value=" "/></row>
+
+       </rows>
+</grid>
+
+<groupbox id="PatronDisplayContact_mailing_address" orient="vertical">
+       <caption id="pdcmac" label="&staff.patron_display.mailing_address;"/>
+       <label id="patron_mailing_address_street1" tooltiptext="&staff.patron_display.mailing.street1.label;" />
+       <label id="patron_mailing_address_street2" tooltiptext="&staff.patron_display.mailing.street2.label;" />
+       <hbox id="pdcmah">
+               <label id="patron_mailing_address_city" tooltiptext="&staff.patron_display.mailing.city.label;" />
+               <label id="patron_mailing_address_state" tooltiptext="&staff.patron_display.mailing.state.label;" />
+               <label id="patron_mailing_address_post_code" tooltiptext="&staff.patron_display.mailing.post_code.label;" />
+       </hbox>
+</groupbox>
+
+<groupbox id="PatronDisplayContact_physical_address" orient="vertical">
+       <caption id="pdcpac" label="&staff.patron_display.physical_address;"/>
+       <label id="patron_physical_address_street1" tooltiptext="&staff.patron_display.physical.street1.label;" />
+       <label id="patron_physical_address_street2" tooltiptext="&staff.patron_display.physical.street2.label;" />
+       <hbox id="pdcpah">
+               <label id="patron_physical_address_city" tooltiptext="&staff.patron_display.physical.city.label;" />
+               <label id="patron_physical_address_state" tooltiptext="&staff.patron_display.physical.state.label;" />
+               <label id="patron_physical_address_post_code" tooltiptext="&staff.patron_display.physical.post_code.label;" />
+       </hbox>
+</groupbox>
+
+</overlay>
diff --git a/Open-ILS/xul/staff_client/server/patron/patron_barcode_entry.xul b/Open-ILS/xul/staff_client/server/patron/patron_barcode_entry.xul
deleted file mode 100644 (file)
index accd0bc..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0"?>
-<!-- Application: Evergreen Staff Client -->
-<!-- Screen: Retrieve Patron By Barcode -->
-
-<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-<!-- STYLESHEETS -->
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-<?xml-stylesheet href="/xul/server/skin/evergreen.css" type="text/css"?>
-
-<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-<!-- LOCALIZATION -->
-<!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
-
-<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-<!-- OVERLAYS -->
-<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
-
-<window id="patron_barcode_entry_win" 
-       onload="my_init()"
-       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-       <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-       <!-- BEHAVIOR -->
-        <script type="text/javascript">var myPackageDir = 'evergreen'; 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_display.xul');
-
-                               g.cgi = new CGI();
-                               var session = g.cgi.param('session');
-                               if (!session) { 
-                                       g.error.sdump('D_ERROR','session = ' + session + '\n'
-                                               + 'g.cgi._keys = ' + g.cgi._keys + '\n'
-                                               + 'location = ' + location + '\n'
-                                               + 'location.href = ' + location.href + '\n'
-                                       );
-                                       alert('pause.  session is ' + session ); 
-                               }
-
-                               var tb = document.getElementById('barcode_tb');
-                               tb.addEventListener(
-                                       'keypress',
-                                       function(ev) {
-                                               if (ev.keyCode == 13 || ev.keyCode == 77) {
-                                                       spawn(session);
-                                               }
-                                       },
-                                       false
-                               );
-                               tb.focus();
-       
-                       } catch(E) {
-                               var err_msg = "!! This software has encountered an error.  Please tell your friendly " +
-                                       "system administrator or software developer the following:\n" + E + '\n';
-                               try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
-                               alert(err_msg);
-                       }
-               }
-
-               function spawn(session) {
-                       var tb = document.getElementById('barcode_tb');
-                       var barcode = tb.value;
-
-                       location.href = '/xul/server/patron/patron_display.xul?session=' 
-                               + window.escape(session) + '&barcode=' + window.escape(barcode);
-               }
-
-       ]]>
-       </script>
-
-       <vbox flex="1" class="my_overflow">
-               <groupbox orient="vertical" flex="1">
-                       <caption label="Enter Patron Barcode" />
-                       <hbox>
-                               <label value="Patron Barcode:" accesskey="B" control="barcode_tb"/>
-                               <textbox id="barcode_tb" />
-                               <button label="Submit" accesskey="S" oncommand="spawn();"/>
-                       </hbox>
-                       <hbox>
-                               <label id="status"/>
-                       </hbox>
-               </groupbox>
-       </vbox>
-
-</window>
-
diff --git a/Open-ILS/xul/staff_client/server/patron/patron_display.xul b/Open-ILS/xul/staff_client/server/patron/patron_display.xul
deleted file mode 100644 (file)
index 76631a3..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0"?>
-<!-- Application: Evergreen Staff Client -->
-<!-- Screen: Patron Display -->
-
-<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-<!-- STYLESHEETS -->
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-<?xml-stylesheet href="/xul/server/skin/evergreen.css" type="text/css"?>
-<?xml-stylesheet href="/xul/server/skin/patron_display.css" type="text/css"?>
-
-<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-<!-- LOCALIZATION -->
-<!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
-
-<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-<!-- OVERLAYS -->
-<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
-<?xul-overlay href="/xul/server/patron/patron_display_overlay.xul"?>
-
-<window id="patron_display_win" 
-       onload="my_init()"
-       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-       <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-       <!-- BEHAVIOR -->
-        <script type="text/javascript">var myPackageDir = 'evergreen'; 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_display.xul');
-
-                               g.cgi = new CGI();
-
-                               JSAN.use('patron.display'); g.patron = new patron.display();
-                               g.patron.init( { 'barcode' : g.cgi.param('barcode') , 'session' : g.cgi.param('session') } );
-       
-                       } catch(E) {
-                               var err_msg = "!! This software has encountered an error.  Please tell your friendly " +
-                                       "system administrator or software developer the following:\n" + E + '\n';
-                               try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
-                               alert(err_msg);
-                       }
-               }
-
-       ]]>
-       </script>
-
-       <commandset id="patron_display_cmds">
-               <command id="cmd_patron_refresh" />
-               <command id="cmd_patron_checkout" />
-               <command id="cmd_patron_items" />
-               <command id="cmd_patron_holds" />
-               <command id="cmd_patron_bills" />
-               <command id="cmd_patron_edit" />
-               <command id="cmd_patron_info" />
-       </commandset>
-
-       <box id="patron_display_main" />
-
-</window>
-
diff --git a/Open-ILS/xul/staff_client/server/patron/patron_display_overlay.xul b/Open-ILS/xul/staff_client/server/patron/patron_display_overlay.xul
deleted file mode 100644 (file)
index c9028db..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
-<overlay id="patron_display_overlay" 
-       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-<script>dump('loading patron_display_overlay.xul\n');</script>
-
-<commandset id="patron_display_cmds" />
-
-<box id="patron_display_main" flex="1" orient="vertical" class="my_overflow">
-       <hbox id="PatronNavBar" flex="0"/>
-       <hbox id="PatronNotNavBar">
-               <vbox id="patron_info_sidebar" />
-               <deck id="patron_deck" />
-       </hbox>
-</box>
-
-<vbox id="patron_info_sidebar" flex="0">
-       <groupbox id="PatronDisplayStatus_groupbox" flex="0"/>
-       <groupbox id="PatronDisplaySurvey_groupbox" flex="0">
-               <caption id="pdsgbc" label="Surveys" />
-       </groupbox>
-       <groupbox id="PatronDisplayContact_groupbox" flex="1"/>
-</vbox>
-
-<deck id="patron_deck" flex="1">
-</deck>
-
-<hbox id="PatronNavBar">
-       <label id="patron_name" class="patronNameLarge" tooltiptext="&staff.patron_display.name.label;" 
-               value="Retrieving..." flex="1"/>
-       <button id="PatronNavBar_refresh" command="cmd_patron_refresh"
-               label="&staff.patron_navbar.refresh;" accesskey="&staff.patron_navbar.refresh.accesskey;"/>
-       <button id="PatronNavBar_checkout" command="cmd_patron_checkout"
-               label="&staff.patron_navbar.checkout;" accesskey="&staff.patron_navbar.checkout.accesskey;"/>
-       <button id="PatronNavBar_items" command="cmd_patron_items"
-               label="&staff.patron_navbar.items;" accesskey="&staff.patron_navbar.items.accesskey;"/>
-       <button id="PatronNavBar_holds" command="cmd_patron_holds"
-               label="&staff.patron_navbar.holds;" accesskey="&staff.patron_navbar.holds.accesskey;"/>
-       <button id="PatronNavBar_bills" command="cmd_patron_bills"
-               label="&staff.patron_navbar.bills;" accesskey="&staff.patron_navbar.bills.accesskey;"/>
-       <button id="PatronNavBar_edit" command="cmd_patron_edit"
-               label="&staff.patron_navbar.edit;" accesskey="&staff.patron_navbar.edit.accesskey;"/>
-       <button id="PatronNavBar_info" command="cmd_patron_info"
-               label="&staff.patron_navbar.info;" accesskey="&staff.patron_navbar.info.accesskey;"/>
-</hbox>
-
-<box id="PatronDisplayStatus_main" flex="1" orient="vertical">
-       <groupbox id="PatronDisplayStatus_groupbox" />
-</box>
-
-<groupbox id="PatronDisplayStatus_groupbox" orient="vertical">
-       <caption label="&staff.patron_display.status.caption;"/>
-       <grid id="PatronDisplayStatus_grid" flex="1"/>
-</groupbox>
-
-<grid id="PatronDisplayStatus_grid">
-       <columns id="pdsgc">
-               <column id="pdsgc1" />
-               <column id="pdsgc2" />
-               <column id="pdsgc3" />
-               <column id="pdsgc4" />
-       </columns>
-       <rows id="pdsgr" flex="1">
-               <row id="pdsgr1">
-                       <label id="PatronDisplayStatus_profile_label" class="text_right"
-                               value="&staff.patron_display.profile.label;" />
-                       <label id="patron_profile" />
-                       <label id="PatronDisplayStatus_standing_label" class="text_right"
-                               value="&staff.patron_display.standing.label;" />
-                       <label id="patron_standing" />
-               </row>
-               <row id="pdsgr2">
-                       <label id="PatronDisplayStatus_credit_label" class="text_right"
-                               value="&staff.patron_display.credit.label;" />
-                       <label id="patron_credit" />
-                       <label id="PatronDisplayStatus_bills_label" class="text_right"
-                               value="&staff.patron_display.bills.label;" />
-                       <label id="patron_bill" />
-               </row>
-               <row id="pdsgr3">
-                       <label id="PatronDisplayStatus_checkouts_label" class="text_right"
-                               value="&staff.patron_display.checkouts.label;" />
-                       <label id="patron_checkouts" />
-                       <label id="PatronDisplayStatus_checkouts_overdue_label" class="text_right"
-                               value="&staff.patron_display.checkouts_overdue.label;" />
-                       <label id="patron_overdue" />
-               </row>
-               <row id="pdsgr4">
-                       <label id="PatronDisplayStatus_holds_label" class="text_right"
-                               value="&staff.patron_display.holds.label;" />
-                       <label id="patron_holds" />
-                       <label id="PatronDisplayStatus_holds_available_label" class="text_right"
-                               value="&staff.patron_display.holds_available.label;" />
-                       <label id="patron_holds_available" />
-               </row>
-               <row id="pdsgr5">
-                       <label id="pdsgr5l1" class="text_right" value="Home Lib:" />
-                       <label id="patron_library" />
-                       <label id="pdsgr5l2" class="text_right" value="Last Lib:" />
-                       <label id="patron_last_library" />
-               </row>
-
-       </rows>
-</grid>
-
-<groupbox id="PatronDisplayContact_groupbox" orient="vertical">
-       <caption label="&staff.patron_display.contact.caption;"/>
-       <hbox id="pdcgbhb1">
-               <grid id="PatronDisplayContact_grid" />
-               <spacer id="pdcgbhbs1" flex="1"/>
-               <image id="patron_photo_url" />
-       </hbox>
-       <grid id="PatronDisplayContact_grid_phone" />
-       <groupbox id="PatronDisplayContact_mailing_address" />
-       <groupbox id="PatronDisplayContact_physical_address" />
-</groupbox>
-
-<grid id="PatronDisplayContact_grid">
-       <columns id="pdsgc">
-               <column id="pdsgc1" />
-               <column id="pdsgc2" />
-       </columns>
-       <rows id="pdsgr" flex="1">
-               <row id="pdsgr0">
-                       <label id="PatronDisplayContact_library_card_label" class="text_right"
-                               value="&staff.patron_display.library_card.label;"/>
-                       <label id="patron_card" />
-               </row>
-               <row id="pdsgr1">
-                       <label id="PatronDisplayContact_ident_label" class="text_right"
-                               value="&staff.patron_display.ident1.label;"/>
-                       <hbox id="pdsgr0h">
-                               <label id="patron_ident_type_1" />
-                               <label id="patron_ident_value_1" />
-                       </hbox>
-               </row>
-               <row id="pdsgr2">
-                       <label id="PatronDisplayContact_ident_label2" class="text_right"
-                               value="&staff.patron_display.ident2.label;"/>
-                       <hbox id="pdsgr0ah">
-                               <label id="patron_ident_type_2" />
-                               <label id="patron_ident_value_2" />
-                       </hbox>
-               </row>
-               <row id="pdsgr3">
-                       <label id="PatronDisplayContact_date_of_birth_label" class="text_right"
-                               value="&staff.patron_display.date_of_birth.label;"/>
-                       <label id="patron_date_of_birth" />
-               </row>
-               <row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
-       </rows>
-</grid>
-
-<grid id="PatronDisplayContact_grid_phone">
-       <columns id="pdcgpc">
-               <column id="pdcgpc1" />
-               <column id="pdcgpc2" />
-       </columns>
-       <rows id="pdcgpr" flex="1">
-               <row id="pdcgpr1">
-                       <label id="PatronDisplayContact_day_phone_label" class="text_right"
-                               value="&staff.patron_display.day_phone.label;" />
-                       <label id="patron_day_phone" /> 
-               </row>
-               <row id="pdcgpr2">
-                       <label id="PatronDisplayContact_evening_phone_label" class="text_right"
-                               value="&staff.patron_display.evening_phone.label;" />
-                       <label id="patron_evening_phone" />
-               </row>
-               <row id="pdcgpr3">
-                       <label id="PatronDisplayContact_other_phone_label" class="text_right"
-                               value="&staff.patron_display.other_phone.label;" />
-                       <label id="patron_other_phone" /> 
-               </row>
-               <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
-               <row id="pdcgpr5">
-                       <label id="PatronDisplayContact_email_label" class="text_right"
-                               value="&staff.patron_display.email.label;" />
-                       <label id="patron_email" />
-               </row>
-               <row id="pdsgpr6"><label id="pdsgpr6l" value=" "/></row>
-
-       </rows>
-</grid>
-
-<groupbox id="PatronDisplayContact_mailing_address" orient="vertical">
-       <caption id="pdcmac" label="&staff.patron_display.mailing_address;"/>
-       <label id="patron_mailing_address_street1" tooltiptext="&staff.patron_display.mailing.street1.label;" />
-       <label id="patron_mailing_address_street2" tooltiptext="&staff.patron_display.mailing.street2.label;" />
-       <hbox id="pdcmah">
-               <label id="patron_mailing_address_city" tooltiptext="&staff.patron_display.mailing.city.label;" />
-               <label id="patron_mailing_address_state" tooltiptext="&staff.patron_display.mailing.state.label;" />
-               <label id="patron_mailing_address_post_code" tooltiptext="&staff.patron_display.mailing.post_code.label;" />
-       </hbox>
-</groupbox>
-
-<groupbox id="PatronDisplayContact_physical_address" orient="vertical">
-       <caption id="pdcpac" label="&staff.patron_display.physical_address;"/>
-       <label id="patron_physical_address_street1" tooltiptext="&staff.patron_display.physical.street1.label;" />
-       <label id="patron_physical_address_street2" tooltiptext="&staff.patron_display.physical.street2.label;" />
-       <hbox id="pdcpah">
-               <label id="patron_physical_address_city" tooltiptext="&staff.patron_display.physical.city.label;" />
-               <label id="patron_physical_address_state" tooltiptext="&staff.patron_display.physical.state.label;" />
-               <label id="patron_physical_address_post_code" tooltiptext="&staff.patron_display.physical.post_code.label;" />
-       </hbox>
-</groupbox>
-
-</overlay>