/[drupal]/contributions/modules/hotspot/hotspot.pages.inc
ViewVC logotype

Diff of /contributions/modules/hotspot/hotspot.pages.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.6, Fri Jul 31 19:34:48 2009 UTC revision 1.4.2.7, Wed Aug 19 17:16:46 2009 UTC
# Line 13  function hotspot_render($tid = 0) { Line 13  function hotspot_render($tid = 0) {
13    if (isset($_REQUEST['uamip']) && isset($_REQUEST['uamport'])) {    if (isset($_REQUEST['uamip']) && isset($_REQUEST['uamport'])) {
14    
15      $_SESSION['hotspot'] = 'true';      $_SESSION['hotspot'] = 'true';
16        $_SESSION['controller'] = 'chilli';
17    
18      $_SESSION['uamqs'] = $_SERVER['QUERY_STRING'];      $_SESSION['uamqs'] = $_SERVER['QUERY_STRING'];
19      $_SESSION['logouturl'] = "http://".$_REQUEST['uamip'].":".$_REQUEST['uamport']."/logout";      $_SESSION['logouturl'] = "http://".$_REQUEST['uamip'].":".$_REQUEST['uamport']."/logout";
# Line 98  function hotspot_render($tid = 0) { Line 99  function hotspot_render($tid = 0) {
99    
100    if ($username) {    if ($username) {
101    
102      if (!$password)      if (!$password) {
103        $password = hotspot_get_password($_REQUEST);        $password = hotspot_get_password($_REQUEST);
104        }
105    
106      $url = hotspot_login_url($username, $password);      $url = hotspot_login_url($username, $password);
107    

Legend:
Removed from v.1.4.2.6  
changed lines
  Added in v.1.4.2.7

  ViewVC Help
Powered by ViewVC 1.1.2