[%
SET CPANEL.CPVAR.dprefix = "../";
IF (ExpVar.expand('$appname') == "webmail") && !FORM.item('account');
SET FORM.item('account') = CPANEL.authuser;
END;
SET message_list = execute('BoxTrapper', 'list_email_templates');
%]
[% WRAPPER '_assets/master.html.tt'
app_key = 'boxtrapper'
%]
[% IF (ExpVar.expand('$appname') == "webmail" && !( FORM.item('account') == CPANEL.authuser)) %]
[% locale.maketext("You are not allowed to change settings for the user “[output,class,_1,status]”.",FORM.item('account')) %]
[% ELSIF !message_list.status %]
[% FOREACH error IN message_list.errors %]
[% locale.maketext('Error:') %]
[% error.html() %]
[% END %]
[% ELSE %]
[% locale.maketext("[asis,BoxTrapper] message for “[output,class,_1,status]”.", FORM.item('account')) %]
[% IF CPANEL.CPDATA.item('DEMO') %]
[% locale.maketext("This feature is disabled in demo mode.") %]
[% ELSE %]
[% FOREACH message_type IN message_list.data %]
[%
SET account = FORM.item('account').html();
SET form = message_type.html();
%]
| [% message_type.html() %] |
|
|
[% END %]
[% END %]
[% END %]
[% INCLUDE _assets/return_link.html.tt return_location='manage.html' post='1' formdata=FORM return_link_text=locale.maketext("Go Back") %]
[% END %]