Annotation of embedaddon/coova-chilli/www/coova.html, revision 1.1.1.1
1.1 misho 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2: <html><head><title>Coova</title>
3: <!-- redirecting... either by meta tag or javascript -->
4: <meta http-equiv="refresh" content="5; URL=/prelogin">
5: <script type="text/javascript" language="Javascript">
6: //<!--
7: function getURLParam(n) {
8: var s = "";
9: var href = window.location.href;
10: if (href.indexOf("?") > -1) {
11: var qs = href.substr(href.indexOf("?"));
12: var qsList = qs.split("&");
13: for (var i = 0; i < qsList.length; i++) {
14: if (qsList[i].indexOf(n + "=") > -1) {
15: var pList = qsList[i].split("=");
16: s = pList[1];
17: break;
18: }
19: }
20: }
21: return unescape(s.replace(/\+/g, " "));
22: }
23: var loginUrl = getURLParam("loginurl");
24: window.document.write("<meta http-equiv=\"refresh\" content=\"5; URL="+loginUrl+"\">");
25: function redirect() { window.location = loginUrl; return false; }
26: //-->
27: </script>
28: <meta http-equiv="refresh" content="10; URL=/prelogin">
29: </head>
30: <body style="margin: 0pt auto; height:100%;">
31: <div style="width:100%;height:80%;position:fixed;display:table;">
32: <p style="display: table-cell; line-height: 2.5em;
33: vertical-align:middle;text-align:center;color:grey;">
34: <a href="#" onclick="javascript:return redirect();">
35: <img src="coova.jpg" alt="" border="0" height="39" width="123"/></a><br>
36: <small><img src="wait.gif"/> redirecting...</small></p>
37: <br><br>
38: </div>
39: </body>
40: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>