Subversion Repositories ALCASAR

Rev

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

Rev 318 Rev 340
Line 8... Line 8...
8
# The contents of this file may be used under the terms of the GNU
8
# The contents of this file may be used under the terms of the GNU
9
# General Public License Version 2, provided that the above copyright
9
# General Public License Version 2, provided that the above copyright
10
# notice and this permission notice is included in all copies or
10
# notice and this permission notice is included in all copies or
11
# substantial portions of the software.
11
# substantial portions of the software.
12
 
12
 
13
$organisme = "etrs-ssic";
13
$organisme = "rexy";
14
# Redirects from CoovaChilli (chilli daemon) :
14
# Redirects from CoovaChilli (chilli daemon) :
15
# Response to login:
15
# Response to login:
16
  # success :	if login successful
16
  # success :	if login successful
17
  # failed :	if login failed
17
  # failed :	if login failed
18
  # logoff :	if logout successful
18
  # logoff :	if logout successful
Line 23... Line 23...
23
  # popup2 :	if requested a success pop up window
23
  # popup2 :	if requested a success pop up window
24
  # popup3 :	if requested a logout pop up window
24
  # popup3 :	if requested a logout pop up window
25
  # Default :	it was not a form request
25
  # Default :	it was not a form request
26
 
26
 
27
# Shared secret used to encrypt challenge with radius.
27
# Shared secret used to encrypt challenge with radius.
28
$uamsecret = "UoDkYv7b";
28
$uamsecret = "CkWpFL3f";
29
 
29
 
30
# URL loaded after success authenticates (let blank for browser defaults)
30
# URL loaded after success authenticates (let blank for browser defaults)
31
$adminurl = "";
31
$adminurl = "";
32
 
32
 
33
# Our own path
33
# Our own path
Line 478... Line 478...
478
  <input type=\"hidden\" name=\"uamport\" value=\"$uamport\">
478
  <input type=\"hidden\" name=\"uamport\" value=\"$uamport\">
479
  <input type=\"hidden\" name=\"userurl\" value=\"$userurl\">
479
  <input type=\"hidden\" name=\"userurl\" value=\"$userurl\">
480
  <center>
480
  <center>
481
  <table border=\"0\" cellpadding=\"5\" cellspacing=\"0\" width=\"100%\">
481
  <table border=\"0\" cellpadding=\"5\" cellspacing=\"0\" width=\"100%\">
482
    <tr>
482
    <tr>
483
      <td rowspan=\"2\" align=\"right\" width=\"25%\" ><img src=\"/images/organisme.png\" width=\"90\"></td>
483
      <td rowspan=\"4\" align=\"center\" width=\"25%\" ><img src=\"/images/logo-alcasar.png\"></td>
484
      <td width=\"50%\" align=\"center\"> &nbsp;&nbsp;&nbsp;&nbsp;$R_user&nbsp;<input STYLE=\"font-family: Arial\" type=\"text\" name=\"UserName\" size=\"20\" maxlength=\"32\"></td>
484
      <td width=\"50%\" align=\"center\"> &nbsp;&nbsp;&nbsp;&nbsp;$R_user&nbsp;<input STYLE=\"font-family: Arial\" type=\"text\" name=\"UserName\" size=\"20\" maxlength=\"32\"></td>
485
      <td rowspan=\"2\" align=\"left\" width=\"25%\"><img src=\"/images/logo-alcasar.gif\" width=\"90\"></td>
485
      <td rowspan=\"4\" align=\"center\" width=\"25%\"><img src=\"/images/organisme.png\"></td>
486
    </tr><tr>
486
    </tr><tr>
487
      <td width=\"50%\" align=\"center\">$R_password&nbsp;<input STYLE=\"font-family: Arial\" type=\"password\" name=\"Password\" size=\"20\" maxlength=\"32\"></td>
487
      <td width=\"50%\" align=\"center\">$R_password&nbsp;<input STYLE=\"font-family: Arial\" type=\"password\" name=\"Password\" size=\"20\" maxlength=\"32\"></td>
488
    </tr><tr>
488
    </tr><tr>
489
      <td align=\"center\" colspan=\"4\" height=\"23\"><input type=\"submit\" name=\"button\" value=\"$R_boutonO\" onClick=\"javascript:popUp('$loginpath?res=popup1&uamip=$uamip&uamport=$uamport')\"></td>
489
      <td width=\"50%\" align=\"center\" height=\"23\"><input type=\"submit\" name=\"button\" value=\"$R_boutonO\" onClick=\"javascript:popUp('$loginpath?res=popup1&uamip=$uamip&uamport=$uamport')\"></td>
490
    </tr>
490
    </tr><tr>
491
    <tr>
-
 
492
      <td align=\"center\" colspan=\"4\"><H6><a href=\"https://$uamip/pass/\">$R_passwordchg</H6></td>
491
      <td width=\"50%\" align=\"center\"><H6><a href=\"https://$uamip/pass/\">$R_passwordchg</H6></td>
493
    </tr>
492
    </tr><tr>
494
    <tr>
-
 
495
      <td align=\"center\" colspan=\"4\"><font color=\"red\"><b>$R_loggedin_stringl0</b></td>
493
      <td align=\"center\" colspan=\"4\"><font color=\"red\"><b>$R_loggedin_stringl0</b></td>
496
    </tr><tr>
494
    </tr><tr>
497
      <td align=\"left\" colspan=\"4\"><b></td>
495
      <td align=\"left\" colspan=\"4\"><b></td>
498
    </tr><tr>
496
    </tr><tr>
499
      <td align=\"center\" colspan=\"4\"><font color=\"black\"><b>$R_loggedin_stringl1</b></font></td>
497
      <td align=\"center\" colspan=\"4\"><font color=\"black\"><b>$R_loggedin_stringl1</b></font></td>
Line 521... Line 519...
521
if ($result == 1) {
519
if ($result == 1) {
522
  echo "
520
  echo "
523
  <table>
521
  <table>
524
  <tr>
522
  <tr>
525
  <td>
523
  <td>
526
  <img src=\"/images/logo-alcasar.gif\">
524
  <img height=\"150\" src=\"/images/logo-alcasar.png\">
527
  </td>
525
  </td>
528
  <td>
526
  <td>
529
  <h2 style=\"text-align: center;\">$R_login</h2>
527
  <h2 style=\"text-align: center;\">$R_login</h2>
530
  </td>
528
  </td>
531
  </tr>";
529
  </tr>";
Line 544... Line 542...
544
if (($result == 4) || ($result == 12)) {
542
if (($result == 4) || ($result == 12)) {
545
  echo "
543
  echo "
546
  <table>
544
  <table>
547
  <tr>
545
  <tr>
548
  <td>
546
  <td>
549
  <img src=\"/images/logo-alcasar.gif\">
547
  <img height=\"150\" src=\"/images/logo-alcasar.png\">
550
  </td>
548
  </td>
551
  <td>
549
  <td>
552
  <h2 style=\"text-align: center;\">$R_login</h2>
550
  <h2 style=\"text-align: center;\">$R_login</h2>
553
  </td>
551
  </td>
554
  </tr>
552
  </tr>