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 c069a12..b215381 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 09f5580..85f3185 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>