Changeset 26667 for extensions


Ignore:
Timestamp:
Jan 12, 2014, 9:08:58 PM (10 years ago)
Author:
mistic100
Message:

fix display of icon on users list

Location:
extensions/oAuth
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/oAuth/include/admin_events.inc.php

    r26619 r26667  
    2929    {
    3030      list($provider) = explode('---', $user[$oauth_col], 2);
    31     }
    32     else
    33     {
    34       $provider = '';
     31      $user[$username_col] = '<span class="oauth_16px '.strtolower($provider).'" title="'. $hybridauth_conf['providers'][$provider]['name'] .'"></span>
     32' . $user[$username_col];
    3533    }
    3634   
    37     $user[$username_col] = '<span class="oauth_16px '.strtolower($provider).'" title="'. @$hybridauth_conf['providers'][$provider]['name'] .'"></span>
    38 ' . $user[$username_col];
    3935    unset($user[$oauth_col]);
    4036  }
  • extensions/oAuth/main.inc.php

    r26666 r26667  
    2525include_once(OAUTH_PATH . 'include/functions.inc.php');
    2626
    27 if (file_exists(PHPWG_ROOT_PATH.OAUTH_CONFIG))
    28 {
    29   load_hybridauth_conf();
    30 }
     27load_hybridauth_conf();
    3128
    3229
Note: See TracChangeset for help on using the changeset viewer.