Fix spacing on options pages
[squirrelmail.git] / templates / default_advanced / compose_body.tpl
CommitLineData
da07752d 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: compose_body.tpl 11743 2006-09-27 21:54:14Z stevetruckstuff $
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
29<?php if (checkForJavascript()) // Display text area resizing handle
30
31 // FIXME: There should be a better way (probably best to be javascript only, although trying to avoid unnecessary js) to calculate resize_handle width to match $editor_width
32 //$_total_width_ = 700;
2878b00b 33 echo '<div class="resize_handle" ' /* style="width: ' . ($editor_width * 8.3) . 'px; margin-left: ' . (($_total_width_ - ($editor_width * 8.3)) / 2) . 'px;" */ . 'onmousedown="startVertResizeDrag(event, document.compose.body, 40, 9000, this);"></div>';
da07752d 34
35?>
36
37 </td>
38 </tr>
39 <?php
40 if ($show_bottom_send) {
41 ?>
42 <tr>
43 <td class="bottomSend">
44 <input type="submit" name="send" value="<?php echo _("Send"); ?>" />
45 </td>
46 </tr>
47 <?php
48 }
49 ?>
50</table>
51</div>