renaming .xml files to .xhtml
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 15 Mar 2006 16:59:40 +0000 (16:59 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 15 Mar 2006 16:59:40 +0000 (16:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3359 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml [new file with mode: 0644]
Open-ILS/xul/staff_client/server/admin/hold_pull_list.xhtml [new file with mode: 0644]
Open-ILS/xul/staff_client/server/admin/non_cat_types.xhtml [new file with mode: 0644]
Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml [new file with mode: 0644]
Open-ILS/xul/staff_client/server/patron/user_editor.xhtml [new file with mode: 0644]

diff --git a/Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml b/Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml
new file mode 100644 (file)
index 0000000..45936fc
--- /dev/null
@@ -0,0 +1,169 @@
+<?xml version='1.0'?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+       <head>
+               <title>Evergreen: Copy Locations Editor</title>
+               <script language='javascript' src='/opac/common/js/utils.js'> </script>
+               <script language='javascript' src='/opac/common/js//config.js'> </script>
+               <script language='javascript' src='/opac/common/js/CGI.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookie.js'> </script>
+       
+               <script language='javascript' src='/opac/common/js/slimtree.js'> </script>
+               <script language='javascript' src='/opac/common/js/JSON.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmall.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookies.js'> </script>
+               <script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+               <script language='javascript' src='/opac/common/js/org_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/init.js'> </script>
+               <script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
+               <script language='javascript' src='adminlib.js'> </script>
+               <script language='javascript' src='copy_locations.js'> </script>
+
+               <link type='text/css' rel='stylesheet' href='admin.css' />
+       </head>
+
+       <body onload='try{clEditorInit();}catch(e){alert(js2JSON(e));}'>
+
+               <div class='welcome_box'>
+                       <span>Welcome </span><b><span id='user'/></b>
+               </div>
+
+               <center>
+                       <div class='title'> Copy Locations Editor </div>
+                       <br/>
+
+                       <table class='data_grid data_grid_center' width='65%'>
+                               <thead>
+                                       <tr><td colspan='4'>Create a new copy location</td></tr>
+                               </thead>
+                               <tbody>
+                                       <tr>
+                                               <td id='id'>Name: </td>
+                                               <td>
+                                                       <input id='cl_new_name' type='text' size='10'/>
+                                               </td>
+                                               <td>Holdable: </td>
+                                               <td>
+                                                       <span>Yes</span>
+                                                       <input type='radio' name='cl_new_hold' id='cl_new_hold_yes'/>
+                                                       <span>No</span>
+                                                       <input type='radio' name='cl_new_hold'  
+                                                               id='cl_new_hold_no' checked='checked'> </input>
+                                               </td>
+                                       </tr>
+
+                                       <tr>
+                                               <td>OPAC Visible: </td>
+                                               <td>
+                                                       <span>Yes</span>
+                                                       <input type='radio' name='cl_new_vis' id='cl_new_vis_yes' />
+                                                       <span>No</span>
+                                                       <input type='radio' name='cl_new_vis'  id='cl_new_vis_no' checked='checked'> </input>
+                                               </td>
+                                               <td>Circulate: </td>
+                                               <td>
+                                                       <span>Yes</span>
+                                                       <input type='radio' name='cl_new_circulate' id='cl_new_circulate_yes' />
+                                                       <span>No</span>
+                                                       <input type='radio' name='cl_new_circulate'  
+                                                               id='cl_new_circulate_no' checked='checked'> </input>
+                                               </td>
+                                       </tr>
+                                       <tr>
+                                               <td>Owning Library:</td>
+                                               <td colspan='2' >
+                                                       <select id='cl_new_owner' disabled='disabled'> </select>
+                                               </td>
+                                               <td><input id='sc_new_submit' type='submit' value='Create' disabled='disabled'/></td>
+                                       </tr>
+                               </tbody>
+                       </table>
+
+                       <br/><hr/><br/>
+
+
+                       <table class='data_grid data_grid_center' style='width: 95%'>
+                               <thead>
+                                       <tr>
+                                               <td width='15%'>Name</td>
+                                               <td width='20%'>Owning Library</td>
+                                               <td width='15%'>
+                                                       <span>Holdable </span>
+                                                       <a class='context_help' href='javascript:clHoldMsg();'> ??</a>
+                                               </td>
+                                               <td width='15%'>OPAC Visible</td>
+                                               <td width='15%'>Circulate</td>
+                                               <td width='10%'>Edit</td>
+                                               <td width='10%'>Delete</td>
+                                       </tr>
+                               </thead>
+                               <tbody id='cl_tbody'>
+                                       <tr id='cl_row'>
+                                               <td name='cl_name'> </td>
+                                               <td name='cl_owner'> </td>
+                                               <td name='cl_holdable'> </td>
+                                               <td name='cl_visible'> </td>
+                                               <td name='cl_circulate'> </td>
+                                               <td><input type='submit' value='Edit' name='cl_edit' disabled='disabled'> </input></td>
+                                               <td><input type='submit' value='Delete' name='cl_delete' disabled='disabled'> </input></td>
+                                       </tr>
+                               </tbody>
+                       </table>
+                </center>
+
+                <div class='hide_me'>
+                       <span id='yes'>Yes</span>
+                       <span id='no'>No</span>
+                       <span id='cl_hold_msg'>
+                               If a copy location is "Holdable", copies in that location may have holds placed on them.
+                       </span>
+                       <span id='cl_delete_confirm'>
+                               Are you sure you wish to delete the selected copy location?
+                               Note: If copies are currently attached to this location, the delete operation will fail.
+                       </span>
+                       <table>
+                               <tbody>
+                                       <tr id='cl_edit' class='insert_row'>
+                                               <td><input name='cl_edit_name' type='text'> </input></td>
+                                               <td name='cl_edit_owner'></td>
+                                               <td>
+                                                       <span>Yes</span>
+                                                       <span name='cl_edit_holdable_yes'>
+                                                               <input type='radio' name='cl_edit_holdable'/>
+                                                       </span>
+                                                       <span>No</span>
+                                                       <span name='cl_edit_holdable_no'>
+                                                               <input type='radio' name='cl_edit_holdable'/>
+                                                       </span>
+                                               </td>
+                                               <td>
+                                                       <span>Yes</span>
+                                                       <span name='cl_edit_visible_yes'>
+                                                               <input type='radio' name='cl_edit_visible'/>
+                                                       </span>
+                                                       <span>No</span>
+                                                       <span name='cl_edit_visible_no'>
+                                                               <input type='radio' name='cl_edit_visible'/>
+                                                       </span>
+                                               </td>
+                                               <td>
+                                                       <span>Yes</span>
+                                                       <span name='cl_edit_circulate_yes'>
+                                                               <input type='radio' name='cl_edit_circulate'/>
+                                                       </span>
+                                                       <span>No</span>
+                                                       <span name='cl_edit_circulate_no'>
+                                                               <input type='radio' name='cl_edit_circulate'/>
+                                                       </span>
+                                               </td>
+                                               <td><input type='submit' name='cl_edit_commit' value='Submit'/></td>
+                                               <td><input type='submit' name='cl_edit_cancel' value='Cancel'/></td>
+                                       </tr>
+                               </tbody>
+                       </table>
+               </div>
+       </body>
+</html>
+
diff --git a/Open-ILS/xul/staff_client/server/admin/hold_pull_list.xhtml b/Open-ILS/xul/staff_client/server/admin/hold_pull_list.xhtml
new file mode 100644 (file)
index 0000000..6771f8b
--- /dev/null
@@ -0,0 +1,89 @@
+<?xml version='1.0'?>
+
+<!DOCTYPE html PUBLIC 
+       "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
+       <!ENTITY nbsp " "> <!-- calendar needs this entity -->
+]>
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+       <head>
+               <title>Evergreen Holds Pull List</title>
+               <script language='javascript' src='/opac/common/js/utils.js'> </script>
+               <script language='javascript' src='/opac/common/js//config.js'> </script> 
+               <script language='javascript' src='/opac/common/js/CGI.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookie.js'> </script>
+       
+               <script language='javascript' src='/opac/common/js/slimtree.js'> </script>
+               <script language='javascript' src='/opac/common/js/JSON.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmall.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookies.js'> </script>
+               <script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+               <script language='javascript' src='/opac/common/js/org_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/init.js'> </script>
+               <script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
+               <script language='javascript' src='/opac/common/js/sorttable.js'> </script>
+               <script language='javascript' src='adminlib.js'> </script>
+               <script language='javascript' src='hold_pull_list.js'> </script>
+               <link type='text/css' rel='stylesheet' href='admin.css'/>
+  
+               <style type='text/css'>
+                       a { color: black; text-decoration: none; }
+               </style>
+       </head>
+
+       <body onload='try{pullListInit();}catch(e){alert(js2JSON(e));}'>
+
+               <center>
+                       <h2>Evergreen Holds Pull List : <span id='pl_org'/></h2>
+
+                       <div style='position:absolute; top: 5px; right: 5px;'>
+                               <span>Welcome </span><b><span id='pl_user'/></b>
+                       </div>
+               
+                       <hr/><br/>
+
+                       <span>Note: Click on a column header to sort the column</span>
+
+                       <table width='100%' class='data_grid sortable' id='pl_table'>
+                               <thead>
+                                       <tr>
+                                               <td>Title</td>
+                                               <td>Author</td>
+                                               <td>Copy Location</td>
+                                               <td id='pl_callnumber'>Call Number</td>
+                                               <td>Item Bracode</td>
+                                               <td>Copy Number</td>
+                                               <td>Format</td>
+                                               <td>Patron Barcode</td>
+                                               <td>Hold Placement Date</td>
+                                       </tr>
+                               </thead>
+                               <tbody id='pull_list_tbody'>
+                                       <tr id='pull_list_row'>
+                                               <td name='title'/>
+                                               <td name='author'/>
+                                               <td name='copy_location'/>
+                                               <td name='call_number'/>
+                                               <td name='barcode'/>
+                                               <td name='copy_number'/>
+                                               <td>
+                                                       <span name='format_at'          class='hide_me'>Book</span>
+                                                       <span name='format_at-d'        class='hide_me'>Large Print Book</span>
+                                                       <span name='format_i'           class='hide_me'>Audiobook</span>
+                                                       <span name='format_g'           class='hide_me'>Video Recording</span>
+                                                       <span name='format_j'           class='hide_me'>Music</span>
+                                                       <span name='format_m'           class='hide_me'>Electronic Resource</span>
+                                               </td>
+                                               <td name='patron'/>
+                                               <td name='date'/>
+                                       </tr>
+                               </tbody>
+                       </table>
+               </center>
+       </body>
+</html>
diff --git a/Open-ILS/xul/staff_client/server/admin/non_cat_types.xhtml b/Open-ILS/xul/staff_client/server/admin/non_cat_types.xhtml
new file mode 100644 (file)
index 0000000..bf25e44
--- /dev/null
@@ -0,0 +1,94 @@
+<?xml version='1.0'?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+       <head>
+               <title>Evergreen: Non Cataloged Types Editor</title>
+               <script language='javascript' src='/opac/common/js/utils.js'> </script>
+               <script language='javascript' src='/opac/common/js//config.js'> </script>
+               <script language='javascript' src='/opac/common/js/CGI.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookie.js'> </script>
+       
+               <script language='javascript' src='/opac/common/js/slimtree.js'> </script>
+               <script language='javascript' src='/opac/common/js/JSON.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmall.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookies.js'> </script>
+               <script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+               <script language='javascript' src='/opac/common/js/org_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/init.js'> </script>
+               <script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
+               <script language='javascript' src='adminlib.js'> </script>
+               <script language='javascript' src='non_cat_types.js'> </script>
+
+               <link type='text/css' rel='stylesheet' href='admin.css'/>
+       </head>
+
+       <body onload='try{ncEditorInit();}catch(e){alert(js2JSON(e));}'>
+
+               <div class='welcome_box'>
+                       <span>Welcome </span><b><span id='nc_user'/></b>
+               </div>
+
+               <center>
+                       <div class='title'> Non Cataloged Types Editor </div>
+
+                       <br/>
+
+                       <table class='data_grid data_grid_center' width='65%'>
+                               <thead>
+                                       <tr><td colspan='3'>Create a new non-cataloged type</td></tr>
+                               </thead>
+                               <tbody>
+                                       <tr>
+                                               <td><input id='nc_new_name'> </input></td>
+                                               <td><select class='select_big' id='nc_new_owner' disabled='disabled'> </select></td>
+                                               <td><input id='nc_new_submit' type='submit' value='Create' disabled='disabled'> </input></td>
+                                       </tr>
+                               </tbody>
+                       </table>
+
+                       <br/> <hr/> <br/>
+
+                       <table id='nc_table' class='data_grid' width='85%'>
+                               <thead>
+                                       <tr>
+                                               <td>Name</td>
+                                               <td>Owning Location</td>
+                                               <td>Edit</td>
+                                               <td>Delete</td>
+                                       </tr>
+                               </thead>
+                               <tbody id='nc_tbody'>
+                                       <tr id='nc_row_template'>
+                                               <td><b name='nc_name'> </b></td>
+                                               <td name='nc_owner'/>
+                                               <td><input name='nc_edit' type='submit' value='Edit' disabled='disabled'/></td>
+                                               <td><input name='nc_delete' type='submit' value='Delete' disabled='disabled'/></td>
+                                       </tr>
+                               </tbody>
+                       </table>
+               </center>
+
+               <table class='hide_me'> <!-- repository for template rows -->
+                       <tbody>
+                               <tr id='nc_edit_row_temaplate' class='insert_row' edit='1'>
+                                       <td colspan='4' align='center'>
+                                               <span class='padded'>
+                                                       <input name='nc_edit_name' type='text'> </input>
+                                               </span>
+                                               <span class='padded'>
+                                                       <input name='nc_edit_submit' type='submit' value='Submit'> </input>
+                                               </span>
+                                               <span class='padded'>
+                                                       <input name='nc_edit_cancel' type='submit' value='Cancel'> </input>
+                                               </span>
+                                       </td>
+                               </tr>
+                       </tbody>
+               </table>
+       </body>
+</html>
+
+
+       
diff --git a/Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml b/Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml
new file mode 100644 (file)
index 0000000..8e9f3df
--- /dev/null
@@ -0,0 +1,233 @@
+<?xml version='1.0'?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+       <head>
+               <title>Evergreen: Statistical Category Editor</title>
+               <script language='javascript' src='/opac/common/js/utils.js'> </script>
+               <script language='javascript' src='/opac/common/js//config.js'> </script> 
+               <script language='javascript' src='/opac/common/js/CGI.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookie.js'> </script>
+       
+               <script language='javascript' src='/opac/common/js/slimtree.js'> </script>
+               <script language='javascript' src='/opac/common/js/JSON.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmall.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookies.js'> </script>
+               <script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+               <script language='javascript' src='/opac/common/js/org_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/init.js'> </script>
+               <script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
+               <script language='javascript' src='adminlib.js'> </script>
+               <script language='javascript' src='stat_cat_editor.js'> </script>
+               <link type='text/css' rel='stylesheet' href='admin.css'/>
+       </head>
+
+       <body onload='try{scEditorInit();}catch(e){alert(js2JSON(e));}'>
+
+
+               <div style='position:absolute; top: 5px; right: 5px;'>
+                       <span>Welcome </span><b><span id='sc_user'/></b>
+               </div>
+
+               <center>
+                       <div style='font-weight: bold; font-size: 12pt;'> Statistical Category Editor</div>
+               </center>
+
+               <hr/> 
+
+               <center>
+                       <br/>
+
+                       <table class='data_grid data_grid_center' width='80%'>
+                               <thead>
+                                       <tr>
+                                               <td colspan='4'>Create a new statistical category</td>
+                                       </tr>
+                               </thead>
+                               <tbody>
+                                       <tr>
+                                               <td>Enter the name: </td>
+                                               <td>
+                                                       <input type='text' id='sc_new_name'> </input>
+                                                       <script>$('sc_new_name').focus();</script>
+                                               </td>
+                                               <td>Owning Library: </td>
+                                               <td>
+                                                       <select class='select_big' id='sc_owning_lib_selector'>
+                                                       </select>
+                                               </td>
+                                       </tr>
+                                       <tr>
+                                               <td>Opac Visibility: </td>
+                                               <td>    
+                                                       <span>On</span>
+                                                       <input type='radio' name='opac_visibility' id='sc_make_opac_visible'> </input>
+                                                       <span>Off</span>
+                                                       <input type='radio' name='opac_visibility' checked='checked'> </input>
+                                               </td>
+                                               <td>Type: </td>
+                                               <td>
+                                                       <select id='sc_type_selector'>
+                                                               <option value='actor'>Patron</option>
+                                                               <option value='asset'>Copy</option>
+                                                       </select>
+                                               </td>
+                                       </tr>
+                                       <tr>
+                                               <td colspan='4'>
+                                                       <input type='submit' value='Create new stat cat' onclick='scNew();' id='sc_new'/>
+                                               </td>
+                                       </tr>
+                               </tbody>
+                       </table>
+
+                       <br/>
+                       <hr/>
+                       <br/>
+
+                       <div id='loading' class='has_color'><h2>Loading permissions and stat cats...</h2></div>
+
+                       <table width='98%'>
+                               <tbody>
+                                       <tr>
+                                               <td width='20%'> </td>
+                                               <td id='sc_show_copy' width='30%' class='has_color'
+                                                       align='center'><a href='javascript:scShow("asset");'>Copy Stat Cats</a></td>
+                                               <td id='sc_show_actor' width='30%' 
+                                                       align='center'><a href='javascript:scShow("actor");'>Patron Stat Cats</a></td>
+                                               <td width='20%'> </td>
+                                       </tr>
+                               </tbody>
+                       </table>
+
+
+
+                       <br/>
+                       <div>* To edit or view information about an entry, click on the entry in the drop-down menu</div>
+                       <br/>
+
+                       <!--
+                       <div style='overflow: auto; max-height: 200px;'>
+                       -->
+                               <table width='95%' class='hide_me data_grid data_grid_center' id='sc_table'>
+                                       <thead>
+                                               <tr>
+                                                       <td>Stat Cat Name</td>
+                                                       <td>Owning Library</td>
+                                                       <td>OPAC Visiblity</td>
+                                                       <td>Entries</td>
+                                                       <td>Add Entry</td>
+                                                       <td>Edit</td>
+                                               </tr>
+                                       </thead>
+       
+                                       <tbody id='sc_tbody'>
+                                               <tr id='sc_tr'>
+                                                       <td><b name='sc_name'> </b></td>
+                                                       <td name='sc_owning_lib'> </td>
+       
+                                                       <td>
+                                                               <span class='hide_me' name='sc_opac_visible'>On</span> 
+                                                               <span class='hide_me' name='sc_opac_invisible'>Off</span> 
+                                                       </td>
+       
+                                                       <td><select class='selector' name='sc_entries_selector'><option>(none)</option></select></td>
+                                                       <td><a href='javascript:void(0);' name='sc_new_entry'>Add</a></td>
+                                                       <td><a href='javascript:void(0);' name='sc_edit'>Edit</a></td>
+                                               </tr>
+                                       </tbody>
+                               </table>
+                       <!--
+                       </div>
+                       -->
+       
+               
+
+                       
+               </center>
+
+
+               <!-- Text spans  / template +++++++++++++++++++++++++++++++++++++  -->
+               <span class='hide_me' id='sc_new_entry_text'>Enter the value for the new stat cat entry</span>
+
+               <span class='hide_me' id='sc_delete_confirm'>
+                       This will delete the selected stat cat and all attached entries
+                       Are you sure you wish to continue?
+               </span>
+
+               <span class='hide_me' id='sc_entry_delete_confirm'>
+                       Are you sure you wish to remove this stat cat entry?
+               </span>
+
+               <table class='hide_me'>
+                       <tr class='insert_row' id='sc_edit_row'>
+                               <td><input name='sc_edit_name'> </input></td>
+                               <td>
+                                       <span class='hide_me' name='sc_edit_show_owning_lib'> </span>
+                                       <select class='hide_me select_big' name='sc_edit_owning_lib'> </select>
+                               </td>
+
+                               <td>
+                                       <span>On</span>
+                                       <span name='sc_edit_opac_vis'>
+                                               <input type='radio' name='sc_edit_opac_visibility'> </input>
+                                       </span>
+                                       <span>Off</span>
+                                       <span name='sc_edit_opac_invis'>
+                                               <input type='radio' name='sc_edit_opac_visibility'> </input>
+                                       </span>
+                               </td>
+                               <td colspan='4'>
+                                       <span class='padded'>
+                                               <input  type='submit' value='Update Stat Cat' name='sc_edit_submit'/>
+                                       </span>
+                                       <span class='padded'>
+                                               <input  type='submit' value='Delete Stat Cat' name='sc_edit_delete'/>
+                                       </span>
+                                       <input type='submit' name='sc_edit_cancel' value='Cancel'/>
+                               </td>
+                       </tr>
+
+                       <tr class='insert_row' id='sc_edit_entry_row'>
+                               <td colspan='7'>
+                                       <span class='padded'>
+                                               <span>Owned By </span><b name='sc_edit_entry_owner'/>
+                                       </span>
+                                       <span class='padded'>
+                                               <input type='text' name='sc_edit_entry_name' class='padded'/>
+                                       </span>
+                                       <span class='padded'>
+                                               <input type='submit' name='sc_edit_entry_name_submit' value='Update Entry Value' class='padded'/>
+                                       </span>
+                                       <span class='padded'>
+                                               <input type='submit' name='sc_edit_entry_delete' value='Delete Entry' class='padded'/>
+                                       </span>
+                                       <span class='padded'>
+                                               <input type='submit' name='sc_edit_entry_cancel' value='Cancel'/>
+                                       </span>
+                               </td>
+                       </tr>
+
+                       <tr class='insert_row' id='sc_new_entry_row'>
+                               <td colspan='7'> 
+                                       <span>Enter the value of the new entry: </span>
+                                       <span class='padded'>
+                                               <input type='text' name='sc_new_entry_name'/>
+                                       </span>
+                                       <span class='padded'>
+                                               <select name='sc_new_entry_lib' class='select_big'> </select>
+                                       </span>
+                                       <span class='padded'>
+                                               <input type='submit' name='sc_new_entry_create' value='Create new entry'/>
+                                       </span>
+                                       <span class='padded'>
+                                               <input type='submit' name='sc_new_entry_cancel' value='Cancel'/>
+                                       </span>
+                               </td>
+                       </tr>
+               </table>
+
+       </body>
+</html>
+
diff --git a/Open-ILS/xul/staff_client/server/patron/user_editor.xhtml b/Open-ILS/xul/staff_client/server/patron/user_editor.xhtml
new file mode 100644 (file)
index 0000000..8b26017
--- /dev/null
@@ -0,0 +1,822 @@
+<?xml version='1.0'?>
+
+<!DOCTYPE html PUBLIC 
+       "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
+       <!ENTITY nbsp " "> <!-- calendar needs this entity -->
+]>
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+       <head>
+               <title>Evergreen: User Editor</title>
+               <script language='javascript' src='/opac/common/js/utils.js'> </script>
+               <script language='javascript' src='/opac/common/js//config.js'> </script> 
+               <script language='javascript' src='/opac/common/js/CGI.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookie.js'> </script>
+       
+               <script language='javascript' src='/opac/common/js/slimtree.js'> </script>
+               <script language='javascript' src='/opac/common/js/JSON.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmall.js'> </script>
+               <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
+               <script language='javascript' src='/opac/common/js/Cookies.js'> </script>
+               <script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+               <script language='javascript' src='/opac/common/js/org_utils.js'> </script>
+               <script language='javascript' src='/opac/common/js/init.js'> </script>
+               <script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
+               <script language='javascript' src='../admin/adminlib.js'> </script>
+               <script language='javascript' src='user_editor.js'> </script>
+               <link type='text/css' rel='stylesheet' href='../admin/admin.css'/>
+  
+               <link rel="stylesheet" type="text/css" media="all" 
+                       href="/opac/common/js/jscalendar/calendar-brown.css" title="win2k-cold-1" />
+               <script type="text/javascript" src="/opac/common/js/jscalendar/calendar.js"></script>
+               <script type="text/javascript" src="/opac/common/js/jscalendar/lang/calendar-en.js"></script>
+               <script type="text/javascript" src="/opac/common/js/jscalendar/calendar-setup.js"></script>
+
+
+               <style type='text/css'>
+                       .main_table { width: 98%; border-collapse: collapse;}
+                       .main_table td { border: 1px solid #E0F0E0; text-align: center; padding: 4px;}
+                       #uedit_nav_bar { border: 2px solid #E0F0E0; padding: 6px;}
+                       .nav_link { padding-left: 90px; padding-right: 90px; }
+                       .main_nav_link { -moz-border-radius: 7px; height: 13%;}
+                       .main_div { height: 480px; padding-left: 15px; 
+                               text-align: center; vertical-align: middle; overflow: auto;}
+                       .nav_link_table { height: 480px;}
+                       .label_active { background: #E0F0E0; }
+                       .right { text-align: right; padding-right: 3px;}
+                       .left { text-align: left; padding-left: 3px;}
+                       .wide { width: 98%;}
+                       .pad { padding-left: 3px; padding-right: 3px; }
+                       .no_border td { border: none; }
+                       .uedit_table { width: 80% }
+                       .address_table { 
+                               -moz-border-radius: 4px;
+                               border: 4px solid #E0E0F0;
+                               padding: 4px;
+                               }
+                       .address_table td { 
+                               border: none; 
+                               width: auto; 
+                               padding: 1px; 
+                               }
+                       .addr_info_checked { -moz-border-radius: 6px; background: #F0E0E0; }
+                       .button_row { width: 95%; text-align: center; margin-top: 7px; border: 1px solid #E0E0E0; }
+               </style>
+       </head>
+
+       <body onload='try{uEditInit();}catch(e){alert(js2JSON(e));}'>
+
+       <center>
+
+               <h2>Evergreen User Editor</h2>
+
+               <div style='position:absolute; top: 5px; right: 5px;'>
+                       <span>Welcome </span><b><span id='uedit_user'/></b>
+               </div>
+
+               <hr/><br/>
+
+               <table class='main_table'>
+                       <tbody>
+                               <tr>
+                                       <td width='15%' valign='top'>
+                                               <!-- ************************************************************** -->
+                                               <!--  Top Navigation Links -->
+                                               <!-- ************************************************************** -->
+                                               <table height='100%' class='nav_link_table'>
+                                                       <tbody>
+                                                               <tr>
+                                                                       <td id='uedit_userid_label' class='main_nav_link'>
+                                                                               <a href='javascript:uEditShowPage("uedit_userid");'>1. User Identification</a>
+                                                                       </td>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td id='uedit_contact_info_label' class='main_nav_link'>        
+                                                                               <a href='javascript:uEditShowPage("uedit_contact_info");'>2. Contact Info</a>
+                                                                       </td>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td id='uedit_addresses_label' class='main_nav_link'>           
+                                                                               <a href='javascript:uEditShowPage("uedit_addresses");'>3. Addresses</a>
+                                                                       </td>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td id='uedit_groups_label' class='main_nav_link'>                      
+                                                                               <a href='javascript:uEditShowPage("uedit_groups");'>4. Groups and Permissions</a>
+                                                                       </td>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td id='uedit_stat_cats_label' class='main_nav_link'>           
+                                                                               <a href='javascript:uEditShowPage("uedit_stat_cats");'>5. Statistical Categories</a>
+                                                                       </td>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td id='uedit_surveys_label' class='main_nav_link'>                     
+                                                                               <a href='javascript:uEditShowPage("uedit_surveys");'>6. Surveys</a>
+                                                                       </td>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td id='uedit_finalize_label' class='main_nav_link'>                    
+                                                                               <a href='javascript:uEditShowPage("uedit_finalize");'>7. Finish</a>
+                                                                       </td>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+
+                                       <td width='85%' id='uedit_loading'>
+                                               <div class='main_div has_color' 
+                                                       style='padding: 50px; vertical-align: middle;'>
+                                                       <b>Loading data...</b>
+                                               </div>
+                                       </td>
+
+
+                                       <td width='85%' id='ue_maintd' class='hide_me'>
+
+                                               <!-- ************************************************************** -->
+                                               <!--  Identification Pane -->
+                                               <!-- ************************************************************** -->
+                                               <div id='uedit_userid' class='main_div'>
+                                                       <table class='uedit_table'>
+                                                               <tbody>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Barcode</div></td>
+                                                                               <td><div class='wide left'>
+
+                                                                                       <input type='text' id='ue_barcode' 
+                                                                                               onblur=' var un = $("ue_username");
+                                                                                                       if(!un.value) un.value = this.value;'/>
+
+                                                                               </div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Username</div></td>
+                                                                               <td><div class='wide left'><input type='text' id='ue_username'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Password</div></td>
+                                                                               <td><div class='wide left'><input type='password' id='ue_password1'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Verify Password</div></td>
+                                                                               <td><div class='wide left'><input type='password' id='ue_password2'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>First Name</div></td>
+                                                                               <td><div class='wide left'><input type='text' id='ue_firstname'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Middle Name</div></td>
+                                                                               <td><div class='wide left'><input type='text' id='ue_middlename'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Last Name</div></td>
+                                                                               <td><div class='wide left'><input type='text' id='ue_lastname'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Suffix</div></td>
+                                                                               <td><div class='wide left'><input type='text' id='ue_suffix'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Date of Birth</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+       
+                                                                                               <input type='text' id='ue_dob' size='10' maxlength='10' 
+                                                                                                       onfocus='/*$("ue_dob_trigger").onclick(event);*/'>1980-01-01</input>
+       
+                                                                                               <button style='padding: 0px;' id='ue_dob_trigger'>
+                                                                                                       <img src="/opac/common/js/jscalendar/img.gif" 
+                                                                                                               style="cursor: pointer; border: 1px solid red; padding: 0px; margin: -3px;" 
+                                                                                                               title="Date selector"
+                                                                                                               onmouseover="this.style.background='red';" 
+                                                                                                               onmouseout="this.style.background=''" />
+                                                                                               </button>
+
+                                                                                               <span class='pad' style='font-size: 8pt;'>(YYYY-MM-DD)</span>
+       
+                                                                                               <script type="text/javascript">
+                                                                                                       Calendar.setup({
+                                                                                                               inputField      : "ue_dob",                             // id of the input field
+                                                                                                               ifFormat                : "%Y-%m-%d",                   // format of the input field
+                                                                                                               button          : "ue_dob_trigger",  // trigger for the calendar (button ID)
+                                                                                                               align                   : "Tl",                                 // alignment (defaults to "Bl")
+                                                                                                               singleClick     : true
+                                                                                                       });
+                                                                                               </script>
+       
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Primary Identification Type</div></td>
+                                                                               <td><div class='wide left'>
+                                                                                               <select id='ue_primary_ident_type'>
+                                                                                                       <option> -- Required -- </option>
+                                                                                               </select>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Primary Identification</div></td>
+                                                                               <td><div class='wide left'>
+                                                                                       <input type='text' id='ue_primary_ident'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Secondary Identification Type</div></td>
+                                                                               <td><div class='wide left'>
+                                                                                               <select id='ue_secondary_ident_type'>
+                                                                                                       <option> -- Required -- </option>
+                                                                                               </select>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Secondary Identification</div></td>
+                                                                               <td><div class='wide left'>
+                                                                                       <input type='text' id='ue_secondary_ident'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                               </tbody>
+                                                       </table>
+                                               </div>
+
+                                               <!-- ************************************************************** -->
+                                               <!-- Contact Info Pane -->
+                                               <!-- ************************************************************** -->
+                                               <div id='uedit_contact_info' class='main_div hide_me'>
+                                                       <table class='uedit_table'>
+                                                               <tbody>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Email Address</div></td>
+                                                                               <td><div class='wide left'><input type='text' id='ue_email1'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Verify Email Address</div></td>
+                                                                               <td><div class='wide left'><input type='text' id='ue_email2'/></div></td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Daytime Phone</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input class='pad' type='text' id='ue_day_phone_area' maxlength='3' size='3'/>
+                                                                                               <span>-</span>
+                                                                                               <input class='pad' type='text' id='ue_day_phone_prefix' maxlength='3' size='3'/>
+                                                                                               <span>-</span>
+                                                                                               <input class='pad' type='text' id='ue_day_phone_suffix' maxlength='4' size='4'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Evening Phone</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input class='pad' type='text' id='ue_night_phone_area' maxlength='3' size='3'/>
+                                                                                               <span>-</span>
+                                                                                               <input class='pad' type='text' id='ue_night_phone_prefix' maxlength='3' size='3'/>
+                                                                                               <span>-</span>
+                                                                                               <input class='pad' type='text' id='ue_night_phone_suffix' maxlength='4' size='4'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Other/Cell Phone</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input class='pad' type='text' id='ue_other_phone_area' maxlength='3' size='3'/>
+                                                                                               <span>-</span>
+                                                                                               <input class='pad' type='text' id='ue_other_phone_prefix' maxlength='3' size='3'/>
+                                                                                               <span>-</span>
+                                                                                               <input class='pad' type='text' id='ue_other_phone_suffix' maxlength='4' size='4'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Home Library</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <select style='width: 20em;' id='ue_org_selector'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                               </tbody>
+                                                       </table>
+                                               </div>
+       
+                                               <!-- ************************************************************** -->
+                                               <!-- Addresses Pane -->
+                                               <!-- ************************************************************** -->
+                                               <div id='uedit_addresses' class='main_div hide_me' >
+                                                       <table class='uedit_table' style='width: 98%; padding: 1px;'>
+                                                               <thead>
+                                                                       <tr>
+                                                                               <td>Address</td>
+                                                                               <td>Incorporated</td>
+                                                                               <td>Valid</td>
+                                                                               <td>Mailing Address</td>
+                                                                               <td>Physical Address</td>
+                                                                       </tr>
+                                                               </thead>
+                                                               <tbody id='ue_address_tbody'>
+                                                                       <tr id='ue_address_template'>
+                                                                               <td>
+                                                                                       <table class='address_table'>
+                                                                                               <tbody>
+                                                                                                       <tr>
+                                                                                                               <td><div class='wide right'>Label</div></td>
+                                                                                                               <td colspan='5'>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_label' id='ue_addr_label'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                       </tr>
+                                                                                                       <tr>
+                                                                                                               <td><div class='wide right'>Street 1</div></td>
+                                                                                                               <td colspan='5'>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_street1' size='42'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                       </tr>
+                                                                                                       <tr>
+                                                                                                               <td><div class='wide right'>Street 2</div></td>
+                                                                                                               <td colspan='5'>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_street2' size='42'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                       </tr>
+                                                                                                       <tr>
+                                                                                                               <td><div class='wide right'>City</div></td>
+                                                                                                               <td colspan='3'>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_city' size='17'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                               <td><div class='wide right'>County</div></td>
+                                                                                                               <td colspan='3'>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_county' size='17'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                       </tr>
+                                                                                                       <tr>
+                                                                                                               <td><div class='wide right'>State</div></td>
+                                                                                                               <td>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_state' size='2' maxlength='2'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                               <td><div class='wide right'>Zip</div></td>
+                                                                                                               <td>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_zip' size='6' maxlength='6'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                               <td><div class='wide right'>Country</div></td>
+                                                                                                               <td colspan='3'>
+                                                                                                                       <div class='wide left'>
+                                                                                                                               <input type='text' name='ue_addr_country' size='6'/>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                       </tr>
+                                                                                                       <tr>
+                                                                                                               <td colspan='6'>
+                                                                                                                       <div class='button_row'>
+                                                                                                                               <input type='submit' name='ue_addr_delete' 
+                                                                                                                                       value='Delete this Address'
+                                                                                                                                       onclick='uEditRemoveAddress(this);'/>
+                                                                                                               </div>
+                                                                                                       </td>
+                                                                                               </tr>
+
+                                                                                               </tbody>
+                                                                                       </table>
+                                                                               </td>
+                                                                               <td><input type='checkbox' name='ue_addr_inc_yes' checked='checked'/></td>
+                                                                               <td><input type='checkbox' name='ue_addr_valid_yes' checked='checked'/></td>
+                                                                               <td>
+                                                                                       <div style='width: 100%; -moz-border-radius: 8px;'>
+                                                                                               <input type='radio' name='ue_addr_mailing_yes' checked='checked'
+                                                                                                       onclick='uEditAddrHighlight(this, "mailing");'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                               <td>
+                                                                                       <div style='width: 100%; -moz-border-radius: 8px;'>
+                                                                                               <input type='radio' name='ue_addr_billing_yes' checked='checked'
+                                                                                                       onclick='uEditAddrHighlight(this, "billing");'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                               </tbody>
+                                                       </table>
+
+                                                       <div class='button_row' style='margin-top: 20px;'>
+                                                               <input type='submit' value='Create a New Address' id='ue_address_new'/>
+                                                       </div>
+                                               </div>
+       
+                                               <!-- ************************************************************** -->
+                                               <!-- Groups Pane -->
+                                               <!-- ************************************************************** -->
+                                               <div id='uedit_groups' class='main_div hide_me'>
+                                                       <table class='uedit_table'>
+                                                               <tbody>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Profile Group</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <select id='ue_profile'>
+                                                                                                       <option> -- Required -- </option>
+                                                                                               </select>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Account Expiration Date</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input type='text' id='ue_expire' size='10' maxlength='10'/>
+       
+                                                                                               <button style='padding: 0px;' id='ue_expire_trigger'>
+                                                                                                       <img src="/opac/common/js/jscalendar/img.gif" 
+                                                                                                               style="cursor: pointer; border: 1px solid red; padding: 0px; margin: -3px;" 
+                                                                                                               title="Date selector"
+                                                                                                               onmouseover="this.style.background='red';" 
+                                                                                                               onmouseout="this.style.background=''" />
+                                                                                               </button>
+
+                                                                                               <span class='pad' style='font-size: 8pt;'>(YYYY-MM-DD)</span>
+                                                                                               <div style='margin-top: 5px;'>
+                                                                                                       Note: a default will be provided if none is selected
+                                                                                               </div>
+       
+                                                                                               <script type="text/javascript">
+                                                                                                       Calendar.setup({
+                                                                                                               inputField      : "ue_expire",                          // id of the input field
+                                                                                                               ifFormat                : "%Y-%m-%d",                           // format of the input field
+                                                                                                               button          : "ue_expire_trigger",  // trigger for the calendar (button ID)
+                                                                                                               align                   : "Tl",                                         // alignment (defaults to "Bl")
+                                                                                                               singleClick     : true
+                                                                                                       });
+                                                                                               </script>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Active</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input id='ue_active' type='checkbox' checked='checked'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Barred</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input id='ue_barred' type='checkbox'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Set as Family/Group Lead Account</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input id='ue_group_lead' type='checkbox'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Claims Returned Count</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <input id='ue_claims_returned' type='text' disabled='disabled' size='6'/>
+                                                                                               <script>$('ue_claims_returned').value = 0;</script>
+                                                                                               <input class='pad' id='ue_claims_returned_reset' type='submit' value='Reset'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                                       <tr>
+                                                                               <td><div class='wide right'>Alert Message</div></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <textarea wrap='soft' cols='30' rows='4' id='ue_alert_message'/>
+                                                                                               <input class='pad' id='ue_alert_message_reset' 
+                                                                                                       type='submit' value='Clear' onclick='$("ue_alert_message").value = "";'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                               </tbody>
+                                                       </table>
+                                               </div>
+       
+                                               <!-- ************************************************************** -->
+                                               <!-- Stat Cats Pane -->
+                                               <!-- ************************************************************** -->
+                                               <div id='uedit_stat_cats' class='main_div hide_me'>
+                                                       <table class='uedit_table' style='width: 98%'>
+                                                               <thead>
+                                                                       <tr style='font-weight: bold;'>
+                                                                               <td>Stat Cat Name</td>
+                                                                               <td>Owner</td>
+                                                                               <td>Value</td>
+                                                                       </tr>
+                                                               </thead>
+                                                               <tbody id='ue_stat_cat_tbody'>
+                                                                       <tr id='ue_stat_cat_row'>
+                                                                               <td><div class='wide right' name='ue_stat_cat_name'/></td>
+                                                                               <td><div class='wide right' style='font-size: 8pt' name='ue_stat_cat_owner'/></td>
+                                                                               <td>
+                                                                                       <div class='wide left'>
+                                                                                               <select name='ue_stat_cat_selector'>
+                                                                                                       <option> -- Select One -- </option>
+                                                                                               </select>
+                                                                                               <span class='pad'> or </span>
+                                                                                               <input class='pad' type='text' name='ue_stat_cat_newval'/>
+                                                                                       </div>
+                                                                               </td>
+                                                                       </tr>
+                                                               </tbody>
+                                                       </table>
+
+                                               </div>
+       
+                                               <!-- ************************************************************** -->
+                                               <!-- Surveys Pane -->
+                                               <!-- ************************************************************** -->
+                                               <div id='uedit_surveys' class='main_div hide_me'>
+                                                       <table id='ue_survey_table' 
+                                                               class='uedit_table data_grid' style='width: 95%; margin-top: 17px;'>
+                                                               <thead>
+                                                                       <tr>
+                                                                               <td colspan='2' style='text-align: left; padding-left: 20px;'>
+                                                                                       <span class='pad' name='ue_survey_name' style='font-weight: bold;'/>
+                                                                                       <span class='pad' name='ue_survey_desc'> : </span>
+                                                                               </td>
+                                                                       </tr>
+                                                               </thead>
+                                                               <tbody name='ue_survey_tbody'>
+                                                                       <tr name='ue_survey_row'>
+                                                                               <td name='ue_survey_question' 
+                                                                                       style='width: 60%; text-align: left; padding-left: 40px;'/>
+                                                                               <td class='hide_me'>
+                                                                                       <select name='ue_survey_answer'>
+                                                                                               <option> -- Select One -- </option>
+                                                                                       </select>
+                                                                               </td>
+                                                                               <td class='hide_me' name='ue_survey_answer_poll'>
+                                                                                       <table>
+                                                                                               <tbody name='ue_survey_answer_poll_tbody'>
+                                                                                                       <tr name='ue_survey_answer_poll_row'>
+                                                                                                               <td>
+                                                                                                                       <div class='right' name='ue_survey_answer_poll_radio'>
+                                                                                                                       </div>
+                                                                                                               </td>
+                                                                                                               <td><div class='left' name='ue_survey_answer_poll_answer'/></td>
+                                                                                                       </tr>
+                                                                                               </tbody>
+                                                                                       </table>
+                                                                               </td>
+                                                                       </tr>
+                                                               </tbody>
+                                                       </table>
+                                               </div>
+
+                                               <!-- ************************************************************** -->
+                                               <!-- Finish Up -->
+                                               <!-- ************************************************************** -->
+                                               <div id='uedit_finalize' class='main_div hide_me'>
+                                                       <div class='has_color' style='width: 95%; margin-top: 40px; text-align: center'>
+                                                               <div style='padding: 5px;'>
+                                                                       You are now ready to save the user to the database.  <br/>
+                                                                       To view or print a summary of the changes, click on the "View Summary" link.  <br/>
+                                                                       To save the user, click on the 'Save User' button.
+                                                               </div>
+                                                               <br/>
+                                                               <a style='margin-right: 30px;' id='ue_view_summary' 
+                                                                       href='javascript:uEditShowSummary();'>View Summary</a>
+                                                               <input style='margin-left: 30px;' 
+                                                                       type='submit' value='Save User' onclick='uEditSaveUser();'/>
+                                                       </div>
+                                               </div>
+
+       
+                                       </td>
+                               </tr>
+
+                               <tr>
+                                       <td colspan='2'>
+                                               <!-- ************************************************************** -->
+                                               <!-- Bottome Navigation Links -->
+                                               <!-- ************************************************************** -->
+                                               <table width='100%' class='no_border'>
+                                                       <tbody>
+                                                               <tr id='uedit_nav_bar'>
+                                                                       <td width='10%'/>
+                                                                       <td width='40%'>
+                                                                               <a id='ue_back' class='nav_link hide_me' 
+                                                                                       href='javascript:uEditPrev()'>&lt;&lt; Back</a>
+                                                                       </td>
+                                                                       <td width='40%'>
+                                                                               <a id='ue_fwd' class='nav_link' 
+                                                                                       href='javascript:uEditNext()'>Forward &gt;&gt;</a>
+                                                                       </td>
+                                                                       <td width='10%'/>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                       </tbody>
+               </table>
+       </center>
+
+       <div id='ue_summary_page' class='hide_me'>
+               <table id='ue_summary_table' class='summary_grid' width='55%'>
+                       <style type='text/css'>
+                               .summary_grid { padding: 5px; }
+                               .summary_grid thead tr { background: #E0F0E0; font-weight: bold;}
+                               .summary_grid tbody tr td { border: 1px solid #E0F0E0; }
+                               .hide_me{ visibility: hidden; display: none }
+                               .deleted { background: #FF6666; }
+                       </style>
+                       <thead><tr>
+                               <td colspan='2'>
+                                       <span>User Summary Information (Deleted items are marked in</span>
+                                       <span class='deleted'>color</span><span>)</span>
+                               </td>
+                       </tr></thead>
+                       <tbody name='ue_summary_page_tbody'>
+                               <tr>
+                                       <td><input type='submit' value='Print Page' onclick='window.print();'/></td>
+                                       <td><input type='submit' value='Close Window' onclick='window.close();'/></td>
+                               </tr>
+                               <tr><td>Username</td><td name='ue_summary_username'/></tr>
+                               <tr><td>First Name</td><td name='ue_summary_firstname'/></tr>
+                               <tr><td>Middle Name</td><td name='ue_summary_middlename'/></tr>
+                               <tr><td>Last Name</td><td name='ue_summary_lastname'/></tr>
+                               <tr><td>Suffix</td><td name='ue_summary_suffix'/></tr>
+                               <tr><td>Date of Birth</td><td name='ue_summary_dob'/></tr>
+                               <tr><td>Primary Identification Type</td><td name='ue_summary_primary_ident_type'/></tr>
+                               <tr><td>Primary Identification</td><td name='ue_summary_primary_ident'/></tr>
+                               <tr><td>Secondary Identification Type</td><td name='ue_summary_secondary_ident_type'/></tr>
+                               <tr><td>Secondary Identification</td><td name='ue_summary_secondary_ident'/></tr>
+                               <tr><td>Email Address</td><td name='ue_summary_email'/></tr>
+                               <tr><td>Day Phone</td><td name='ue_summary_dayphone'/></tr>
+                               <tr><td>Evening Phone</td><td name='ue_summary_nightphone'/></tr>
+                               <tr><td>Other Phone</td><td name='ue_summary_otherphone'/></tr>
+                               <tr><td>Home Library</td><td name='ue_summary_home_lib'/></tr>
+                               <tr>
+                                       <td colspan='2'>
+                                               <table width='100%' style='margin-top: 15px; margin-bottom: 15px;'>
+                                                       <thead><tr><td>Addresses</td></tr></thead>
+                                                       <tbody name='ue_summary_addr_tbody'>
+                                                               <tr name='ue_summary_addr_row'>
+                                                                       <td>
+                                                                               <table name='ue_summary_addr_table' width='100%'>
+                                                                                       <thead><tr><td colspan='4'/><span> </span></tr></thead>
+                                                                                       <tbody>
+                                                                                               <tr>
+                                                                                                       <td>Address Label</td><td name='label'/>
+                                                                                                       <td>Zip Code</td><td name='zip'/>
+                                                                                               </tr>
+                                                                                               <tr>
+                                                                                                       <td>Street1</td><td name='street1'/>
+                                                                                                       <td>Country</td><td name='country'/>
+                                                                                               </tr>
+                                                                                               <tr>
+                                                                                                       <td>Street2</td><td name='street2'/>
+                                                                                                       <td>Mailing</td><td name='mailing'/>
+                                                                                               </tr>
+                                                                                               <tr>
+                                                                                                       <td>City</td><td name='city'/>
+                                                                                                       <td>Billing</td><td name='billing'/>
+                                                                                               </tr>
+                                                                                               <tr>
+                                                                                                       <td>County</td><td name='county'/>
+                                                                                                       <td>Valid</td><td name='valid'/>
+                                                                                               </tr>
+                                                                                               <tr>
+                                                                                                       <td>State</td><td name='state'/>
+                                                                                                       <td>Incorporated</td><td name='incorporated'/>
+                                                                                               </tr>
+                                                                                       </tbody>
+                                                                               </table>
+                                                                       </td>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                               <tr><td>Profile</td><td name='ue_summary_profile'/></tr>
+                               <tr><td>Expire Date</td><td name='ue_summary_expire'/></tr>
+                               <tr><td>Family Lead Account</td><td name='ue_summary_family_lead'/></tr>
+                               <tr><td>Claims Returned Count</td><td name='ue_summary_claims_returned'/></tr>
+                               <tr><td>Alert Message</td><td name='ue_summary_alert_message'/></tr>
+                               <tr name='ue_summary_stat_cat_td'>
+                                       <td colspan='2' >
+                                               <table width='100%' style='margin-top: 15px; margin-bottom: 15px;'>
+                                                       <thead><tr><td colspan='2'>Statistical Categories</td></tr></thead>
+                                                       <tbody name='ue_summary_stats_tbody'>
+                                                               <tr class='hide_me' name='ue_summary_stat_cat_none'>
+                                                                       <td colspan='2'>No Stat Cats have been set</td>
+                                                               </tr>
+                                                               <tr name='ue_summary_stats_row'>
+                                                                       <td name='ue_summary_stat_name'/><td name='ue_summary_stat_value'/>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                               <tr name='ue_summary_survey_td'>
+                                       <td colspan='2'>
+                                               <table width='100%' style='margin-top: 15px; margin-bottom: 15px;'>
+                                                       <thead><tr><td>Survey</td><td>Question</td><td>Answer</td></tr></thead>
+                                                       <tbody name='ue_summary_survey_tbody'>
+
+                                                               <tr class='hide_me' name='ue_summary_survey_none'>
+                                                                       <td colspan='3'>No new survey entries were created</td>
+                                                               </tr>
+
+                                                               <tr name='ue_summary_survey_row'>
+                                                                       <td name='ue_summary_survey_name'/>
+                                                                       <td name='ue_summary_survey_question'/>
+                                                                       <td name='ue_summary_survey_answer'/>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                               <tr name='ue_summary_errors_row' class='hide_me'>
+                                       <td colspan='2'>
+                                               <table width='100%' style='margin-top: 15px; margin-bottom: 15px;'>
+                                                       <thead>
+                                                               <tr>
+                                                                       <td style='color: red;' ><b>Errors you would see if you saved now...</b></td>
+                                                               </tr>
+                                                       </thead>
+                                                       <tbody><tr><td name='ue_summary_errors'/></tr></tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                               <tr>
+                                       <td><input type='submit' value='Print Page' onclick='window.print();'/></td>
+                                       <td><input type='submit' value='Close Window' onclick='window.close();'/></td>
+                               </tr>
+                       </tbody>
+               </table>
+       </div>
+
+       <!-- ************************************************************** -->
+       <!-- This holds all of the strings we may have to alert to the user -->
+       <!-- ************************************************************** -->
+       <div class='hide_me'>
+               <span id='ue_bad_dob'>The date of birth field is not formatted correctly.  We're expecting YYYY-MM-DD</span>
+               <span id='ue_bad_username'>Username is invalid</span>
+               <span id='ue_bad_password'>Passwords do not match or are invalid</span>
+               <span id='ue_bad_firstname'>First name is invalid</span>
+               <span id='ue_bad_middlename'>Middle name is invalid</span>
+               <span id='ue_bad_lastname'>Last name is invalid</span>
+               <span id='ue_bad_barcode'>Barcode is invalid</span>
+               <span id='ue_duplicate_barcode'>The selected barcode already exists in the database</span>
+               <span id='ue_new_barcode_warn'>
+                       This will de-activate the existing barcode for this user!  If you wish to continue, 
+                       enter the new barcode below.  Otherwise, click the Cancel button.
+               </span>
+               <span id='ue_no_ident'>You must select two types of identification</span>
+               <span id='ue_bad_email'>The email addresses do not match or are invalid</span>
+               <span id='ue_bad_phone'>An invalid phone number was entered</span>
+               <span id='ue_no_profile'>A profile group must be selected</span>
+               <span id='ue_bad_expire'>The user expiration date is invalid.  We're expecting YYYY-MM-DD</span>
+               <span id='ue_bad_claims_returned'>The claims returned count is invalid</span>
+               <span id='ue_no_profile'>A profile group must be selected</span>
+               <span id='ue_unknown_error'>An unknown formatting error occurred</span>
+               <span id='ue_bad_addr_label'>Address label is invalid</span>
+               <span id='ue_bad_addr_street'>Address street is invalid</span>
+               <span id='ue_bad_addr_city'>Address city is invalid</span>
+               <span id='ue_bad_addr_county'>Address county is invalid</span>
+               <span id='ue_bad_addr_state'>Address state is invalid</span>
+               <span id='ue_bad_addr_country'>Address country is invalid</span>
+               <span id='ue_bad_addr_zip'>Address zip is invalid</span>
+               <span id='ue_delete_addr_warn'>
+                       This will remove this address from the user.  
+                       Are you sure you wish to continue?
+               </span>
+               <span id='yes'>Yes</span>
+               <span id='no'>No</span>
+               <span id='ue_summary_window'>Patron Summary</span>
+               <span id='ue_success'>User update succeeded</span>
+       </div>
+
+       </body>
+</html>
+