www.usr.com/support/gpl/USR9107_release.1.4.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / html / snmpconfig.html
index 406d636..cd0d84c 100755 (executable)
@@ -7,7 +7,7 @@
        <title>Device &raquo; SNMP</title>
 
        <link href="usr_main.css" rel="stylesheet" type="text/css">
-       <script src="usr_menus.js" type="text/javascript"></script>
+       <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>
        <script src="usr_common.js" type="text/javascript"></script>
 
    <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
        <script type="text/javascript" src="util.js"></script>
        <script type="text/javascript">
 <!-- hide
-setPageTitle("<%ejGetWl(wlInterface)%>");
+setPageTitle("<%ejGetWlJS(wlInterface)%>");
 
-var state = '<%ejGet(snmpRefresh)%>';
+var state = '<%ejGetJS(snmpRefresh)%>';
 if ( state == '1' ) {
-   var code = 'location.assign("snmpconfig.cgi?snmpRefresh=0")';
+   var code = 'location = "snmpconfig.cgi?snmpRefresh=0"';
    eval(code);
 }
 
 function frmLoad() {
    with ( document.forms[0] ) {
-      status[<%ejGet(snmpStatus)%>].checked = true;
-      rocommunity.value = '<%ejGet(snmpRoCommunity)%>';
-      rwcommunity.value = '<%ejGet(snmpRwCommunity)%>';
-      sysName.value = '<%ejGet(snmpSysName)%>';
-      sysContact.value = '<%ejGet(snmpSysContact)%>';
-      sysLocation.value = '<%ejGet(snmpSysLocation)%>';
-      trapIp.value = '<%ejGet(snmpTrapIp)%>';
+      status[<%ejGetJS(snmpStatus)%>].checked = true;
+      rocommunity.value = '<%ejGetJS(snmpRoCommunity)%>';
+      rwcommunity.value = '<%ejGetJS(snmpRwCommunity)%>';
+      sysName.value = '<%ejGetJS(snmpSysName)%>';
+      sysContact.value = '<%ejGetJS(snmpSysContact)%>';
+      sysLocation.value = '<%ejGetJS(snmpSysLocation)%>';
+      trapIp.value = '<%ejGetJS(snmpTrapIp)%>';
    }
 }
 
@@ -81,17 +81,17 @@ function btnApply() {
       }
       loc += '&snmpTrapIp=' + trapIp.value;
    }
-   var code = 'location.assign("' + loc + '")';
+   var code = 'location = "' + loc + '"';
    eval(code);
 }
 
 // done hiding -->
 </script>
    </head>
-   <body onload="initMenu('idMenu'); frmLoad();">
+   <body onload="initMenu(); frmLoad();">
 
 <script type="text/javascript">
-       writeHeader("Device", "<%ejGet(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWl(wlInterface)%>", <%ejGet(enblQos)%>);
+       writeHeader("Device", "<%ejGetJS(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWlJS(wlInterface)%>", <%ejGetJS(enblQos)%>);
 </script>
 
 <h3>SNMP</h3>