log.asp.svn-base

来自「一个很好的无线搜索、自动连接脚本」· SVN-BASE 代码 · 共 120 行

SVN-BASE
120
字号
<% do_pagehead(); %>		<title><% nvram_get("router_name"); %> - Log</title>		<script type="text/javascript">		//<![CDATA[document.title = "<% nvram_get("router_name"); %>" + log.titl;function to_submit(F) {	F.save_button.value = sbutton.saving;	apply(F);}addEvent(window, "load", function() {	show_layer_ext(document.log.log_enable, 'idlog1', <% nvram_else_match("log_enable", "1", "1", "0"); %> == 1);	show_layer_ext(document.log.log_enable, 'idlog2', <% nvram_else_match("log_enable", "1", "1", "0"); %> == 1);});				//]]>		</script>	</head>	<body class="gui">	<% showad(); %>		<div id="wrapper">			<div id="content">				<div id="header">					<div id="logo"><h1><% show_control(); %></h1></div>					<% do_menu("Management.asp","Log.asp"); %>				</div>				<div id="main">					<div id="contents">						<form name="log" action="apply.cgi" method="<% get_http_method(); %>">							<input type="hidden" name="submit_button" value="Log" />							<input type="hidden" name="action" value="Apply" />							<input type="hidden" name="change_action" />							<input type="hidden" name="submit_type" />														<h2><% tran("log.h2"); %></h2>														<fieldset>								<legend><% tran("log.legend"); %></legend>								<div class="setting">									<div class="label">Log</div>									<input class="spaceradio" type="radio" value="1" name="log_enable" <% nvram_checked("log_enable", "1"); %> onclick="show_layer_ext(this, 'idlog1', true);show_layer_ext(this,'idlog2', true)" /><% tran("share.enable"); %>&nbsp;									<input class="spaceradio" type="radio" value="0" name="log_enable" <% nvram_checked("log_enable", "0"); %> onclick="show_layer_ext(this, 'idlog1', false);show_layer_ext(this,'idlog2', false)" /><% tran("share.disable"); %>								</div>							<div id="idlog1">								<div class="setting">									<div class="label"><% tran("log.lvl"); %></div>									<select name="log_level">										<script type="text/javascript">										//<![CDATA[										document.write("<option value=\"0\" <% nvram_selected("log_level", "0", "js"); %> >" + share.low + "</option>");										document.write("<option value=\"1\" <% nvram_selected("log_level", "1", "js"); %> >" + share.medium + "</option>");										document.write("<option value=\"2\" <% nvram_selected("log_level", "2", "js"); %> >" + share.high + "</option>");										//]]>										</script>									</select>								</div>							</div>							</fieldset><br />														<div id="idlog2">								<fieldset>									<legend><% tran("share.option"); %></legend>									<div class="setting">										<div class="label"><% tran("log.drop"); %></div>										<select name="log_dropped">											<option value="0" <% nvram_selected("log_dropped", "0"); %>>Off</option>											<option value="1" <% nvram_selected("log_dropped", "1"); %>>On</option>										</select>									</div>									<div class="setting">										<div class="label"><% tran("log.reject"); %></div>										<select name="log_rejected">											<option value="0" <% nvram_selected("log_rejected", "0"); %>>Off</option>											<option value="1" <% nvram_selected("log_rejected", "1"); %>>On</option>										</select>									</div>									<div class="setting">										<div class="label"><% tran("log.accept"); %></div>										<select name="log_accepted">											<option value="0" <% nvram_selected("log_accepted", "0"); %>>Off</option>											<option value="1" <% nvram_selected("log_accepted", "1"); %>>On</option>										</select>									</div>								</fieldset><br />								<div class="center">									<script type="text/javascript">									//<![CDATA[									document.write("<input class=\"button\" type=\"button\" name=\"log_incoming\" value=\"" + sbutton.log_in + "\" onclick=\"openWindow('Log_incoming.asp', 580, 600);\" />");									document.write("<input class=\"button\" type=\"button\" name=\"log_outgoing\" value=\"" + sbutton.log_out + "\" onclick=\"openWindow('Log_outgoing.asp', 760, 600);\" />");									//]]>									</script>								</div><br />							</div>														<div class="submitFooter">								<script type="text/javascript">								//<![CDATA[								submitFooterButton(1,1);								//]]>								</script>							</div>						</form>					</div>				</div>				<div id="helpContainer">					<div id="help">						<div><h2><% tran("share.help"); %></h2></div>						<a href="javascript:openHelpWindow<% nvram_selmatch("dist_type","micro","Ext"); %>('HLog.asp');"><% tran("share.more"); %></a>					</div>				</div>				<div id="floatKiller"></div>				<% do_statusinfo(); %>			</div>		</div>	</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?