Ignore:
Timestamp:
07/31/08 09:48:00 (4 years ago)
Author:
hverton
Message:

Make sure that all login possibilities are visible by default (user can hide unwanted ones), made the OpenID link point to the national wikipedia page (based on locale code)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_info_panel/user_info_panel.php

    r1559 r1561  
    7474$variables['auth_state'] = array(); 
    7575foreach($variables['auth_methods'] as $key => $method) { 
    76     $variables['auth_state'][] = isset($_SESSION['box_login'.$key]) && $_SESSION['box_login'.$key] == 0; 
     76    if (isset($_SESSION['box_login'.$key])) { 
     77        $variables['auth_state'][] = $_SESSION['box_login'.$key] == 0 ? 1 : 0; 
     78    } else { 
     79        $variables['auth_state'][] = 1; 
     80    } 
    7781} 
    7882 
Note: See TracChangeset for help on using the changeset viewer.