OSDN Git Service

Ver1.5.21 Added message to avoid popup blocking in httpkeep page.
[opengate/opengate.git] / opengate / javahtml / en / httpkeep.html
index 8fe9c14..745e82c 100644 (file)
@@ -1,29 +1,62 @@
 <html>
 <head>
+<link rel="shortcut icon" href="http://%%OPENGATESERVERNAME%%%%OPENGATEDIR%%/favicon.ico" type="image/x-icon">
+<link rel="icon" href="http://%%OPENGATESERVERNAME%%%%OPENGATEDIR%%/favicon.ico" type="image/x-icon">
 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
 <title>Http Keep-Alive</title>
 
-<script type="text/JavaScript" src="http://opengate.og.saga-u.ac.jp/opengate/httpkeep.js"></script>
+<script type="text/JavaScript" src="%%HTTPKEEPJSURL%%"></script>
+<script type="text/JavaScript" src="%%MD5JSURL%%"></script>
 
 </head>
 
-<body>
+<body onunload="endHttpkeep();">
 
 
 <p>You can use the network.</p>
-<p>When you finish to use the network, stop your WEB browser. 
+<p>When you'd like to finish using the network, close your WEB browser. 
 You will be disconnected from the network automatically.</p>
 
 <noscript>
 <p><b>JavaScript is disabled. Change it.</b></p>
 </noscript>
 
+<p>
+<TABLE cellSpacing=0 cellPadding=10 
+align=center bgColor=lightyellow border=1>
+<TR><TD>
+<b>
+<P align=center>
+If you use this window for browsing or close this page, 
+the network will be closed.<p>
+
+<P align=center>
+Click below button to create a new window for browsing.</p>
+
+<FORM onclick='window.open("%%STARTURL%%")'>
+<div align=center><INPUT TYPE="button" VALUE="  Portal Site >  "><br>
+( If click does not work, try ctrl+click or shift+click )
+</div>
+</FORM>
+
+<noscript>
+<p align=center><a href="%%STARTURL%%" target=_blank>Portal Site&gt;</a></p>
+</noscript>
+
+<P align=center>
+Or, minimize this page and load other network programs.</p>
+</b>
+</TD></TR>
+</TABLE>
+</p>
+
 <hr />
 <p>
 <div id="watchdog" align="center">
 <table width="60%" bgcolor="yellow" >
 <tr>
-<td align='center'>Authenticated for networt use </td>
+<td align='center'>Authenticated for network use </td>
 <td align='center'>User name %%USERID%%</td>
 <td align='center'>Confirmation </td>
 <td align='center'><div id="dispmsg">Starting...</div> </td>
@@ -34,40 +67,22 @@ You will be disconnected from the network automatically.</p>
 <hr />
 
 
-<p>If yellow bar is not displayed between above two lines 
-or other malfunction is occured, 
-click <a href="%%TERMINATEURL%%"><b>TERMINATE</b></a>, 
- close your browser, and try to select other watch mode
- in authentication page.</p>
-
-<table bgcolor="lightyellow" border="1">
-<tr><td>
-<b>Please keep this window as it is or in minimized mode. </b>
-Start other browsers or other programs for network usage. 
-Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
- to start browsing 
-(In some browsers, 
-it is needed to push SHIFT or CTRL key to open new window. 
-The window may be popped up automatically, if it is
-permited in the browser setting).
-</td></tr>
-</table>
+<p>If [Error] is shown between above two lines or 
+other malfunction has occured, please use another page.  
+Should your browser display any abnormal behavior, 
+please close it and try again. 
+If you enter a value in duration field of authentication page, 
+the network can be used for that duration of time.</p>
 
 <script type="text/JavaScript">
 //<!--
-  window.open("%%STARTURL%%","window1");
-
-  applet  =' <applet code="Opengate.class" archive="Opengate.jar" ';
-  applet +='  codebase="%%OPENGATEDIR%%" width="600" height="30" > ';
-  applet +='  <param name=port value="%%OPENGATEPORT%%"> ';
-  applet +='  <param name=user value="%%USERID%%"> ';
-  applet +='  <param name=sessionid value="%%SESSIONID%%"> ';
-  applet +='  <param name=lang value="%%LANGUAGE%%"> ';
-  applet +=' </applet> ';
+  window.open("%%STARTURL%%");
 
-  initHttpkeep(%%HTTPHELLOINTERVAL%%,"%%HTTPHELLOURL%%",applet);
+  initHttpkeep("%%HTTPHELLOURL%%","%%SESSIONID%%","%%COOKIENAME%%");
 //-->
 </script>
 
+<div id="debug">
+
 </body>
 </html>