| Server IP : 104.21.37.246 / Your IP : 104.23.243.32 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/2388322/cwd/frontend/jupiter/mail/ |
Upload File : |
[% SET CPANEL.CPVAR.dprefix = "../" %]
[% WRAPPER '_assets/master.html.tt'
app_key = 'boxtrapper'
%]
<div class="body-content">
[% IF (ExpVar.expand('$appname') == "webmail" && !( FORM.item('account') == CPANEL.authuser)) %]
<div id="saveChangesErrorMsg" class="alert alert-danger">
<span class="glyphicon glyphicon-remove-sign"></span>
<div class="alert-message">
[% locale.maketext("You are not allowed to change settings for the user “[output,strong,_1]”.",FORM.item('account')) %]
</div>
</div>
[% ELSIF CPANEL.CPDATA.item('DEMO') %]
[% locale.maketext("This feature is disabled in demo mode.") %]
[% ELSE %]
[%
IF (RAW_FORM.item('account'));
SET status = execute("BoxTrapper", "set_forwarders", {
'email' => RAW_FORM.item('account'),
'forwarder' => RAW_FORM.item('page').split('\r?\n')
});
ELSE;
SET status = {
status => 0,
errors_as_string => locale.maketext("You must pass the “account” parameter with a value.")
};
END;
%]
[% IF !status.status %]
<div id="saveChangesErrorMsg" class="alert alert-danger">
<span class="glyphicon glyphicon-remove-sign"></span>
<div class="alert-message">
[% locale.maketext("The system encountered an error when it tried to save the new forwarders: “[output,asis,_1]”.", status.errors_as_string.html()) %]
</div>
</div>
[% ELSE %]
<div id="saveChangesSuccessMsg" class="alert alert-success">
<span class="glyphicon glyphicon-ok-sign"></span>
<div class="alert-message">
[% locale.maketext("Your changes have been saved.") %]
</div>
</div>
[% END %]
[% END %]
[% INCLUDE _assets/return_link.html.tt return_location='manage.html?account=' _ FORM.item('account') _ '' return_link_text=locale.maketext('Go Back') %]
</div>
[% END %]