Happy New Year
[squirrelmail.git] / templates / default / compose_header.tpl
index 1c07b703ce332f0982e30c9618fd17b2e7165b04..a981c7e70cc405697295e84e501ef5594744b630 100644 (file)
@@ -5,12 +5,13 @@
  * Description
  * 
  * The following variables are available in this template:
  * Description
  * 
  * The following variables are available in this template:
- *    $accesskey_compose_to      - The access key to be used for the To field
- *    $accesskey_compose_cc      - The access key to be used for the Cc field
- *    $accesskey_compose_bcc     - The access key to be used for the Bcc field
- *    $accesskey_compose_subject - The access key to be used for the Subject field
+ *    $accesskey_compose_identity - The access key to be used for the From field
+ *    $accesskey_compose_to       - The access key to be used for the To field
+ *    $accesskey_compose_cc       - The access key to be used for the Cc field
+ *    $accesskey_compose_bcc      - The access key to be used for the Bcc field
+ *    $accesskey_compose_subject  - The access key to be used for the Subject field
  *
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -35,7 +36,7 @@ extract($t);
    <label for="identity"><?php echo _("From"); ?>:</label>
   </td>
   <td class="fieldValue">
    <label for="identity"><?php echo _("From"); ?>:</label>
   </td>
   <td class="fieldValue">
-   <select name="identity" id="identity">
+   <select name="identity" <?php if ($accesskey_compose_identity != 'NONE') echo 'accesskey="' . $accesskey_compose_identity . '" '; ?>id="identity">
         <?php
         foreach ($identities as $id=>$ident) {
             echo '<option value="'.$id.'"'. ($identity_def==$id ? ' selected="selected"' : '') .'>'. $ident .'</option>';
         <?php
         foreach ($identities as $id=>$ident) {
             echo '<option value="'.$id.'"'. ($identity_def==$id ? ' selected="selected"' : '') .'>'. $ident .'</option>';