Subversion Repositories ALCASAR

Rev

Rev 733 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 733 Rev 737
Line 9... Line 9...
9
# The contents of this file may be used under the terms of the GNU
9
# The contents of this file may be used under the terms of the GNU
10
# General Public License Version 2, provided that the above copyright
10
# General Public License Version 2, provided that the above copyright
11
# notice and this permission notice is included in all copies or
11
# notice and this permission notice is included in all copies or
12
# substantial portions of the software.
12
# substantial portions of the software.
13
 
13
 
14
$organisme = "";
14
$organisme = "etrs-ssic";
15
# Redirects from CoovaChilli (chilli daemon) :
15
# Redirects from CoovaChilli (chilli daemon) :
16
# Response to login:
16
# Response to login:
17
  # success :	if login successful
17
  # success :	if login successful
18
  # failed :	if login failed
18
  # failed :	if login failed
19
  # logoff :	if logout successful
19
  # logoff :	if logout successful
20
  # already :	if tried to login while already logged in
20
  # already :	if tried to login while already logged in
21
  # notyet :	if not logged in yet
21
  # notyet :	if not logged in yet
22
  # Default :	it was not a form request -> client go to login form
22
  # Default :	it was not a form request -> client go to login form
23
 
23
 
24
# Shared secret used to encrypt challenge with radius.
24
# Shared secret used to encrypt challenge with radius.
25
$uamsecret = "";
25
$uamsecret = "E4tJqG9I";
26
 
26
 
27
# URL loaded after success authenticates (let blank for browser defaults)
27
# URL loaded after success authenticates (let blank for browser defaults)
28
$adminurl = "";
28
$adminurl = "";
29
 
29
 
30
# Our own path
30
# Our own path
Line 315... Line 315...
315
	var mytimeleft = 0; // not un use
315
	var mytimeleft = 0; // not un use
316
	alcasar_popup = null;
316
	alcasar_popup = null;
317
 
317
 
318
    function popUp(URL) {
318
    function popUp(URL) {
319
      if (self.name != \"alcasar_popup\") {
319
      if (self.name != \"alcasar_popup\") {
320
        alcasar_popup = window.open(URL, 'alcasar_popup', 'width=500,height=400,directories=no,resizable=no,scrollbars=yes,location=no,toolbar=no,statusbar=no,menubar=no');
320
        alcasar_popup = window.open(URL, 'alcasar_popup', 'width=500,height=460,directories=no,resizable=no,scrollbars=yes,location=no,toolbar=no,statusbar=no,menubar=no');
321
      }
321
      }
322
    }
322
    }
323
 
323
 
324
    function doOnLoad(result, userurl, redirurl, adminurl, timeleft) {
324
    function doOnLoad(result, userurl, redirurl, adminurl, timeleft) {
325
	    if (timeleft) { // not in use
325
	    if (timeleft) { // not in use