<html>
||include||meta.tpl||
<head>
<link rel="stylesheet" type="text/css" href="||nwimg||||tpl_color||/surge.css" />
<script type="text/javascript">
<!--
function testRefresh(){
	if(!isNaN(parseInt(document.configform.min_refresh.value))){
		document.configform.min_refresh.value = parseInt(document.configform.min_refresh.value);
		if(document.configform.min_refresh.value <= 0){
			document.configform.min_refresh.value = "";
			document.configform._refresh.value = "";
			return;
		}
		document.configform._refresh.value = document.configform.min_refresh.value*60;
	}
	if(document.configform.min_refresh.value == ""){
		document.configform.min_refresh.value = "";
		document.configform._refresh.value = "";
	}
}
//-->
</script>
<script type="text/javascript" src="||common_files||/util.js"></script>
<script type="text/javascript" src="||nwimg||/layout.js"></script>
<title>||cust_title|| - ||lang_str||List Display Options||</title>
</head>

<body class="body" onload="doresize();" onresize="doresize()">

||include||_layout_start.tpl||

||ifdef||error||
	||include||_errorinline.tpl||
||endif||
||ifdef||msg||
	||include||_msginline.tpl||
||endif||

<form name="configform" method="post" action="||action||">
<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="utoken" value="||utoken||" />
<input type="hidden" name="page" value="config" />
<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||

<center>
<p><div class="LF b">||lang_str||List Display Settings||</div></p>
<table cellpadding="5" class="bg1">
<tr>
	<td class="c" colspan="2"><a class="LF" href="||action||?cmd=config&amp;force_connection=true&amp;utoken=||utoken||&amp;&amp;">||lang_str||Back to options||</a></td>
</tr>
<input type="hidden" name="remove_setting" value="_min_refresh,_refresh,_one_fwd,_one_digest" />
<tr>
	<td nowrap class="rt LF">||lang_str||Automatically check for new mail every||</td>
	<td class="LF">
		<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.configform.min_refresh.value = ||_min_refresh||;
			||else||
				if(document.configform._refresh.value == "" || isNaN(document.configform._refresh.value)){
					document.configform.min_refresh.value = "";
				}
				else{
					document.configform.min_refresh.value = Math.ceil(document.configform._refresh.value/60);
				}
			||endif||
		//-->
		</script>
	</td>
</tr>
<tr>
	<td class="rt LF">||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 class="rt LF">||lang_str||Send a Single forwarded message as an attachment with a note||</td>
	<td><input type="checkbox" name="_one_fwd" value="checked" ||ifnempty||_one_fwd||checked="checked"||endif|| /></td>
</tr>
<tr>
	<td class="rt LF">||lang_str||Default Forwarded emails to Digest Mode||</td>
	<td><input type="checkbox" name="_one_digest" value="checked" ||ifnempty||_one_digest||checked="checked"||endif|| /></td>
</tr>
<tr><td class="c" colspan="2"><input type="submit" class="btn" name="saveconfig_details" value="||lang_str||Save||" /></td></tr>
</table>
</center>
</form>
</body>
</html>
