X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fmsg_template.html;h=758aab6e49c4be9c91f83476bce6ab4f0442a8ad;hb=e39f81dae87d882c0ea4f6f1918fa9cae6d2fc61;hp=6632d027af54c9515e4d11942030aa46a2cee330;hpb=9569b2f1e6147f97bfacb41bc94c6605eb59206f;p=freeside.git diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html index 6632d027a..758aab6e4 100644 --- a/httemplate/edit/msg_template.html +++ b/httemplate/edit/msg_template.html @@ -1,16 +1,188 @@ <% include( 'elements/edit.html', + 'html_init' => '
', 'name_singular' => 'template', 'table' => 'msg_template', 'viewall_dir' => 'browse', + 'agent_virt' => 1, + 'agent_null' => 1, + 'agent_null_right' => ['Edit global templates', 'Configuration'], + 'fields' => [ 'msgname', - { field=>'body', type=>'htmlarea' }, + { field=>'from_addr', size=>60, }, + { field=>'bcc_addr', size=>60, }, + { field=>'subject', size=>80, }, + { field=>'body', type=>'htmlarea', width=>763 }, ], + 'labels' => { 'msgnum' => 'Template', + 'msgname' => 'Template name', + 'from_addr' => 'From: ', + 'bcc_addr' => 'Bcc: ', + 'subject' => 'Subject: ', + 'body' => 'Message template', + }, + 'html_foot' => " | $sidebar