<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">

<form name="config_list" method="post" action="||action||" target="xhiddencmd">
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="cmd" value="saveconfig_details" />	
	<input type="hidden" name="page" value="blank" />

	<input type="hidden" name="force_connection" value="true" />
	<input type="hidden" name="host_name0" value="||host_name0||" />
	<input type="hidden" name="host_user0" value="||host_user0||" />
	<input type="hidden" name="host_prefix0" value="||host_prefix0||" />
	
	<input type="hidden" name="smitespam" value="||smitespam||" />
	||ifdef||authent_cookie||<input type="hidden" name="allow_cookie" value="||allow_cookie||" ||ifnempty||allow_cookie||checked="checked"||endif|| />||endif||

	<input type="hidden" name="msg" value="Settings Saved" />
	<input type="hidden" name="remove_setting" value="_nopreview,_min_refresh,_refresh,_one_fwd" />


<table width="100%" cellspacing="2">
<tr>
	<td align="center">
	<table border="1" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF" width="100%">
	<tr>
		<td bgcolor="||color_menu||" colspan="2">
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr>	
				<th width="100%">||lang_str||List Display||</th>
				<td align="right"><a href="javascript:config_list_display_save()"><img border="0" src="||nwimg||/msg_save.gif" alt="Set Template Set" /></a></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr><td>
		<table cellpadding="2" cellspacing="0" width="100%">
		<tr>
			<td nowrap="nowrap" align="right">||lang_str||Automatically check for new mail every||</td>
			<td>
				<input type="hidden" name="_refresh" value="||_refresh||" />
				<input type="text" size="10" maxlength="256" name="min_refresh" value="" onchange="testRefresh()" /> (||lang_str||minutes||)
				<script type="text/javascript">
				<!--
					||ifdef||_min_refresh||
						document.config_list.min_refresh.value = ||_min_refresh||;
					||else||
						if(document.config_list._refresh.value == "" || isNaN(document.config_list._refresh.value)){
							document.config_list.min_refresh.value = "";
						}
						else{
							document.config_list.min_refresh.value = Math.ceil(document.config_list._refresh.value/60);
						}
					||endif||
				//-->
				</script>
			</td>
		</tr>
		<tr>
			<td align="right">||lang_str||Number of Emails per page||</td>
			<td><input type="text" size="10" maxlength="256" name="_max_message_display" value="||_max_message_display||" /></td>
		</tr>
		<tr>
			<td align="right">||lang_str||Don't display preview panel||</td>
			<td>				
				<input class="clear" type="checkbox" name="_nopreview" value="checked" ||ifnempty||_nopreview||checked="checked"||endif|| />
			</td>
		</tr>
		<tr>
			<td align="right">||lang_str||Single forwarded message, send note with attachment||</td>
			<td>
				<input class="clear" type="checkbox" name="_one_fwd" value="checked" ||ifnempty||_one_fwd||checked="checked"||endif|| />
			</td>
		</tr>

		</table>
	</td></tr>
	</table>
	</td>
</tr>
</table>

</td></tr>
</form>
<tr><td>

<form method="post" action="||action||" name="config_message" target="xhiddencmd">
	<input type="hidden" name="cmd" value="setview" />
	<input type="hidden" name="page" value="blank" />
	<input type="hidden" name="utoken" value="||utoken||" />

	<input type="hidden" name="msg" value="Settings Saved" />

<table width="100%" cellspacing="2">
<tr>
	<td align="center">
	<table border="1" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF" width="100%">
	<tr>
		<td bgcolor="||color_menu||" colspan="2">
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr>	
				<th width="100%">||lang_str||Message Display||</th>
				<td align="right"><a href="javascript:document.config_message.submit()"><img border="0" src="||nwimg||/msg_save.gif" alt="Set Template Set" /></a></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr><td>
		<table cellpadding="2" cellspacing="0" width="100%">
		<tr>
			<td colspan="2">
				||lang_str||Open next message when deleting||:
				<input type="hidden" name="remove_setting" value="_del_open_next" />
				<input class="clear" type="checkbox" name="_del_open_next" value="on" ||ifnempty||_del_open_next||checked="checked"||endif|| />
			</td>
		</tr>
		<tr>
			<td colspan="2">
				||lang_str||Email display options||:
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<table>
				<tr>
					<td><input class="clear" type="checkbox" name="v_raw" value="on" ||ifnempty||v_raw||checked="checked"||endif|| /><em>||lang_str||Raw||</em></td>
					<td><input class="clear" type="checkbox" name="v_headers" value="on" ||ifnempty||v_headers||checked="checked"||endif|| /><em>||lang_str||Headers||</em></td>
				</tr>
				<tr>
					<td><input class="clear" type="checkbox" name="v_font" value="on" ||ifnempty||v_font||checked="checked"||endif|| /><em>||lang_str||Variable width font||</em></td>
					<td><input class="clear" type="checkbox" name="v_inline" value="on" ||ifnempty||v_inline||checked="checked"||endif|| /><em>||lang_str||Inline Images||</em></td>
				</tr>
				</table>
			</td>
		</tr>
		</table>
	</td></tr>
	</table>

	</td>
