Location: PHPKode > scripts > AfterLogic WebMail Lite PHP > afterlogic-webmail-lite-php/webmail/adminpanel/plugins/webmail/templates/webmail-lite.php
<form action="<?php echo AP_INDEX_FILE;?>?mode=submit" method="POST" id="webmail_form" <?php $this->data->PrintValue('hideClass_webmail') ?> onsubmit="OnlineLoadInfo(_langSaving); return true;">
<input type="hidden" name="form_id" value="webmail" />
<input type="hidden" name="filter_host" value="<?php $this->data->PrintInputValue('txtFilterHost') ?>" />

<table class="wm_admin_center" width="550">
	<tr>
		<td width="150"></td>
		<td width="160"></td>
		<td><br /></td>
	</tr>
	<tr>
		<td colspan="3" class="wm_admin_title">Common Settings</td>
	</tr>
	<tr><td colspan="3"><br /></td></tr>
	<tr>
		<td align="right">
			Site name:
		</td>
		<td colspan="2">
			<input type="text" name="txtSiteName" value="<?php $this->data->PrintInputValue('txtSiteName') ?>" size="50" class="wm_input wm_addmargin" maxlength="100" />
		</td>
	</tr>
	<tr><td colspan="3"><br /></td></tr>
	<tr>
		<td colspan="3" class="wm_admin_title">Default Mail Server Settings</td>
	</tr>
	<tr><td colspan="3"><br /></td></tr>
	<tr>
		<td align="right">
			Incoming mail:
		</td>
		<td>
			<input type="text" class="wm_input wm_addmargin" name="txtIncomingMail"  id="txtIncomingMail" value="<?php $this->data->PrintInputValue('txtIncomingMail') ?>" maxlength="100" />
		</td>
		<td>
			<nobr>
				Port:&nbsp;<input type="text" class="wm_input" name="intIncomingMailPort" id="intIncomingMailPort" size="3" value="<?php $this->data->PrintInputValue('intIncomingMailPort') ?>" maxlength="5" />
				&nbsp;
				<select name="intIncomingMailProtocol" id="intIncomingMailProtocol" class="wm_input">
					<option value="<?php $this->data->PrintInputValue('intIncomingMailProtocolPop3Value') ?>" <?php $this->data->PrintSelectedValue('intIncomingMailProtocol0') ?>>POP3</option>
					<option value="<?php $this->data->PrintInputValue('intIncomingMailProtocolImap4Value') ?>" <?php $this->data->PrintSelectedValue('intIncomingMailProtocol1') ?>>IMAP4</option>
				</select>
			</nobr>
		</td>
	</tr>
	<tr>
		<td align="right">Outgoing mail: </td>
		<td>
			<input type="text" class="wm_input wm_addmargin" name="txtOutgoingMail" value="<?php $this->data->PrintInputValue('txtOutgoingMail') ?>" maxlength="100" />
		</td>
		<td>
			Port:&nbsp;<input type="text" class="wm_input" name="intOutgoingMailPort" size="3" value="<?php $this->data->PrintIntValue('intOutgoingMailPort') ?>" maxlength="5" />
		</td>
	</tr>
	<tr>
		<td align="right">&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intReqSmtpAuthentication" id="intReqSmtpAuthentication" value="1" <?php $this->data->PrintCheckedValue('intReqSmtpAuthentication') ?>/>
			&nbsp;<label for="intReqSmtpAuthentication">Requires SMTP authentication</label>
		</td>
	</tr>
	<tr>
		<td align="right" >&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intAllowDirectMode" id="intAllowDirectMode" value="1" <?php $this->data->PrintCheckedValue('intAllowDirectMode') ?>/>
			&nbsp;<label for="intAllowDirectMode">Allow direct mode</label>
		</td>
	</tr>
	<tr>
		<td align="right">&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intDirectModeIsDefault" id="intDirectModeIsDefault" value="1" <?php $this->data->PrintCheckedValue('intDirectModeIsDefault') ?>/>
			&nbsp;<label for="intDirectModeIsDefault" id="intDirectModeIsDefault_label">Direct mode is default</label>
		</td>
	</tr>
	<tr>
		<td align="right">Attachment size limit: </td>
		<td colspan="2">
			<input type="text" class="wm_input wm_addmargin" name="intAttachmentSizeLimit" id="intAttachmentSizeLimit" style="width: 85px" value="<?php $this->data->PrintIntValue('intAttachmentSizeLimit') ?>" maxlength="6" /> KB
			&nbsp;&nbsp;&nbsp;
			<input type="checkbox" class="wm_checkbox" name="intEnableAttachSizeLimit" id="intEnableAttachSizeLimit" value="1" <?php $this->data->PrintCheckedValue('intEnableAttachSizeLimit') ?>/>
			&nbsp;<label for="intEnableAttachSizeLimit">Enable attachment size limit</label>
		</td>
	</tr>
	<tr>
		<td align="right">Mailbox size limit: </td>
		<td colspan="2">
			<input type="text" class="wm_input wm_addmargin" name="intMailboxSizeLimit" id="intMailboxSizeLimit" style="width: 85px" value="<?php $this->data->PrintIntValue('intMailboxSizeLimit') ?>" maxlength="7" /> KB
			&nbsp;&nbsp;&nbsp;
			<input type="checkbox" class="wm_checkbox" name="intEnableMailboxSizeLimit" id="intEnableMailboxSizeLimit" value="1" <?php $this->data->PrintCheckedValue('intEnableMailboxSizeLimit') ?>/>
			&nbsp;<label for="intEnableMailboxSizeLimit">Enable mailbox size limit</label>
		</td>
	</tr>
	<tr>
		<td align="right">&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intTakeImapQuota" id="intTakeImapQuota" value="1" <?php $this->data->PrintCheckedValue('intTakeImapQuota') ?>/>
			&nbsp;<label for="intTakeImapQuota" id="intTakeImapQuota_label">Take quota value from IMAP server</label>
		</td>
	</tr>
	<tr>
		<td align="right">&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intAllowUsersChangeEmailSettings" id="intAllowUsersChangeEmailSettings" value="1" <?php $this->data->PrintCheckedValue('intAllowUsersChangeEmailSettings') ?>/>
			&nbsp;<label for="intAllowUsersChangeEmailSettings">Allow new users to change email settings</label>
		</td>
	</tr>
	<tr>
		<td align="right">&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intAllowUsersAddNewAccounts" id="intAllowUsersAddNewAccounts" value="1" disabled="disabled" />
			&nbsp;<label for="intAllowUsersAddNewAccounts"><font color="#aaaaaa">Allow users to add new email accounts (Pro only)</font></label>
		</td>
	</tr>

	<tr><td colspan="2"><br /></td></tr>
	<tr>
		<td colspan="3" class="wm_admin_title">Internationalization Support</td>
	</tr>
	<tr><td colspan="3"><br /></td></tr>
	<tr>
		<td align="right">Default user charset </td>
		<td colspan="2">
			<select name="txtDefaultUserCharset" class="wm_input wm_addmargin" style="width: 320px;">
