greylisting dis/enable
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the Froxlor project.
|
||||
* Copyright (c) 2010 the Froxlor Team (see authors).
|
||||
@@ -52,8 +53,8 @@ return array(
|
||||
'values' => array(
|
||||
array ('label' => $lng['panel']['yes'], 'value' => '1')
|
||||
),
|
||||
'visible' => (Settings::Get('mail.greylist_enabled') == '1' ? true : false),
|
||||
'value' => array(Settings::Get('mail.greylist_disabled_default'))
|
||||
'visible' => (\Froxlor\Settings::Get('mail.greylist_enabled') == '1' ? true : false),
|
||||
'value' => array(\Froxlor\Settings::Get('mail.greylist_disabled_default'))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -53,7 +53,8 @@ return array(
|
||||
'value' => ($result['iscatchall'] == 0 ? $lng['panel']['no'] : $lng['panel']['yes']) . ' [<a href="' . $filename . '?page=' . $page . '&action=togglecatchall&id=' . $result['id'] . '&s=' . $s . '">' . $lng['panel']['toggle'] . '</a>]'
|
||||
),
|
||||
'mail_greylist' => array(
|
||||
'label' => $lng['emails']['greylist'],
|
||||
'visible' => (\Froxlor\Settings::Get('mail.greylist_enabled') == '1' ? true : false),
|
||||
'label' => $lng['emails']['greylist'],
|
||||
'type' => 'label',
|
||||
'value' => ($result['disablegreylist'] == 0 ? $lng['panel']['no'] : $lng['panel']['yes']).' [<a href="'.$filename.'?page='.$page.'&action=togglegreylist&id='.$result['id'].'&s='.$s.'">'.$lng['panel']['toggle'].'</a>]'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user