[freeside-commits] freeside/httemplate/browse msg_template.html, NONE, 1.1.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Jul 12 06:18:07 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv17076/httemplate/browse
Added Files:
Tag: FREESIDE_1_9_BRANCH
msg_template.html
Log Message:
message templates, RT#8896
--- NEW FILE: msg_template.html ---
<% include( 'elements/browse.html',
'title' => 'Message templates',
'name_singular' => 'template',
'menubar' => [ 'Add a new template' =>
$p.'edit/msg_template.html',
],
'query' => { 'table' => 'msg_template', },
'count_query' => 'SELECT COUNT(*) FROM msg_template',
'disableable' => 1,
'disabled_statuspos' => 2,
'agent_virt' => 1,
'agent_null_right' => 'Edit global templates',
'agent_pos' => 3,
'header' => [ 'Name' ],
'fields' => [ 'msgname' ],
'links' => [ $link ],
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Edit templates')
|| $FS::CurrentUser::CurrentUser->access_right('Edit global templates');
my $link = [ "${p}edit/msg_template.html?", 'msgnum' ];
</%init>
More information about the freeside-commits
mailing list