7 * The following variables are available in this template:
8 * $accesskey_compose_identity - The access key to be used for the From field
9 * $accesskey_compose_to - The access key to be used for the To field
10 * $accesskey_compose_cc - The access key to be used for the Cc field
11 * $accesskey_compose_bcc - The access key to be used for the Bcc field
12 * $accesskey_compose_subject - The access key to be used for the Subject field
14 * @copyright 1999-2010 The SquirrelMail Project Team
15 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
17 * @package squirrelmail
18 * @subpackage templates
21 /** add required includes **/
23 /** extract template variables **/
26 /** Begin template **/
29 <table cellspacing="0" class="table1">
31 # Display the identity list if there is more than 1 identity
32 if (count($identities) > 1) {
35 <td class="fieldName">
36 <label for="identity"><?php echo _("From"); ?>:</label>
38 <td class="fieldValue">
39 <select name="identity" <?php if ($accesskey_compose_identity != 'NONE') echo 'accesskey="' . $accesskey_compose_identity . '" '; ?>id="identity">
41 foreach ($identities as $id=>$ident) {
42 echo '<option value="'.$id.'"'. ($identity_def==$id ? ' selected="selected"' : '') .'>'. $ident .'</option>';
52 <td class="fieldName">
53 <label for="to"><?php echo _("To"); ?>:</label>
55 <td class="fieldValue">
56 <input type="text" name="send_to" id="to" value="<?php echo $to; ?>" size="50" <?php if ($accesskey_compose_to != 'NONE') echo 'accesskey="' . $accesskey_compose_to . '" '; echo $input_onfocus; ?> />
60 <td class="fieldName">
61 <label for="send_to_cc"><?php echo _("Cc"); ?>:</label>
63 <td class="fieldValue">
64 <input type="text" name="send_to_cc" id="send_to_cc" value="<?php echo $cc; ?>" size="50" <?php if ($accesskey_compose_cc != 'NONE') echo 'accesskey="' . $accesskey_compose_cc . '" '; echo $input_onfocus; ?> />
68 <td class="fieldName">
69 <label for="send_to_bcc"><?php echo _("Bcc"); ?>:</label>
71 <td class="fieldValue">
72 <input type="text" name="send_to_bcc" id="send_to_bcc" value="<?php echo $bcc; ?>" size="50" <?php if ($accesskey_compose_bcc != 'NONE') echo 'accesskey="' . $accesskey_compose_bcc . '" '; echo $input_onfocus; ?> />
76 <td class="fieldName">
77 <label for="subject"><?php echo _("Subject"); ?>:</label>
79 <td class="fieldValue">
80 <input type="text" name="subject" id="subject" value="<?php echo $subject; ?>" size="50" <?php if ($accesskey_compose_subject != 'NONE') echo 'accesskey="' . $accesskey_compose_subject . '" '; echo $input_onfocus; ?> />