WFS709TP ProSafe Smart Wireless Switch Software Administration Manual

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;

Internal Captive Portal

C-9

v1.0, June 2007

Page 209
Image 209
NETGEAR WFS709TP-100NAS manual Div id=errorbox style=display none