Customizations to patron self-registration form and footer link.
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 21 Aug 2014 20:24:42 +0000 (16:24 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 21 Aug 2014 20:24:42 +0000 (16:24 -0400)
Open-ILS/src/templates/opac/parts/footer.tt2
Open-ILS/src/templates/opac/register.tt2

index a8e62b0..55dc537 100644 (file)
@@ -1,11 +1,10 @@
 <div id="footer-wrap">
 <div id="footer">
+    <a href="/eg/opac/home">[% l("Home") %]</a> &nbsp;|&nbsp;
     [% IF ctx.get_org_setting(
         ctx.physical_loc || ctx.aou_tree.id, 'opac.allow_pending_user') %]
     <a href="[% mkurl(ctx.opac_root _ '/register') %]">[% 
-        l('Request Library Card') %]</a> &nbsp;|&nbsp;
-    [% ELSE %]
-    <a href="/eg/opac/home">[% l("Home") %]</a> &nbsp;|&nbsp;
+        l('Apply for a PINES Library Card') %]</a> &nbsp;|&nbsp;
     [% END %]
     <a href="/eg/kpac/home">[% l("Kids' Catalog") %]</a> &nbsp;|&nbsp;
     <a href="http://www.georgialibraries.org/lib/directories/pineslibdir.html">[% l('Find a Library Near Me') %]</a> &nbsp;|&nbsp;
index 1e80cf6..099c55c 100644 (file)
@@ -27,6 +27,7 @@ register_fields = [
     {class => 'stgu',  name = 'first_given_name', label => l('First Name')},
     {class => 'stgu',  name = 'second_given_name', label => l('Middle Name')},
     {class => 'stgu',  name = 'family_name', label => l('Last Name')},
+    {class => 'stgu',  name = 'suffix', label => l('Suffix (Sr./Jr./III)')},
     {class => 'stgma', name = 'street1', label => l('Street Address')},
     {class => 'stgma', name = 'street2', label => l('Street Address (2)')},
     {class => 'stgma', name = 'city', label => l('City')},
@@ -36,7 +37,6 @@ register_fields = [
     {class => 'stgu',  name = 'dob', label => l('Date of Birth')},
     {class => 'stgu',  name = 'day_phone', label => l('Phone Number')},
     {class => 'stgu',  name = 'email', label => l('Email Address')}
-    {class => 'stgu',  name = 'usrname', label => l('Requested Username')}
 ];
 
 # The dojo date widget in the patron edit UI only accepts default 
@@ -50,12 +50,12 @@ END;
 <div id="content-wrapper">
     <div id="main-content-register">
         <div class="common-full-pad"></div>
-        <h1>[% l('Request a Library Card')%]</h1>
+        <h1>[% l('Apply for a PINES Library Card')%]</h1>
         <hr/>
 
         [% IF ctx.register.success %]
             <h3>[% l('Registration successful!') %]<h3>
-            <h4>[% l('Please see library staff to complete your registration.') %]</h4>
+            <h4>[% l('Please visit your Home Library within 14 days to complete your registration.') %]</h4>
 
             [% IF ctx.register.username_taken %]
             <p>
@@ -106,14 +106,17 @@ END;
                             value=value || ctx_org
                             can_have_users_only=1
                             valid_org_list=ctx.register.valid_orgs
-                        %]
+                        %] 
                     </td>
                     <td>
+                        <a href="http://georgialibraries.org/directories/pineslibdir.php" target="_blank">
+                               (Find the library system and branch closest to you.)</a><br/>
                         [% IF ctx.register.invalid.bad_home_ou %]
                         <span class='patron-reg-invalid'>
                             [% l('Please select a valid library') %]
                         </span>
                         [% END %]
+                    </td>
                 </tr>
 [%
 # <=== shifting code left for readability
@@ -169,14 +172,44 @@ FOR field_def IN register_fields;
     </td>
 </tr>
 [% END %]
+
+<!-- Adding terms of agreement -->
+<tr>
+    <td colspan='3' style="max-width:400px;">
+        <p style="font-weight:bold;">By clicking the Submit Registration button below, 
+            you are applying for the right to use the library and:</p>
+        <ul>
+            <li>You agree to comply with all its rules and regulations, and give immediate 
+                notice of any change of address.</li>
+            <li>You accept financial responsibility for all fines and/or damages to all 
+                Library materials, audiovisual materials and equipment beyond normal wear and 
+                tear, which is lost or damaged beyond use while checked out on your card. Under 
+                Georgia Code (OCGA Annotated Rev. 1985 20-5-53), failure to return items 
+                borrowed from a public library is considered a misdemeanor.</li>
+            <li><u>If this card is for a juvenile:</u> As the parent or guardian of a child 18 
+                years or younger, you are willing to allow him/her to borrow materials from 
+                the Public Library. You will take responsibility and make good any charges 
+                or loss to library materials and pay any fine justly charged.</li>
+         </ul>
+
+         <p style="font-weight:bold;">After submitting this form, you will have <u>14 days</u> to visit the Home Library 
+             you have selected above to complete your registration. You will need to bring proof of ID
+             <a href="http://pines.georgialibraries.org/help-faqs#FAQCard" target='_blank'>(see acceptable forms of ID).</a></p>
+    </td>
+</tr>
+
+
+
+<!-- End terms of agreement -->
+
 <!-- ====> shifting the code back to the right for context -->
                     <tr>
                         <td colspan='3'>
                             <a href="[% ctx.opac_root %]/home" 
-                                class="opac-button">[% l('Go Back') %]</a>
+                                class="opac-button" style="font-size:large;" >[% l('Cancel') %]</a>
                             <input type="submit" 
                                 value="[% l('Submit Registration') %]" 
-                                class="opac-button" />
+                                class="opac-button" style="font-size:large;width:400px;" />
                         </td>
                     </tr>
                 </table>