<?php $this->data->PrintValue('txtDefaultUserCharset') ?>
			</select> 
		</td>
	</tr>
	<tr>
		<td align="right">&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intAllowUsersChangeCharset" id="intAllowUsersChangeCharset" value="1" <?php $this->data->PrintCheckedValue('intAllowUsersChangeCharset') ?>/>
			&nbsp;<label for="intAllowUsersChangeCharset">Allow users to change charset</label>
		</td>
	</tr>
	<tr>
		<td align="right">Default user time offset</td>
		<td colspan="2">
			<select name="txtDefaultTimeZone" class="wm_input wm_addmargin" style="width: 320px;">
<?php $this->data->PrintValue('txtDefaultTimeZone') ?>
			</select>
		</td>
	</tr>
	<tr>
		<td align="right" >&nbsp;</td>
		<td colspan="2">
			<input type="checkbox" class="wm_checkbox" name="intAllowUsersChangeTimeZone" id="intAllowUsersChangeTimeZone" value="1" <?php $this->data->PrintCheckedValue('intAllowUsersChangeTimeZone') ?>/>
			&nbsp;<label for="intAllowUsersChangeTimeZone">Allow users to change time offset</label>
		</td>
	</tr>
	<tr><td colspan="3"><hr size="1"></td></tr>
	<tr>
		<td colspan="3" align="right">
			<input type="submit" name="submit" class="wm_button" value="Save" style="width: 100px; font-weight: bold" />
			<?php $this->data->PrintValue('btnSubmitReset') ?>
		</td>
	</tr>
</table>
</form>
Return current item: AfterLogic WebMail Lite PHP