-->
<html>
<head>
- <title></title>
+ <title>Connection Type</title>
- <link href="usr_main.css" rel="stylesheet" type="text/css">
- <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>
+ <link href="usr_layout.css" type="text/css" rel="stylesheet" /><script src="usr_layout.js" type="text/javascript"></script>
+ <link href="usr_menus_dropdown.css" rel="stylesheet" type="text/css"><script src="usr_menus_dropdown.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
+ <link href="usr_device.css" type="text/css" rel="stylesheet" /><script src="usr_device.js" type="text/javascript"></script><link href="usr_91xx.css" type="text/css" rel="stylesheet" /><script src="usr_91xx.js" type="text/javascript"></script><script src="usr_resources.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("<%ejGetWlJS(wlInterface)%>");
+
var qs = '<%ejGetJS(quickSetup)%>';
var prtcl = '<%ejGetOther(memInfo, ntwkPrtcl)%>';
ntwkPrtcl[0].checked = true;
else
ntwkPrtcl[1].checked = true;
+/* Code commented to hide multiple protocols MER and PPPoE over single PVC
} else if ( existedProtocol == 'MER' ) {
// if MER exists in this PVC and MER is editting then
// allow PPPoE or MER to be added
else
// if MER exists and PPPoE is editting then only allow PPPoE to be added
ntwkPrtcl.checked = true; // only one radio btn so no subscript
+*/
} else if ( existedProtocol == 'PPPoE' ) {
+/* Code commented to hide multiple protocols MER and PPPoE over single PVC
// if (PPPoE is existed then only allow PPPoE or MER to be added
if ( prtcl == 'MER' )
ntwkPrtcl[1].checked = true;
else
- ntwkPrtcl[0].checked = true;
+*/
+ ntwkPrtcl.checked = true;
} else {
// otherwise no restriction
if ( prtcl == 'PPPoA' )
loc = 'wancfg.cgi?ntwkPrtcl=6';
service = 'eth_' + vpi;
}
+/* Code commented to hide multiple protocols MER and PPPoE over single PVC
} else if ( existedProtocol == 'MER' ) {
// if MER exists in this PVC and MER is editting then
// allow PPPoE or MER to be added
loc = 'pppoe.cgi?ntwkPrtcl=0';
service = 'pppoe_' + vpi + '_' + vci + '_' + conId;
}
+*/
} else if ( existedProtocol == 'PPPoE' ) {
- // if PPPoE is existed then only allow PPPoE or MER to be added
- if ( isChecked(ntwkPrtcl[0]) ) {
+ // if PPPoE is existed then only allow PPPoE to be added
+ // if ( isChecked(ntwkPrtcl[0]) ) {
loc = 'pppoe.cgi?ntwkPrtcl=0';
service = 'pppoe_' + vpi + '_' + vci + '_' + conId;
- }
+ // }
+/* Code commented to hide multiple protocols MER and PPPoE over single PVC
else if ( isChecked(ntwkPrtcl[1]) ) {
loc = 'wancfg.cgi?ntwkPrtcl=2';
service = 'mer_' + vpi + '_' + vci;
}
+*/
} else {
// otherwise no restriction
if ( isChecked(ntwkPrtcl[0]) ) {
else
loc += '&serviceName=' + encodeUrl(srvname);
- var code = 'location = "' + loc + '"';
+ var code = 'location="' + loc + '"';
eval(code);
}
function btnBack() {
if (qs == 0)
- var code = 'location = "' + 'pvccfg.html' + '"';
+ var code = 'location="' + 'pvccfg.html' + '"';
else
- var code = 'location = "' + 'vpivci.html' + '"';
+ var code = 'location="' + 'vpivci.html' + '"';
eval(code);
}
document.writeln("<input type='radio' name='ntwkPrtcl' id='idPPPoE' onClick='prtClick()'> <label for='idPPPoE'>PPP over Ethernet (PPPoE)</label><br/>");
document.writeln("<input type='radio' name='ntwkPrtcl' id='idIPcxn' onClick='prtClick()'> <label for='idIPcxn'>IP Connection</label><br/>");
}
+/* Code commented to hide multiple protocols MER & PPPoE over single PVC
else if ( existedProtocol == 'MER' )
{
// if MER is existed in this PVC and MER is editing then allow PPPoE or MER to be added
else // if MER exists in this PVC and PPPoE is editting then only allow PPPoE to be added
document.writeln("<input type='radio' name='ntwkPrtcl' id='idPPPoE' onClick='prtClick()'> <label for='idPPPoE'>PPP over Ethernet (PPPoE)</label><br/>");
}
+*/
else if ( existedProtocol == 'PPPoE' )
{
// if PPPoE is existed in this PVC then only allow PPPoE or MER to be added
document.writeln("<input type='radio' name='ntwkPrtcl' id='idPPPoE' onClick='prtClick()'> <label for='idPPPoE'>PPP over Ethernet (PPPoE)</label><br/>");
+/* Code commented to hide multiple protocols MER & PPPoE over single PVC
document.writeln("<input type='radio' name='ntwkPrtcl' id='idMER' onClick='prtClick()'> <label for='idMER'>MAC Encapsulation Routing (MER)</label><br/>");
+*/
}
else // otherwise no restriction
{