templates/list-virtual.php:

- fix mixed up unlimited vs. disabled
  https://sourceforge.net/tracker/?func=detail&aid=2790969&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@656 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 16 years ago
parent 84a5203fe1
commit de447795da

@ -6,13 +6,12 @@
$file = 'list-virtual.php'; $file = 'list-virtual.php';
if ($limit['aliases'] < 0) $limit['aliases'] = $PALANG['pOverview_disabled'];
if ($limit['aliases'] == 0) $limit['aliases'] = $PALANG['pOverview_disabled']; if ($limit['mailboxes'] < 0) $limit['mailboxes'] = $PALANG['pOverview_disabled'];
if ($limit['mailboxes'] == 0) $limit['mailboxes'] = $PALANG['pOverview_disabled']; if ($limit['maxquota'] < 0) $limit['maxquota'] = $PALANG['pOverview_disabled'];
if ($limit['maxquota'] == 0) $limit['maxquota'] = $PALANG['pOverview_disabled']; if ($limit['aliases'] == 0) $limit['aliases'] = $PALANG['pOverview_unlimited'];
if ($limit['aliases'] < 0) $limit['aliases'] = $PALANG['pOverview_unlimited']; if ($limit['mailboxes'] == 0) $limit['mailboxes'] = $PALANG['pOverview_unlimited'];
if ($limit['mailboxes'] < 0) $limit['mailboxes'] = $PALANG['pOverview_unlimited']; if ($limit['maxquota'] == 0) $limit['maxquota'] = $PALANG['pOverview_unlimited'];
if ($limit['maxquota'] < 0) $limit['maxquota'] = $PALANG['pOverview_unlimited'];
for ($i = 0; $i < sizeof ($list_domains); $i++) for ($i = 0; $i < sizeof ($list_domains); $i++)
{ {

Loading…
Cancel
Save