summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2010-07-13 11:10:31 +0000
committerivan <ivan>2010-07-13 11:10:31 +0000
commit99af479c12baf1f7da52e06841f0ac4f4832d766 (patch)
treee73a65542dd1208f9b32123d5ef62eea29270537 /httemplate/edit
parentf9a89c91cab9e85a7ca8dd67782919f8a85c2ebb (diff)
notices, RT#8324
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/elements/edit.html5
-rw-r--r--httemplate/edit/msg_template.html8
2 files changed, 12 insertions, 1 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html
index 0b5ca1737..b19b3618c 100644
--- a/httemplate/edit/elements/edit.html
+++ b/httemplate/edit/elements/edit.html
@@ -307,6 +307,11 @@ Example:
% foreach grep exists($f->{$_}),
% qw( hashref agent_virt agent_null agent_null_right );
%
+% #htmlarea
+% $include_common{$_} = $f->{$_}
+% foreach grep exists($f->{$_}), qw( width height );
+%
+%
% if ( $type eq 'tablebreak-tr-title' ) {
% $include_common{'table_id'} = 'TableNumber'. $tablenum++;
% }
diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html
index 6632d027a..68725e243 100644
--- a/httemplate/edit/msg_template.html
+++ b/httemplate/edit/msg_template.html
@@ -3,8 +3,14 @@
'table' => 'msg_template',
'viewall_dir' => 'browse',
'fields' => [ 'msgname',
- { field=>'body', type=>'htmlarea' },
+ 'subject',
+ { field=>'body', type=>'htmlarea', width=>763 },
],
+ 'labels' => { 'msgnum' => 'Template',
+ 'msgname' => 'Template name',
+ 'subject' => 'Message subject',
+ 'body' => 'Message template',
+ },
)
%>
<%init>