<form action="<?php echo AP_INDEX_FILE;?>?mode=submit" method="POST" id="<?php $this->data->PrintInputValue('inputMode'); ?>_form" <?php $this->data->PrintValue('hideClass_'.$this->data->GetInputValue('inputMode')); ?> onsubmit="OnlineLoadInfo(_langSaving); return true;">
<input type="hidden" name="form_id" value="<?php $this->data->PrintInputValue('inputMode'); ?>">
<table class="wm_admin_center" width="550">
<tr>
<td width="170"></td>
<td><br /></td>
</tr>
<tr>
<td colspan="2" class="wm_safety_info">
Configures mailadm account which is used to access this Admin Panel.
</td>
</tr>
<tr>
<td></td>
<td><br /></td>
</tr>
<tr>
<td colspan="2" class="wm_admin_title">
Authentication Settings
</td>
</tr>
<tr><td colspan="2"><br /></td></tr>
<tr>
<td align="right">
Username:
</td>
<td>
<b><?php $this->data->PrintValue('UserName') ?></b>
<input name="txtLogin" type="hidden" value="<?php $this->data->PrintInputValue('UserName') ?>" />
</td>
</tr>
<tr>
<td align="right">
Password:
</td>
<td>
<input name="txtPassword1" type="password" maxlength="100" id="txtPassword1" tabindex="2" class="wm_input" value="<?php $this->data->PrintInputValue('txtPassword1') ?>" />
</td>
</tr>
<tr>
<td align="right">
Confirm password:
</td>
<td>
<input name="txtPassword2" type="password" maxlength="100" id="txtPassword2" tabindex="2" class="wm_input" value="<?php $this->data->PrintInputValue('txtPassword2') ?>" />
</td>
</tr>
<tr class="<?php $this->data->PrintInputValue('hideClass') ?>">
<td align="right">
Host:
</td>
<td>
<input name="txtHost" type="text" id="txtHost" class="wm_input" value="<?php $this->data->PrintInputValue('txtHost') ?>" />
</td>
</tr>
<tr class="<?php $this->data->PrintInputValue('hideClass') ?>">
<td align="right">
Port:
</td>
<td>
<input name="txtPort" type="text" id="txtPort" class="wm_input" value="<?php $this->data->PrintInputValue('txtPort') ?>" />
</td>
</tr>
<tr><td colspan="2"><br /></td></tr>
<tr><td colspan="2"><hr size="1"></td></tr>
<tr>
<td colspan="2" align="right">
<input type="submit" name="submit_btn" value="Save" class="wm_button" style="width: 100px">
</td>
</tr>
</table>
<script type="text/javascript">
Validator.RegisterAllowNum($('txtPort'));
</script>
</form>