Make all submit button names unique on compose screen
[squirrelmail.git] / templates / default / compose_body.tpl
CommitLineData
762853f4 1<?php
2/**
3 * compose_body.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 <tr>
26 <td style="text-align: center">
27 <textarea name="body" id="body" rows="<?php echo $editor_height; ?>" cols="<?php echo $editor_width; ?>" <?php echo $input_onfocus; ?>><?php echo $body; ?></textarea>
28 </td>
29 </tr>
30 <?php
31 if ($show_bottom_send) {
32 ?>
33 <tr>
34 <td class="bottomSend">
61bd57f5 35 <input type="submit" name="<?php echo unique_widget_name('send'); ?>" value="<?php echo _("Send"); ?>" />
762853f4 36 </td>
37 </tr>
38 <?php
39 }
40 ?>
41</table>
61bd57f5 42</div>
43<input type="hidden" name="send_button_count" value="<?php echo unique_widget_name('send', TRUE); ?>" />