Netgear WFS709TP User Manual Page 209

  • Download
  • Add to my manuals
  • Print
  • Page
    / 222
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 208
WFS709TP ProSafe Smart Wireless Switch Software Administration Manual
Internal Captive Portal C-9
v1.0, June 2007
To localize the authentication failure message, replace the following text (it is just a few
lines below the
<body> tag):
<div id="errorbox" style="display: none;">
</div>
with the script below.
You will need to translate the Authentication Failed error message into your local
language and add it into the script below where it states
localized_msg="...".
<script>
{
var q = window.location.search;
var errmsg = null;
if (q && q.length > 1) {
q = q.substring(1).split(/[=&]/);
for (var i = 0; i < q.length - 1; i += 2) {
if (q[i] == "errmsg") {
errmsg = unescape(q[i + 1]);
break;
}
}
}
if (errmsg && errmsg.length > 0) {
switch(errmsg) {
case "Authentication Failed":
localized_msg="Authentication Failed";
break;
default:
localised_msg=errmsg;
break;
Page view 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 221 222

Comments to this Manuals

No comments