* finish task #2719,2729.
This commit is contained in:
@@ -25,6 +25,7 @@ include '../../common/view/header.html.php';
|
||||
<th class='rowhead w-110px'><?php echo $lang->mail->turnon; ?></th>
|
||||
<td class='w-p25-f'><?php echo html::radio('turnon', $lang->mail->turnonList, 1);?></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<?php if(!empty($config->global->cron)):?>
|
||||
<tr>
|
||||
@@ -35,38 +36,51 @@ include '../../common/view/header.html.php';
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->fromAddress; ?></th>
|
||||
<td><?php echo html::input('fromAddress', $mailConfig->fromAddress, "class='form-control'");?></td>
|
||||
<td><?php echo $lang->mail->addressWhiteList?></td>
|
||||
<td colspan='2'><?php echo $lang->mail->addressWhiteList?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->fromName; ?></th>
|
||||
<td colspan='2'>
|
||||
<td colspan='3'>
|
||||
<div class='required required-wrapper'></div>
|
||||
<?php echo html::input('fromName', $mailConfig->fromName, "class='form-control'");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->domain; ?></th>
|
||||
<td colspan='3'><?php echo html::input('domain', $mailConfig->domain, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->host; ?></th>
|
||||
<td colspan='2'><?php echo html::input('host', $mailConfig->host, "class='form-control'");?></td>
|
||||
<td colspan='3'><?php echo html::input('host', $mailConfig->host, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->port; ?></th>
|
||||
<td colspan='2'><?php echo html::input('port', $mailConfig->port, "class='form-control'");?></td>
|
||||
<td><?php echo html::input('port', $mailConfig->port, "class='form-control'");?></td>
|
||||
<th class='w-70px'><?php echo $lang->mail->secure; ?></th>
|
||||
<td>
|
||||
<?php
|
||||
if(!$openssl)
|
||||
{
|
||||
unset($lang->mail->secureList['ssl']);
|
||||
unset($lang->mail->secureList['tls']);
|
||||
$mailConfig->secure = '';
|
||||
}
|
||||
echo html::radio('secure', $lang->mail->secureList, $mailConfig->secure);
|
||||
if(!$openssl) echo " <span class='text-warning'>" . $lang->mail->disableSecure . '</span>';
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->auth; ?></th>
|
||||
<td colspan='2'><?php echo html::radio('auth', $lang->mail->authList, $mailConfig->auth, 'onchange=setAuth(this.value)'); ?></td>
|
||||
<td colspan='3'><?php echo html::radio('auth', $lang->mail->authList, $mailConfig->auth, 'onchange=setAuth(this.value)'); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->username; ?></th>
|
||||
<td colspan='2'><?php echo html::input('username', $mailConfig->username, "class='form-control' autocomplete='off'") ?></td>
|
||||
<td colspan='3'><?php echo html::input('username', $mailConfig->username, "class='form-control' autocomplete='off'") ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->password; ?></th>
|
||||
<td colspan='2'><?php echo html::password('password', $mailConfig->password, "class='form-control' autocomplete='off' placeholder='{$lang->mail->placeholder->password}'") ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->secure; ?></th>
|
||||
<td><?php echo html::radio('secure', $lang->mail->secureList, $mailConfig->secure); ?></td>
|
||||
<td colspan='3'><?php echo html::password('password', $mailConfig->password, "class='form-control' autocomplete='off' placeholder='{$lang->mail->placeholder->password}'") ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mail->debug; ?></th>
|
||||
|
||||
Reference in New Issue
Block a user