1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 06:03:27 +02:00

Issue #1378 Steam support added.

Fixes #1394 Broken social-login API links .
This commit is contained in:
Cameron
2016-02-28 12:35:26 -08:00
parent b036ea8d25
commit d9bf93f115
2 changed files with 110 additions and 6 deletions

View File

@@ -188,6 +188,10 @@ class social_ui extends e_admin_ui
"keys" => array ( "key" => "", "secret" => "" )
),
*/
"Steam" => array (
"enabled" => true,
"keys" => array ( "key" => "" )
),
"Twitter" => array (
"enabled" => true,
@@ -196,11 +200,6 @@ class social_ui extends e_admin_ui
);
@@ -212,6 +211,7 @@ class social_ui extends e_admin_ui
"LinkedIn" => "https://www.linkedin.com/secure/developer",
"Foursquare" => "https://www.foursquare.com/oauth/",
"Github" => "https://github.com/settings/applications/new",
"Steam" => "http://steamcommunity.com/dev/apikey",
);
@@ -313,7 +313,7 @@ class social_ui extends e_admin_ui
foreach($this->social_logins as $prov=>$val)
{
$label = varset($this->social_external[$prov]) ? "<a class='e-tip' rel='external' title='Get a key from the provider' href='".$social_external[$prov]."'>".$prov."</a>" : $prov;
$label = varset($this->social_external[$prov]) ? "<a class='e-tip' rel='external' title='Get a key from the provider' href='".$this->social_external[$prov]."'>".$prov."</a>" : $prov;
$radio_label = strtolower($prov);
$text .= "
<tr>