d9f33f2e51b27610d02ce1c188f68dc9c1770140
[bcm963xx.git] / userapps / broadcom / cfm / html / scmacpolicy.html
1 <html>
2 <head>
3 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
4 <link rel=stylesheet href='stylemain.css' type='text/css'>
5 <link rel=stylesheet href='colors.css' type='text/css'>
6 <script language="javascript">
7 <!-- hide
8
9
10 function btnYes() {
11    var code = 'location="' + 'scmacflt.cmd?action=changemp' + '"';
12    eval(code);
13 }
14
15 function btnNo() {
16    var code = 'location="' + 'scmacflt.cmd?action=view' + '"';
17    eval(code);
18 }
19
20 // done hiding -->
21 </script>
22 </head>
23    <body>
24       <blockquote>
25          <form>
26             <b>Change MAC Filtering Global Policy</b><br><br>
27             <b><font color='red'>WARNING: Changing from one global policy to another will cause
28                   all defined rules to be REMOVED AUTOMATICALLY! You will need to create 
29                   new rules for the new policy.</font></b><br><br>
30 <script language="javascript">
31 <!-- hide 
32 {
33    var macP = '<%ejGet(macPolicy)%>';
34
35    if (macP == 0)
36       document.writeln("<b>Are you sure you want to change MAC Filtering Global Policy from <font color='green'>FORWARDED</font> to <font color='red'>BLOCKED</font> ?</b>");
37    else
38       document.writeln("<b>Are you sure you want to change MAC Filtering Global Policy from <font color='red'>BLOCKED</font> to <font color='green'>FORWARDED</font> ?</b>");
39 }
40 // done hiding -->
41 </script>
42             <br>
43             <table border="0" cellpadding="4" cellspacing="0">
44             </table>
45             <br>
46             <br>
47             <center>
48                <input type='button' onClick='btnNo()' value='NO'> <input type='button' onClick='btnYes()' value='YES'>
49             </center>
50          </form>
51       </blockquote>
52    </body>
53 </html>