X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fmsg_template.html;h=a0030ceddb93b3ef90ce905a71d67dffe6bdf6fc;hb=bd2273ebba5914a07cfa60e0e44739d6a8d76e53;hp=68725e243a2d57b13882d397720b25bf67af8b80;hpb=7bab9a9fae4b88014262f7154e54874adcf3d947;p=freeside.git diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html index 68725e243..a0030cedd 100644 --- a/httemplate/edit/msg_template.html +++ b/httemplate/edit/msg_template.html @@ -1,22 +1,162 @@ <% 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', 'subject', + 'from_addr', + 'bcc_addr', { field=>'body', type=>'htmlarea', width=>763 }, ], - 'labels' => { 'msgnum' => 'Template', - 'msgname' => 'Template name', - 'subject' => 'Message subject', - 'body' => 'Message template', + 'labels' => { 'msgnum' => 'Template', + 'msgname' => 'Template name', + 'from_addr' => 'Return address', + 'bcc_addr' => 'Bcc address (optional)', + 'subject' => 'Message subject', + 'body' => 'Message template', }, + 'html_foot' => " | $sidebar