summaryrefslogtreecommitdiff
path: root/httemplate/edit/msg_template.html
blob: 6632d027af54c9515e4d11942030aa46a2cee330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% include( 'elements/edit.html',  
              'name_singular' => 'template',
              'table'         => 'msg_template',
              'viewall_dir'   => 'browse',
              'fields' => [ 'msgname',
                            { field=>'body', type=>'htmlarea' },
                          ],
          )
%>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Edit templates')
  ||     $FS::CurrentUser::CurrentUser->access_right('Edit global templates');

</%init>