mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
Minor fixes for Sending mail credentials to email
This commit is contained in:
parent
8c1deb80f7
commit
2bff53e881
2 changed files with 6 additions and 7 deletions
|
@ -112,7 +112,6 @@ if (!empty($_POST['ok_acc'])) {
|
||||||
$v_fwd = $_POST['v_fwd'];
|
$v_fwd = $_POST['v_fwd'];
|
||||||
if (empty($_POST['v_quota'])) $v_quota = 0;
|
if (empty($_POST['v_quota'])) $v_quota = 0;
|
||||||
if ((!empty($_POST['v_quota'])) || (!empty($_POST['v_aliases'])) || (!empty($_POST['v_fwd'])) ) $v_adv = 'yes';
|
if ((!empty($_POST['v_quota'])) || (!empty($_POST['v_aliases'])) || (!empty($_POST['v_fwd'])) ) $v_adv = 'yes';
|
||||||
$v_quota = escapeshellarg($_POST['v_quota']);
|
|
||||||
|
|
||||||
// Add Mail Account
|
// Add Mail Account
|
||||||
if (empty($_SESSION['error_msg'])) {
|
if (empty($_SESSION['error_msg'])) {
|
||||||
|
|
|
@ -196,15 +196,15 @@
|
||||||
<td><?=__('SMTP auth method')?>:</td>
|
<td><?=__('SMTP auth method')?>:</td>
|
||||||
<td><div><?=__('Normal password')?></div></td>
|
<td><div><?=__('Normal password')?></div></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?
|
||||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
||||||
$webmail = "http://".$http_host."/webmail/";
|
$webmail = "http://".$http_host."/webmail/";
|
||||||
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?=__('Webmail URL')?>:</td>
|
<td><?=__('Webmail URL')?>:</td>
|
||||||
<td><div><a class="vst" href="<?=$webmail?>" target="_blank"><?=$webmail?> <i></i></a></div></td>
|
<td><div><a class="vst" href="<?=$webmail?>" target="_blank"><?=$webmail?> <i></i></a></div></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue