Allow underscores in nicknames by changing id used in forms, add more labels for...
[squirrelmail.git] / templates / default / compose_buttons.tpl
CommitLineData
762853f4 1<?php
2/**
3 * compose_buttons.tpl
4 *
5 * Description
6 *
7 * The following variables are available in this template:
8 *
9 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
11 * @version $Id$
12 * @package squirrelmail
13 * @subpackage templates
14 */
15
16/** add required includes **/
17
18/** extract template variables **/
19extract($t);
20
21/** Begin template **/
22?>
23<div class="compose">
24<table cellspacing="0" class="table1">
25 <?php
26 # Priority setting
27 if ($allow_priority) {
28 ?>
29 <tr>
30 <td class="fieldName">
31 <label for="mailprio"><?php echo _("Priority"); ?>:</label>
32 </td>
33 <td class="fieldValue">
34 <select name="mailprio" id="mailprio">
35 <?php
36 foreach ($priority_list as $value=>$name) {
37 echo '<option value="'.$value.'"'. ($value==$current_priority ? ' selected="selected"' : '') .'>'.$name.'</option>';
38 }
39 ?>
40 </select>
41 </td>
42 </tr>
43 <?php
44 }
45
46 # Notifications
47 if ($notifications_enabled) {
48 ?>
49 <tr>
50 <td class="fieldName">
51 <?php echo _("Receipts"); ?>:
52 </td>
53 <td class="fieldValue">
54 <input type="checkbox" name="request_mdn" id="request_mdn" value="1" <?php if ($read_receipt) echo ' checked="checked"'; ?> /><label for="request_mdn"><?php echo _("On Read"); ?></label>
12644eff 55 &nbsp;
762853f4 56 <input type="checkbox" name="request_dr" id="request_dr" value="1" <?php if ($delivery_receipt) echo ' checked="checked"'; ?> /><label for="request_dr"><?php echo _("On Delivery"); ?></label>
57 </td>
58 </tr>
59 <?php
60 }
61 ?>
62 <tr>
63 <td colspan="2" class="buttons">
64 <input type="submit" name="sigappend" value="<?php echo _("Signature"); ?>" />&nbsp;
65 <?php echo $address_book_button; ?>&nbsp;
66 <?php
67 if ($drafts_enabled) {
68 ?>
69 <input type="submit" name="draft" value="<?php echo _("Save Draft"); ?>" />&nbsp;
70 <?php
71 }
72 ?>
73 <input type="submit" name="send" value="<?php echo _("Send"); ?>" />&nbsp;
abb5bd0c 74 <?php if (!empty($plugin_output['compose_button_row'])) echo $plugin_output['compose_button_row']; ?>
762853f4 75 </td>
76 </tr>
77</table>
abb5bd0c 78</div>