<fieldset><legend>[[__settings]]</legend>

<table class="formFields" cellspacing="0" width="100%">
	<tr {ERROR_FTP_SERVER}>
		<td class="name"><label for="fid-ftp_server">[[backup__ftp_host]]&nbsp;{REQ}</label></td>
		<td><input type="text" name="ftp_server" id="fid-ftp_server" value="{FTP_SERVER}" size="35" maxlength="255">{ERROR_FTP_SERVER_DESC}</td>
	</tr>
	<tr {ERROR_FTP_PATH}>
		<td class="name"><label for="fid-ftp_basedir">[[backup__ftp_directory]]&nbsp;</label></td>
		<td><input type="text" name="ftp_basedir" id="fid-ftp_basedir" value="{FTP_PATH}" size="35" maxlength="255">{ERROR_FTP_PATH_DESC}<div class="hint">[[backup__ftp_settings__ftp_directory_hint]]</div></td>
	</tr>
	<tr {ERROR_FTP_LOGIN}>
		<td class="name"><label for="fid-ftp_login">[[backup__ftp_settings__ftp_login]]&nbsp;{REQ}</label></td>
		<td><input type="text" name="ftp_login" id="fid-ftp_login" value="{FTP_LOGIN}" size="35" maxlength="255">{ERROR_FTP_LOGIN_DESC}</td>
	</tr>

	<tr>
		<td class="name">[[backup__ftp_settings__old_ftp_password]]</td>
		<td>{OLD_PASSWORD_VALUE}</td>
	</tr>
	<tr {ERROR_FTP_PASSWORD}>
		<td class="name"><label for="fid-ftp_password">[[backup__ftp_settings__ftp_password]]</label></td>
		<td>{NEW_PASSWORD_INPUT}{ERROR_FTP_PASSWORD_DESC}</td>
	</tr>
	<tr {ERROR_CONFIRM_PASSWORD}>
		<td class="name"><label for="fid-ftp_confirm_password">[[backup__ftp_settings__confirm_ftp_password]]</label></td>
		<td>{CONFIRM_PASSWORD_INPUT}</td>
	</tr>
	<tr>
		<td class="name"><label for="fid-ftp_passive_mode_checkbox">[[backup__ftp_settings__use_passive_mode]]</label></td>
		<td>
			<input type="checkbox" class="checkbox" name="ftp_passive_mode_checkbox" id="fid-ftp_passive_mode_checkbox" value="true" {FTP_PASSIVE_MODE_CHECKED}  />
			<input type="hidden" id="ftp_passive_mode" name="ftp_passive_mode" value="" />
		</td>
	</tr>
    <tr>
        <td class="name"><label for="fid-ftp_use_ftps_checkbox">[[backup__ftp_settings__use_ftps]]</label></td>
        <td>
            <input type="checkbox" class="checkbox" name="ftp_use_ftps_checkbox" id="fid-ftp_use_ftps_checkbox" value="true" {FTP_USE_FTPS_CHECKED}  />
            <input type="hidden" id="ftp_use_ftps" name="ftp_use_ftps" value="" />
        </td>
    </tr>
</table>

</fieldset>
<fieldset><legend>[[backup__security_settings]]</legend>
<table class="formFields" cellspacing="0" width="100%">
    <tr>
        <label>[[backup__security_settings_description_text]]</label>
    </tr>
    <tr>
        <td class="name"><label for="fid-use_backup_password_checkbox">[[backup__security_settings__use_backup_password]]</label></td>
        <td>
            <input type="checkbox" class="checkbox" name="use_backup_password_checkbox" id="fid-use_backup_password_checkbox" value="true" {USE_BACKUP_PASSWORD}  />
            <input type="hidden" id="fid-use_backup_password" name="use_backup_password" value="" />
        </td>
    </tr>
    <tr>
        <td class="name">
            <div class="suboption">[[backup__ftp_settings__old_backup_password]]</div>
        </td>
        <td>{OLD_BACKUP_PASSWORD_VALUE}</td>
    </tr>
    <tr {ERROR_BACKUP_PASSWORD}>
        <td class="name">
            <label for="fid-backup_password">
                <div class="suboption">[[backup__security_settings__backup_password]]&nbsp;{REQ}</div>
            </label>
        </td>
        <td>{NEW_BACKUP_PASSWORD_INPUT}{ERROR_BACKUP_PASSWORD_DESC}</td>
    </tr>
    <tr {ERROR_CONFIRM_BACKUP_PASSWORD}>
        <td class="name">
            <label for="fid-confirm_backup_password">
                <div class="suboption">[[backup__security_settings__confirm_backup_password]]&nbsp;{REQ}</div>
            </label>
        </td>
        <td>{CONFIRM_BACKUP_PASSWORD_INPUT}</td>
    </tr>
</table>

</fieldset>
