Changeset 29087 for extensions
- Timestamp:
- Jul 27, 2014, 11:37:31 AM (10 years ago)
- Location:
- extensions/oAuth
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/admin/providers.php
r26608 r29087 20 20 (!@$PROVIDERS_CONFIG[$id]['require_client_id'] and empty($data['keys']['key'])) 21 21 ) { 22 $page['errors'][] = l10n('%s: invalid keys', $PROVIDERS_CONFIG[$id][' provider_name']);22 $page['errors'][] = l10n('%s: invalid keys', $PROVIDERS_CONFIG[$id]['name']); 23 23 } 24 24 } … … 34 34 } 35 35 36 $data['name'] = $PROVIDERS_CONFIG[$id][' provider_name'];36 $data['name'] = $PROVIDERS_CONFIG[$id]['name']; 37 37 $providers[$id] = $data; 38 38 } -
extensions/oAuth/admin/template/providers.tpl
r28863 r29087 51 51 {foreach from=$PROVIDERS item=provider key=p} 52 52 <div data-p="{$p}" class="provider {$p} {if $CONFIG[$p].enabled}enabled{else}disabled{/if}"> 53 <h4>{$provider. provider_name}</h4>53 <h4>{$provider.name}</h4> 54 54 55 55 <table><tr> … … 122 122 {elseif $p=='Live'} 123 123 <li>{'Go to <b>API Parameters</b> and set <em>%s</em> for <b>Redirect URL</b>'|translate:$WEBSITE} 124 125 {elseif $p=='Vkontakte'} 126 <li>{'Set <b>%1s</b> to <em>%2s</em>'|translate:'Category':'Website'}</li> 127 <li>{'Set <b>%1s</b> to <em>%2s</em>'|translate:'Site address':$WEBSITE}</li> 128 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Base domain</b>':$SERVERNAME}</li> 129 <li>{'Go to the <b>Settings</b> tab after creating the app'|translate}</li> 124 130 125 131 {elseif $p=='Yahoo'} -
extensions/oAuth/include/providers_stats.inc.php
r28826 r29087 2 2 3 3 return array( 4 'Facebook' => array( 5 'label' => 'Facebook', 6 'provider_name' => 'Facebook', 4 'Facebook' => array( 5 'name' => 'Facebook', 7 6 'require_client_id' => true, 8 7 'new_app_link' => 'https://developers.facebook.com/apps', 9 8 'scope' => 'email', 10 9 ), 11 'Google' => array( 12 'label' => 'Google', 13 'provider_name' => 'Google', 14 'callback' => true, 10 'Google' => array( 11 'name' => 'Google', 15 12 'require_client_id' => true, 16 13 'new_app_link' => 'https://cloud.google.com/console/project', … … 18 15 ), 19 16 'Instagram' => array( 20 'label' => 'Instagram', 21 'provider_name' => 'Instagram', 22 'callback' => true, 17 'name' => 'Instagram', 23 18 'require_client_id' => true, 24 19 'new_app_link' => 'http://instagram.com/developer/clients/manage', 25 20 ), 26 21 'LinkedIn' => array( 27 'label' => 'LinkedIn', 28 'provider_name' => 'LinkedIn', 22 'name' => 'LinkedIn', 29 23 'new_app_link' => 'https://www.linkedin.com/secure/developer', 30 24 ), 31 25 'Tumblr' => array( 32 'label' => 'Tumblr', 33 'provider_name' => 'Tumblr', 34 'callback' => true, 26 'name' => 'Tumblr', 35 27 'new_app_link' => 'http://www.tumblr.com/oauth/apps', 36 28 ), 37 'Twitter' => array( 38 'label' => 'Twitter', 39 'provider_name' => 'Twitter', 40 'callback' => true, 29 'Twitter' => array( 30 'name' => 'Twitter', 41 31 'new_app_link' => 'https://dev.twitter.com/apps', 42 32 ), 43 'Live' => array( 44 'label' => 'Live', 45 'provider_name' => 'Windows Live', 33 'Live' => array( 34 'name' => 'Windows Live', 46 35 'require_client_id' => true, 47 36 'new_app_link' => 'https://account.live.com/developers/applications/index', 48 37 ), 49 'Yahoo' => array( 50 'label' => 'Yahoo', 51 'provider_name' => 'Yahoo!', 52 'callback' => true, 38 'Vkontakte' => array( 39 'name' => 'Vkontakte', 40 'require_client_id' => true, 41 'new_app_link' => 'http://vk.com/dev', 42 ), 43 'Yahoo' => array( 44 'name' => 'Yahoo!', 53 45 'new_app_link' => 'https://developer.apps.yahoo.com/projects/', 54 46 ), 55 47 'px500' => array( 56 'label' => '500px', 57 'provider_name' => '500px', 58 'callback' => true, 48 'name' => '500px', 59 49 'new_app_link' => 'http://500px.com/settings/applications', 60 50 ), 61 'OpenID' => array( 62 'label' => 'OpenID', 63 'provider_name' => 'OpenID', 51 'OpenID' => array( 52 'name' => 'OpenID', 64 53 'new_app_link' => null, 65 54 'about_link' => 'http://openid.net/get-an-openid/what-is-openid/', 66 55 ), 67 'Flickr' => array( 68 'label' => 'Flickr', 69 'provider_name' => 'Flickr', 56 'Flickr' => array( 57 'name' => 'Flickr', 70 58 'new_app_link' => null, 71 59 'about_link' => 'http://openid.net/get-an-openid/what-is-openid/', 72 60 ), 73 'Steam' => array( 74 'label' => 'Steam', 75 'provider_name' => 'Steam', 61 'Steam' => array( 62 'name' => 'Steam', 76 63 'new_app_link' => null, 77 64 'about_link' => 'http://openid.net/get-an-openid/what-is-openid/', 78 65 ), 79 'Wordpress' => array( 80 'label' => 'Wordpress', 81 'provider_name' => 'Wordpress', 66 'Wordpress' => array( 67 'name' => 'Wordpress', 82 68 'new_app_link' => null, 83 69 'about_link' => 'http://openid.net/get-an-openid/what-is-openid/', 84 70 ), 85 71 'Persona' => array( 86 'label' => 'Persona', 87 'provider_name' => 'Persona', 72 'name' => 'Persona', 88 73 'new_app_link' => null, 89 74 'about_link' => 'https://login.persona.org/about', -
extensions/oAuth/language/en_UK/help.lang.php
r28863 r29087 18 18 $lang['Select these APIs: <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> as <em>Read Public</em>'] = 'Select these APIs: <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> as <em>Read Public</em>'; 19 19 $lang['Set <b>%1s</b> to <em>%2s</em>'] = 'Set <b>%1s</b> to <em>%2s</em>'; 20 $lang['Go to the <b>Settings</b> tab after creating the app'] = 'Go to the <b>Settings</b> tab after creating the app'; -
extensions/oAuth/template/oauth_sprites.css
r28826 r29087 19 19 .oauth_16px.persona { background-position: -192px 0px; } 20 20 .oauth_16px.px500 { background-position: -208px 0px; } 21 .oauth_16px.vkontakte { background-position: -224px 0px; } 21 22 22 23 .oauth_26px { … … 40 41 .oauth_26px.persona { background-position: -312px 0px; } 41 42 .oauth_26px.px500 { background-position: -338px 0px; } 43 .oauth_26px.vkontakte { background-position: -364px 0px; } 42 44 43 45 .oauth_38px { … … 61 63 .oauth_38px.persona { background-position: -456px 0px; } 62 64 .oauth_38px.px500 { background-position: -494px 0px; } 65 .oauth_38px.vkontakte { background-position: -532px 0px; }
Note: See TracChangeset
for help on using the changeset viewer.