also fix IMAP help texts
This commit is contained in:
parent
1af5b301d4
commit
0fdd3c4775
|
@ -249,6 +249,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
|
|||
|
||||
<?php __("Which protocol shall you use?"); ?>
|
||||
<div id="accordion-mailin">
|
||||
<?php if ($mail->srv_imap) { ?>
|
||||
<h4><?php __("IMAP");?></h4>
|
||||
<div>
|
||||
<ul>
|
||||
|
@ -259,7 +260,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
|
|||
<li><b><?php __("Connection security:");?></b> STARTTLS</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php } if ($mail->srv_imaps) { ?>
|
||||
<h4><?php __("IMAPS");?></h4>
|
||||
<div>
|
||||
<ul>
|
||||
|
@ -270,7 +271,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
|
|||
<li><b><?php __("Connection security:");?></b> SSL</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php } if ($mail->srv_pop3) { ?>
|
||||
<h4><?php __("POP3");?></h4>
|
||||
<div>
|
||||
<ul>
|
||||
|
@ -281,7 +282,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
|
|||
<li><b><?php __("Connection security:");?></b> STARTTLS</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php } if ($mail->srv_pop3s) { ?>
|
||||
<h4><?php __("POP3S");?></h4>
|
||||
<div>
|
||||
<ul>
|
||||
|
@ -292,6 +293,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
|
|||
<li><b><?php __("Connection security:");?></b> SSL</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div><!-- tabs-mailhelp-in -->
|
||||
</div><!-- tabs-mailhelp -->
|
||||
|
|
|
@ -85,10 +85,10 @@ class m_mail {
|
|||
$this->srv_submission = variable_get('mail_human_submission', '%%FQDN%%','Human name for mail server (submission protocol), leave empty to disable help', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_smtp = variable_get('mail_human_smtp', '%%FQDN%%','Human name for mail server (SMTP protocol), leave empty to disable help', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_smtps = variable_get('mail_human_smtps', '%%FQDN%%','Human name for mail server (SMTPS protocol), leave empty to disable help', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_imap = variable_get('mail_human_imap', '%%FQDN%%','Human name for IMAP mail server', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_imaps = variable_get('mail_human_imaps', '%%FQDN%%','Human name for IMAPS mail server', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_pop3 = variable_get('mail_human_pop3', '%%FQDN%%','Human name for POP3 mail server', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_pop3s = variable_get('mail_human_pop3s', '%%FQDN%%','Human name for POP3s mail server', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_imap = variable_get('mail_human_imap', '%%FQDN%%','Human name for IMAP mail server, leave empty to disable help', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_imaps = variable_get('mail_human_imaps', '%%FQDN%%','Human name for IMAPS mail server, leave empty to disable help', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_pop3 = variable_get('mail_human_pop3', '%%FQDN%%','Human name for POP3 mail server, leave empty to disable help', array('desc'=>'Name','type'=>'string'));
|
||||
$this->srv_pop3s = variable_get('mail_human_pop3s', '%%FQDN%%','Human name for POP3s mail server, leave empty to disable help', array('desc'=>'Name','type'=>'string'));
|
||||
}
|
||||
|
||||
function hook_menu() {
|
||||
|
|
Loading…
Reference in New Issue