mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
mail settings hint
This commit is contained in:
parent
9d2ebe561a
commit
3d47843586
2 changed files with 75 additions and 3 deletions
|
@ -50,6 +50,28 @@
|
|||
}
|
||||
document.v_add_mail_acc.v_password.value = randomstring;
|
||||
}
|
||||
$(document).ready(function() {
|
||||
$('#v_account').text($('input[name=v_account]').val());
|
||||
$('#v_password').text($('input[name=v_password]').val());
|
||||
|
||||
$('input[name=v_account]').change(function(){
|
||||
$('#v_account').text($(this).val());
|
||||
});
|
||||
|
||||
$('input[name=v_password]').change(function(){
|
||||
if($('input[name=v_password]').attr('type') == 'text')
|
||||
$('#v_password').text($(this).val());
|
||||
else
|
||||
$('#v_password').text(Array($(this).val().length+1).join('*'));
|
||||
});
|
||||
|
||||
$('.toggle-psw-visibility-icon').click(function(){
|
||||
if($('input[name=v_password]').attr('type') == 'text')
|
||||
$('#v_password').text($('input[name=v_password]').val());
|
||||
else
|
||||
$('#v_password').text(Array($('input[name=v_password]').val().length+1).join('*'));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<table class="data mode-add">
|
||||
|
@ -150,6 +172,53 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mail-infoblock-td">
|
||||
<div class="mail-infoblock">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Username:</td>
|
||||
<td><span id="v_account">william.cage</span>@<?=htmlentities($v_domain)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password:</td>
|
||||
<td id="v_password">******</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IMAP hostname:</td>
|
||||
<td><?=htmlentities($v_domain)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IMAP port:</td>
|
||||
<td>143</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IMAP security:</td>
|
||||
<td>STARTTLS</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IMAP auth method:</td>
|
||||
<td>Normal password</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SMTP hostname</td>
|
||||
<td><?=htmlentities($v_domain)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SMTP port:</td>
|
||||
<td>587</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SMTP security:</td>
|
||||
<td>STARTTLS</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SMTP auth method:</td>
|
||||
<td>Normal password</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue