Allow addition of extra attributes to user/pwd inputs
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Dec 2011 15:08:06 +0000 (15:08 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Dec 2011 15:08:06 +0000 (15:08 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14229 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/login.tpl
templates/default_advanced/login.tpl

index c069a12cf522f4aec451a4b5f4e71dd951cff772..b21538164c5c62df688a3c474a579b3c78482ae3 100644 (file)
@@ -51,7 +51,7 @@ extract($t);
    <?php echo _("Name:"); ?>
   </label></td>
   <td class="sqm_loginFieldInput">
-   <input type="text" name="<?php global $username_form_name; echo $username_form_name; ?>" value="<?php echo $login_field_value; ?>" id="login_username" onfocus="alreadyFocused=true;" />
+   <input type="text" name="<?php global $username_form_name; echo $username_form_name; ?>" value="<?php echo $login_field_value; ?>" id="login_username" onfocus="alreadyFocused=true;" <?php global $username_form_extra; echo $username_form_extra; ?> />
   </td>
  </tr>
  <tr>
@@ -59,7 +59,7 @@ extract($t);
    <?php echo _("Password:"); ?>
   </label></td>
   <td class="sqm_loginFieldInput">
-   <input type="password" name="<?php global $password_form_name; echo $password_form_name; ?>" value="" id="secretkey" onfocus="alreadyFocused=true;" />
+   <input type="password" name="<?php global $password_form_name; echo $password_form_name; ?>" value="" id="secretkey" onfocus="alreadyFocused=true;" <?php global $password_form_extra; echo $password_form_extra; ?> />
    <?php echo $login_extra; ?>
   </td>
  </tr>
index 09f5580ffd45788ab54f7f85de00c79485745a96..85f3185d19c9f853d1c1dce4625972434a88ed1e 100644 (file)
@@ -61,7 +61,7 @@ extract($t);
       <?php echo _("Name:"); ?>
      </td>
      <td class="fieldInput">
-      <input type="text" name="<?php global $username_form_name; echo $username_form_name; ?>" value="<?php echo $login_field_value; ?>" id="login_username" class="input" onfocus="alreadyFocused=true;" />
+      <input type="text" name="<?php global $username_form_name; echo $username_form_name; ?>" value="<?php echo $login_field_value; ?>" id="login_username" class="input" onfocus="alreadyFocused=true;" <?php global $username_form_extra; echo $username_form_extra; ?> />
      </td>
     </tr>
     <tr>
@@ -69,7 +69,7 @@ extract($t);
       <?php echo _("Password:"); ?>
      </td>
      <td class="fieldInput">
-      <input type="password" name="<?php global $password_form_name; echo $password_form_name; ?>" value="" id="secretkey" class="input" onfocus="alreadyFocused=true;" />
+      <input type="password" name="<?php global $password_form_name; echo $password_form_name; ?>" value="" id="secretkey" class="input" onfocus="alreadyFocused=true;" <?php global $password_form_extra; echo $password_form_extra; ?> />
       <?php echo $login_extra; ?>
      </td>
     </tr>