TPac: avoid 1995-esque "Submit Query" for form submission
authorBill Erickson <berick@esilibrary.com>
Fri, 9 Sep 2011 15:50:55 +0000 (11:50 -0400)
committerBill Erickson <berick@esilibrary.com>
Sun, 11 Sep 2011 22:17:57 +0000 (18:17 -0400)
On the update username, email, and password pages, use "Submit" instead
of relying on the browser "Submit Query" label

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/opac/myopac/update_email.tt2
Open-ILS/src/templates/opac/myopac/update_password.tt2
Open-ILS/src/templates/opac/myopac/update_username.tt2

index 3b9b762..8279959 100644 (file)
@@ -17,7 +17,7 @@
     <table> 
         <tr><td>[% l('Current Email') %]</td><td>[% ctx.user.email | html %]</td></tr>
         <tr><td>[% l('New Email') %]</td><td><input type='text' name='email' value='[% ctx.invalid_email | html %]'/></td></tr>
-        <tr><td colspan='2' align='center'><input type='submit'/></td></tr>
+        <tr><td colspan='2' align='center'><input value="[% l('Submit') %]" type='submit'/></td></tr>
     </table>
 </form>
 
index c4ad3de..c87fc5d 100644 (file)
@@ -26,7 +26,7 @@
         <tr><td>[% l('Current Password') %]</td><td><input type='password' name='current_pw'/></td></tr>
         <tr><td>[% l('New Password') %]</td><td><input type='password' name='new_pw'/></td></tr>
         <tr><td>[% l('New Password Again') %]</td><td><input type='password' name='new_pw2'/></td></tr>
-        <tr><td colspan='2' align='center'><input type='submit'/></td></tr>
+        <tr><td colspan='2' align='center'><input value="[% l('Submit') %]" type='submit'/></td></tr>
     </table>
 </form>
 
index 7455cc9..8ff329e 100644 (file)
@@ -22,7 +22,7 @@
     <table> 
         <tr><td>[% l('Current Username') %]</td><td>[% ctx.user.usrname | html %]</td></tr>
         <tr><td>[% l('New Username') %]</td><td><input type='text' name='username' value='[% ctx.invalid_username | html %]'/></td></tr>
-        <tr><td colspan='2' align='center'><input type='submit'/></td></tr>
+        <tr><td colspan='2' align='center'><input value="[% l('Submit') %]" type='submit'/></td></tr>
     </table>
 </form>