</tr>
</table>

</td></tr>
</form>
<tr><td>

<form name="config_form" method="post" action="||action||" target="xhiddencmd">
	<input type="hidden" name="cmd" value="show" />
	<input type="hidden" name="page" value="blank" />

	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="msg" value="Settings Saved" />

<table width="100%" cellspacing="2">
<tr>
	<td align="center">
	<table border="1" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF" width="100%">
	<tr>
		<td bgcolor="||color_menu||" colspan="2">
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr>	
				<th width="100%">||lang_str||Sending Messages||</th>
				<td align="right"><a href="javascript:document.config_form.submit()"><img border="0" src="||nwimg||/msg_save.gif" alt="Set Template Set" /></a></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr><td>
		<table cellpadding="2" cellspacing="0" width="100%">
		<tr>
			<td align="right" width="40%" valign="top">||lang_str||Language||:</td>
			<td>	
				<select name="_language">
				||begin_language||
					<option value="||lang_name||" ||ifequal||_language||lang_name||selected="selected"||endif||>||lang||lang_name||</option>
				||end_language||
				</select>
			</td>
		</tr>
		<tr>
			<td align="right" width="40%" valign="top">||lang_str||Keep Copies||:</td>
			<td>
				<select name="_keep_copies" size="1">
					<option value="on" ||ifequal||_keep_copies||on||selected="selected"||endif||>||lang_str||Defaults to On||</option>
					<option value="off" ||ifequal||_keep_copies||off||selected="selected"||endif||>||lang_str||Defaults to Off||</option>
					<option value="sticky" ||ifequal||_keep_copies||sticky||selected="selected"||endif||>||lang_str||Sticky||</option>
				</select>
			</td>
		</tr>
<!--		<tr>
			<td align="right" width="40%" valign="top">||lang_str||Delete Draft||:</td>
			<td>
				<select name="_sticky_del_draft" size="1">
					<option value="off" ||ifequal||_sticky_del_draft||off||selected="selected"||endif||>||lang_str||Defaults to Off||</option>
					<option value="on" ||ifequal||_sticky_del_draft||on||selected="selected"||endif||>||lang_str||Defaults to On||</option>
					<option value="sticky" ||ifequal||_sticky_del_draft||sticky||selected="selected"||endif||>||lang_str||Sticky||</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align="right" width="40%" valign="top">||lang_str||Move Original Message To||:</td>
			<td>
				<select name="_move_original" size="1">
					<option ||ifndef||_move_original|| selected="selected"||else|| ||ifequal||_move_original||mynone||selected="selected"||endif|| ||endif||>||lang_str||(none)||</option>
					<option ||ifequal||_move_original||mysticky||selected="selected"||endif||>||lang_str||(sticky)||</option>
					||begin_xfld_short||
						<option ||ifequal||_move_original||fld_name||selected="selected"||endif||>||html_text||fld_name||</option>
					||end_xfld_short||
				</select>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				||lang_str||These settings allow you to set default values when creating a new message||.<br />
				||lang_str||'Sticky' means whatever setting you last used when sending a message will be the default next time||.
			</td>
		</tr>
-->		</table>
	</td></tr>
	</table>
	</td>
</tr>
</table>

</td></tr>
</form>
</table>

<script type="text/javascript">
<!--
function testRefresh(){
	if(!isNaN(parseInt(document.config_list.min_refresh.value))){
		document.config_list.min_refresh.value = parseInt(document.config_list.min_refresh.value);
		if(document.config_list.min_refresh.value <= 0){
			document.config_list.min_refresh.value = "";
			document.config_list._refresh.value = "";
			return;
		}
		document.config_list._refresh.value = document.config_list.min_refresh.value*60;
	}
	if(document.config_list.min_refresh.value == ""){
		document.config_list.min_refresh.value = "";
		document.config_list._refresh.value = "";
	}
}
//-->
</script>
