Fixing display of mailquota in dashboard, fixes #1369

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2014-01-28 21:13:18 +01:00
parent 9dd63fd1e1
commit b050e3dcd4
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ return array(
'value' => $result['email_full']
),
'email_quota' => array(
'label' => $lng['emails']['quota'].' ('.$lng['panel']['megabyte'].')',
'label' => $lng['emails']['quota'].' (MiB)',
'type' => 'text',
'value' => $result['quota']
)

View File

@@ -42,7 +42,7 @@ return array(
'email_quota' => array(
'visible' => (Settings::Get('system.mail_quota_enabled') == '1' ? true : false),
'label' => $lng['emails']['quota'],
'desc' => $lng['panel']['megabyte'],
'desc' => "MiB",
'type' => 'text',
'value' => $quota
),

View File

@@ -46,7 +46,7 @@ return array(
'visible' => ($result['popaccountid'] != 0 && Settings::Get('system.mail_quota_enabled')),
'label' => $lng['customer']['email_quota'],
'type' => 'label',
'value' => $result['quota'].' '.$lng['panel']['megabyte'].' [<a href="'.$filename.'?page=accounts&amp;action=changequota&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['emails']['quota_edit'].'</a>]'
'value' => $result['quota'].' MiB [<a href="'.$filename.'?page=accounts&amp;action=changequota&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['emails']['quota_edit'].'</a>]'
),
'mail_catchall' => array(
'label' => $lng['emails']['catchall'],