LevelOne AMG-2000 User Manual page 68

Ap management gateway
Hide thumbs Also See for AMG-2000:
Table of Contents

Advertisement

the disclaimer, and the green part can be modified freely by administrators to suit the situation better. Now the
default is set to "I disagree" with the disclaimer. Administrators can change the purple part to set "agree" as the
default or set no default. These codes should be saved in local storage with a name followed by .html, such as
login_with_disclaimer.html.
<html>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<link href="../include/style.css" rel="stylesheet" type="text/css">
<title>Login</title>
<script language="javascript1.2">
var pham = document.cookie;
var disableButton=false;
function getCookie(name)
{
return unescape(pham.substring(offset, endstr));
// return cookie value section
}
function CodeCookie(str)
{
var strRtn="";
for (var i=str.length-1;i>=0;i--)
{
name += "="; // append '=' to name string
var i = 0; // index of first name=value pair
while (i < pham.length) {
var offset = i + name.length; // end of section to compare name string
if (pham.substring(i, offset) == name) { // if string matches
var endstr = pham.indexOf(";", offset); //end of name=value pair
if (endstr == -1) endstr = pham.length;
}
i = pham.indexOf(" ", i) + 1; // move i to next name=value pair
if (i == 0) break; // no more values in cookie string
}
return null; // cookie not found
65

Advertisement

Table of Contents
loading

Table of Contents