www.usr.com/support/gpl/USR9107_release.1.4.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / html / wlmacflt.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--
3         (c) 2005 U.S. Robotics Corporation
4 -->
5 <html>
6 <head>
7         <title></title>
8
9         <link href="usr_main.css" rel="stylesheet" type="text/css">
10         <link href="usr_menus.css" rel="stylesheet" type="text/css"><script src="usr_menus.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
11         <script src="usr_common.js" type="text/javascript"></script>
12
13         <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
14
15         <script type="text/javascript" src="util.js"></script>
16         <script type="text/javascript">
17 <!-- hide
18
19 setPageTitle("<%ejGetWlJS(wlInterface)%>");
20
21 function btnApply() {
22    var loc = 'wlmacflt.cmd?action=add';
23    var enbl = '<%ejGetWlJS(wlEnbl)%>';
24
25    if ( enbl == '0' ) {
26       alert('Cannot apply the change since wireless is currently disabled.');
27       return;
28    }
29    
30    with ( document.forms[0] ) {
31       if ( isValidMacAddress(wlFltMacAddr.value) == false ) {
32          msg = 'MAC address "' + wlFltMacAddr.value + '" is invalid. Please, use the following format: "00:11:22:33:44:55"';
33          alert(msg);
34          return;
35       }
36
37       loc += '&wlFltMacAddr=' + wlFltMacAddr.value;
38    }
39
40    var code = 'location = "' + loc + '"';
41    eval(code);
42 }
43
44 // done hiding -->
45 </script>
46    </head>
47    <body onload="initMenu();">
48
49 <script type="text/javascript">
50         writeHeader("Security", "<%ejGetJS(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWlJS(wlInterface)%>", <%ejGetJS(enblQos)%>);
51 </script>
52
53 <h3>MAC Filter</h3>
54
55         <p>Enter the MAC address and press <b>Apply</b> to add the MAC address to the wireless 
56         MAC address filters.</p>
57
58 <form onSubmit='return false'>
59         <p><label for="">MAC address:</label> <input type='text' name='wlFltMacAddr' maxlength='17' id='wlFltMacAddr'></p>
60         <p><input type='button' onClick='btnApply()' value='Apply'></p>
61 </form>
62
63 <script type="text/javascript">
64         writeFooter();
65 </script>
66
67 </body>
68 </html>