more function moving
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -37,8 +37,8 @@ return array(
|
||||
'email_password_suggestion' => array(
|
||||
'label' => $lng['customer']['generated_pwd'],
|
||||
'type' => 'text',
|
||||
'visible' => (Settings::Get('panel.password_regex') == ''),
|
||||
'value' => \Froxlor\System::generatePassword(),
|
||||
'visible' => (\Froxlor\Settings::Get('panel.password_regex') == ''),
|
||||
'value' => \Froxlor\System\Crypt::generatePassword(),
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -37,18 +37,18 @@ return array(
|
||||
'email_password_suggestion' => array(
|
||||
'label' => $lng['customer']['generated_pwd'],
|
||||
'type' => 'text',
|
||||
'visible' => (Settings::Get('panel.password_regex') == ''),
|
||||
'value' => \Froxlor\System::generatePassword(),
|
||||
'visible' => (\Froxlor\Settings::Get('panel.password_regex') == ''),
|
||||
'value' => \Froxlor\System\Crypt::generatePassword(),
|
||||
),
|
||||
'email_quota' => array(
|
||||
'visible' => (Settings::Get('system.mail_quota_enabled') == '1' ? true : false),
|
||||
'visible' => (\Froxlor\Settings::Get('system.mail_quota_enabled') == '1' ? true : false),
|
||||
'label' => $lng['emails']['quota'],
|
||||
'desc' => "MiB",
|
||||
'type' => 'text',
|
||||
'value' => $quota
|
||||
),
|
||||
'alternative_email' => array(
|
||||
'visible' => (Settings::Get('panel.sendalternativemail') == '1' ? true : false),
|
||||
'visible' => (\Froxlor\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::Get('system.mail_quota_enabled')),
|
||||
'visible' => ($result['popaccountid'] != 0 && \Froxlor\Settings::Get('system.mail_quota_enabled')),
|
||||
'label' => $lng['customer']['email_quota'],
|
||||
'type' => 'label',
|
||||
'value' => $result['quota'].' MiB [<a href="'.$filename.'?page=accounts&action=changequota&id='.$result['id'].'&s='.$s.'">'.$lng['emails']['quota_edit'].'</a>]'
|
||||
|
||||
Reference in New Issue
Block a user