X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fmsg_template.html;h=8e859e6e65672f29f09fc50c6d07176c670a8b29;hb=dc1891ff9a6e6c4b4545fe7f786af6bd0f28b2cf;hp=68725e243a2d57b13882d397720b25bf67af8b80;hpb=99af479c12baf1f7da52e06841f0ac4f4832d766;p=freeside.git diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html index 68725e243..8e859e6e6 100644 --- a/httemplate/edit/msg_template.html +++ b/httemplate/edit/msg_template.html @@ -1,22 +1,187 @@ <% 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', + { 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', - 'subject' => 'Message subject', - 'body' => 'Message template', + 'labels' => { 'msgnum' => 'Template', + 'msgname' => 'Template name', + 'from_addr' => 'From: ', + 'bcc_addr' => 'Bcc: ', + 'subject' => 'Subject: ', + 'body' => 'Message template', }, + 'html_foot' => " | $sidebar