[% IF done -%] [% WRAPPER 'master_templates/master.tmpl' theme="yui", app_key='reset_account_bandwidth_limit' -%] Bandwidth limit for [% data.user %] ([% data.domain %]) has been reset to the default for [% IF data.plan -%] package "[% data.plan %]" [% ELSE -%] the default package [% END -%] ([% data.bwlimit || 'unlimited' %] MB). [% END -%] [% ELSE %] [% USE CPMath -%] [% WRAPPER 'master_templates/master.tmpl' theme="yui" app_key='reset_account_bandwidth_limit' scripts = ['/js/sorttable.js'] extrastyle = ' td { padding: 3px ! important; } tr.unchanged td { font-style: italic; } ' -%]
This function will show every account where the bandwidth limit has been changed from the package default and will let you easily reset it to the limit that the package has.
[% IF data.userdata.size > 0 -%]| Domain | User | Package | Package Bandwidth Limit | Current Bandwidth Limit | Reset | |
|---|---|---|---|---|---|---|
| [% userdata.domain %] | [% userdata.user %] | [% userdata.plan %] | [% planlimit %] MB | [% userlimit %] MB | [% IF changed -%][% ELSE %] | (Bandwidth limit is unchanged.) | [% END -%]
Every account on this system has its Package Bandwith Limit.
[% END -%] [% END -%] [% END -%]