[open-ils-commits] r16565 - trunk/Open-ILS/src/templates/password-reset (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jun 2 17:36:40 EDT 2010


Author: dbs
Date: 2010-06-02 17:36:34 -0400 (Wed, 02 Jun 2010)
New Revision: 16565

Modified:
   trunk/Open-ILS/src/templates/password-reset/request-form.tt2
   trunk/Open-ILS/src/templates/password-reset/reset-form.tt2
   trunk/Open-ILS/src/templates/password-reset/strings.en-US
Log:
Undouble these elements of password-reset that somehow doubled up during the forward-porting from rel_1_6


Modified: trunk/Open-ILS/src/templates/password-reset/request-form.tt2
===================================================================
--- trunk/Open-ILS/src/templates/password-reset/request-form.tt2	2010-06-02 21:34:55 UTC (rev 16564)
+++ trunk/Open-ILS/src/templates/password-reset/request-form.tt2	2010-06-02 21:36:34 UTC (rev 16565)
@@ -30,20 +30,3 @@
   dojo.require("dijit.form.ValidationTextBox");
 </script>
 </html>
-<html>
-<head>
-  <title>[% i18n.REQUEST_TITLE %]</title>
-</head>
-<body>
-  <h1>[% i18n.REQUEST_TITLE %]</h1>
-<p class='[% status.style %]'>[% status.msg %]</p>
-<form method="post" action="[% uri %]">
-    <div>
-        <label for="barcode">[% i18n.BARCODE_PROMPT %] </label><input type="text" name="barcode"/></br>
-        <label for="username">[% i18n.USERNAME_PROMPT %]  </label><input type="text" name="username"/></br>
-        <!--<label for="email">[% i18n.EMAIL_PROMPT %]  </label><input type="text" name="email"/></br>-->
-        <input type="submit"/>
-    </div>
-</form>
-</body>
-</html>

Modified: trunk/Open-ILS/src/templates/password-reset/reset-form.tt2
===================================================================
--- trunk/Open-ILS/src/templates/password-reset/reset-form.tt2	2010-06-02 21:34:55 UTC (rev 16564)
+++ trunk/Open-ILS/src/templates/password-reset/reset-form.tt2	2010-06-02 21:36:34 UTC (rev 16565)
@@ -9,22 +9,8 @@
     <div>
         <label for="pwd1">[% password_prompt %] </label><input type="password" name="pwd1"/></br>
         <label for="pwd2">[% password_prompt2 %]  </label><input type="password" name="pwd2"/></br>
+        <button name="submit" id="submitButton" type="submit">[% i18n.BUTTON_SUBMIT %]</button>
     </div>
 </form>
 </body>
 </html>
-<html>
-<head>
-  <title>[% title %]</title>
-</head>
-<body>
-  <h1>[% title %]</h1>
-<p class='[% status.style %]'>[% status.msg %]</p>
-<form method="post" action="[% uri %]">
-    <div>
-        <label for="pwd1">[% password_prompt %] </label><input type="password" name="pwd1"/></br>
-        <label for="pwd2">[% password_prompt2 %]  </label><input type="password" name="pwd2"/></br>
-    </div>
-</form>
-</body>
-</html>

Modified: trunk/Open-ILS/src/templates/password-reset/strings.en-US
===================================================================
--- trunk/Open-ILS/src/templates/password-reset/strings.en-US	2010-06-02 21:34:55 UTC (rev 16564)
+++ trunk/Open-ILS/src/templates/password-reset/strings.en-US	2010-06-02 21:36:34 UTC (rev 16565)
@@ -13,16 +13,3 @@
 TITLE=Library system password reset
 PASSWORD_PROMPT=New password: 
 PASSWORD_PROMPT2=Re-enter new password: 
-REQUEST_TITLE=Library system password reset request form
-IDENTIFY_YOURSELF=Please enter your user name or barcode to identify your library account and request a password reset.
-REQUEST_SUCCESS=Your user name or barcode has been submitted for a password reset. If a matching account with an email address is found, you will soon receive an email at that address with further instructions for resetting your password.
-BARCODE_PROMPT=Barcode:
-USERNAME_PROMPT=User name:
-EMAIL_PROMPT=Email address associated with the account:
-NO_SESSION=Could not find the requested password reset session.
-NO_MATCH=Passwords did not match. Please try again
-NOT_ACTIVE=This was not an active password reset request. Your password has not been reset.
-SUCCESS=Password has been reset.
-TITLE=Library system password reset
-PASSWORD_PROMPT=New password: 
-PASSWORD_PROMPT2=Re-enter new password: 



More information about the open-ils-commits mailing list