OSDN Git Service

Ver1.5.21 Added message to avoid popup blocking in httpkeep page.
[opengate/opengate.git] / opengate / javahtml / en / httpkeep.html
index f3ad160..745e82c 100644 (file)
 
 </head>
 
-<body onunload="alert('[The End of Network Use]\n\nThe network is closed when the page with a yellow bar is closed.\nDo not close the page during the network use.')">
+<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>
@@ -23,12 +23,30 @@ You will be disconnected from the network automatically.</p>
 </noscript>
 
 <p>
-<TABLE borderColor=silver height="10%" cellSpacing=0 cellPadding=0 
-width="75%" align=center bgColor=lightyellow border=10>
-<TR><TD >
+<TABLE cellSpacing=0 cellPadding=10 
+align=center bgColor=lightyellow border=1>
+<TR><TD>
+<b>
 <P align=center>
-<A href="%%STARTURL%%" target=_blank><FONT size=7>Click Here to Start</FONT></A>
-</P>
+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>
@@ -38,7 +56,7 @@ width="75%" align=center bgColor=lightyellow border=10>
 <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>
@@ -49,36 +67,22 @@ width="75%" align=center bgColor=lightyellow border=10>
 <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>, 
- and close your browser.
-If authentication page is not displayed, access to other web page.</p>
-
-<p>
-<b>Keep this window 'as it is' or 'in minimized mode'. 
-Start browsers or other applications for network use. 
-Or click above 'Click Here to Start' to start browsing</b> 
-(If the page is not opened by CLICK, push SHIFT key and CLICK.
-The window can be popped up automatically, if it is
-permited in the browser setting).  
-</p>
+<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="http://%%OPENGATESERVERNAME%%%%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("%%HTTPHELLOURL%%",applet, "%%SESSIONID%%");
+  initHttpkeep("%%HTTPHELLOURL%%","%%SESSIONID%%","%%COOKIENAME%%");
 //-->
 </script>
 
+<div id="debug">
+
 </body>
 </html>