also fix IMAP help texts

This commit is contained in:
Antoine Beaupr�� 2014-07-23 19:08:34 +00:00
parent 1af5b301d4
commit 0fdd3c4775
2 changed files with 9 additions and 7 deletions

View File

@ -249,6 +249,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
<?php __("Which protocol shall you use?"); ?> <?php __("Which protocol shall you use?"); ?>
<div id="accordion-mailin"> <div id="accordion-mailin">
<?php if ($mail->srv_imap) { ?>
<h4><?php __("IMAP");?></h4> <h4><?php __("IMAP");?></h4>
<div> <div>
<ul> <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> <li><b><?php __("Connection security:");?></b> STARTTLS</li>
</ul> </ul>
</div> </div>
<?php } if ($mail->srv_imaps) { ?>
<h4><?php __("IMAPS");?></h4> <h4><?php __("IMAPS");?></h4>
<div> <div>
<ul> <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> <li><b><?php __("Connection security:");?></b> SSL</li>
</ul> </ul>
</div> </div>
<?php } if ($mail->srv_pop3) { ?>
<h4><?php __("POP3");?></h4> <h4><?php __("POP3");?></h4>
<div> <div>
<ul> <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> <li><b><?php __("Connection security:");?></b> STARTTLS</li>
</ul> </ul>
</div> </div>
<?php } if ($mail->srv_pop3s) { ?>
<h4><?php __("POP3S");?></h4> <h4><?php __("POP3S");?></h4>
<div> <div>
<ul> <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> <li><b><?php __("Connection security:");?></b> SSL</li>
</ul> </ul>
</div> </div>
<?php } ?>
</div> </div>
</div><!-- tabs-mailhelp-in --> </div><!-- tabs-mailhelp-in -->
</div><!-- tabs-mailhelp --> </div><!-- tabs-mailhelp -->

View File

@ -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_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_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_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_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', 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', 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', 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() { function hook_menu() {