still implementing the new Settings-class, refs #1325
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
@@ -40,14 +40,14 @@ return array(
|
||||
'value' => generatePassword(),
|
||||
),
|
||||
'email_quota' => array(
|
||||
'visible' => ($settings['system']['mail_quota_enabled'] == '1' ? true : false),
|
||||
'visible' => (Settings::Get('system.mail_quota_enabled') == '1' ? true : false),
|
||||
'label' => $lng['emails']['quota'],
|
||||
'desc' => $lng['panel']['megabyte'],
|
||||
'type' => 'text',
|
||||
'value' => $quota
|
||||
),
|
||||
'alternative_email' => array(
|
||||
'visible' => ($settings['panel']['sendalternativemail'] == '1' ? true : false),
|
||||
'visible' => (Settings::Get('panel.sendalternativemail') == '1' ? true : false),
|
||||
'label' => $lng['emails']['alternative_emailaddress'],
|
||||
'type' => 'text'
|
||||
)
|
||||
|
||||
@@ -43,7 +43,7 @@ return array(
|
||||
'value' => $lng['panel']['no'].' [<a href="'.$filename.'?page=accounts&action=add&id='.$result['id'].'&s='.$s.'">'.$lng['emails']['account_add'].'</a>]'
|
||||
),
|
||||
'mail_quota' => array(
|
||||
'visible' => ($result['popaccountid'] != 0 && $settings['system']['mail_quota_enabled']),
|
||||
'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&action=changequota&id='.$result['id'].'&s='.$s.'">'.$lng['emails']['quota_edit'].'</a>]'
|
||||
|
||||
Reference in New Issue
Block a user