diff options
| author | spiderr <spiderr@bitweaver.org> | 2022-07-31 13:57:50 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2022-07-31 13:57:50 -0400 |
| commit | 234d8073dc607c3726af8ac21ba1c70f73d5b0f7 (patch) | |
| tree | 09cb2b7e7b02ee16f07dd076c787bbbd371b46fb /includes | |
| parent | fe81f9394953662a811ed148c0161dc8af8b443b (diff) | |
| download | users-234d8073dc607c3726af8ac21ba1c70f73d5b0f7.tar.gz users-234d8073dc607c3726af8ac21ba1c70f73d5b0f7.tar.bz2 users-234d8073dc607c3726af8ac21ba1c70f73d5b0f7.zip | |
migrate from font-awesome 3.2.1 icon- to 6.1.2 fa-
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/classes/BitHybridAuthManager.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/includes/classes/BitHybridAuthManager.php b/includes/classes/BitHybridAuthManager.php index 94cf88b..61bdfc5 100644 --- a/includes/classes/BitHybridAuthManager.php +++ b/includes/classes/BitHybridAuthManager.php @@ -184,7 +184,7 @@ class BitHybridAuthManager extends BitSingleton { } private function getProviderIcon( $pProvider ) { - $ret = 'icon-user'; + $ret = 'fa-user'; $allProviders = $this->getAllProviders(); if( !empty( $allProviders[$pProvider]['icon'] ) ) { $ret = $allProviders[$pProvider]['icon']; @@ -227,18 +227,18 @@ class BitHybridAuthManager extends BitSingleton { public function getAllProviders() { return array ( - 'google' => array( 'provider' => 'Google', 'icon' => 'icon-google-plus-sign', 'image' => USERS_PKG_URL.'hauth/images/google.png', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'amazon' => array( 'provider' => 'Amazon', 'icon' => 'icon-user', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'aol' => array( 'provider' => 'AOL', 'icon' => 'icon-user', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'facebook' => array( 'provider' => 'Facebook', 'icon' => 'icon-facebook-sign', 'keys' => array( 'id'=>'', 'secret'=> '' ), 'options' => array( 'scope'=>'Comma separated list of requested permissions. Default are: email, user_about_me, user_birthday, user_hometown, user_location, user_website, publish_actions, read_custom_friendlists' ) ), - 'foursquare' => array( 'provider' => 'Foursquare', 'icon' => 'icon-foursquare', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'instagram' => array( 'provider' => 'Instagram', 'icon' => 'icon-instagram', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'linkedin' => array( 'provider' => 'LinkedIn', 'icon' => 'icon-linkedin', 'keys' => array( 'key'=>'', 'secret'=> '' ) ), - 'live' => array( 'provider' => 'Live', 'icon' => 'icon-windows', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'openid' => array( 'provider' => 'OpenID', 'icon' => 'icon-user', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'paypal' => array( 'provider' => 'Paypal', 'icon' => 'icon-user', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), - 'twitter' => array( 'provider' => 'Twitter', 'icon' => 'icon-twitter', 'keys' => array( 'key'=>'', 'secret'=> '' ) ), - 'yahoo' => array( 'provider' => 'Yahoo', 'icon' => 'icon-user', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'google' => array( 'provider' => 'Google', 'icon' => ' fab fa-google', 'image' => USERS_PKG_URL.'hauth/images/google.png', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'amazon' => array( 'provider' => 'Amazon', 'icon' => ' fab fa-amazon', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'aol' => array( 'provider' => 'AOL', 'icon' => ' fa fa-user', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'facebook' => array( 'provider' => 'Facebook', 'icon' => ' fab fa-facebook', 'keys' => array( 'id'=>'', 'secret'=> '' ), 'options' => array( 'scope'=>'Comma separated list of requested permissions. Default are: email, user_about_me, user_birthday, user_hometown, user_location, user_website, publish_actions, read_custom_friendlists' ) ), + 'foursquare' => array( 'provider' => 'Foursquare', 'icon' => ' fab fa-foursquare', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'instagram' => array( 'provider' => 'Instagram', 'icon' => ' fab fa-instagram', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'linkedin' => array( 'provider' => 'LinkedIn', 'icon' => ' fab fa-linkedin', 'keys' => array( 'key'=>'', 'secret'=> '' ) ), + 'live' => array( 'provider' => 'Live', 'icon' => ' fab fa-windows', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'openid' => array( 'provider' => 'OpenID', 'icon' => ' fab fa-openid', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'paypal' => array( 'provider' => 'Paypal', 'icon' => ' fab fa-paypal', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), + 'twitter' => array( 'provider' => 'Twitter', 'icon' => ' fab fa-twitter', 'keys' => array( 'key'=>'', 'secret'=> '' ) ), + 'yahoo' => array( 'provider' => 'Yahoo', 'icon' => ' fab fa-yahoo', 'keys' => array( 'id'=>'', 'secret'=> '' ) ), ); } |
