Changeset 28826
- Timestamp:
- Jun 28, 2014, 6:21:12 PM (10 years ago)
- Location:
- extensions/oAuth
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/admin/template/providers.tpl
r26608 r28826 85 85 {if $provider.new_app_link} 86 86 <ol> 87 <li>{'Go to <a href="%s" target="_blank">%s</a> and create a new application'|translate |sprintf:$provider.new_app_link:$provider.new_app_link}</li>87 <li>{'Go to <a href="%s" target="_blank">%s</a> and create a new application'|translate:$provider.new_app_link:$provider.new_app_link}</li> 88 88 89 89 {if $p=='Google'} … … 93 93 {/if} 94 94 95 {if $provider.callback }95 {if $provider.callback && $p!='Yahoo'} 96 96 <li> 97 {assign var=callback value=$OAUTH_CALLBACK|cat:$p} 98 {'Provide this URL as the Callback/Redirect URL for your application: <em>%s</em>'|translate|sprintf:$callback} 97 {'Provide this URL as the Callback/Redirect URL for your application: <em>%s</em>'|translate:($OAUTH_CALLBACK|cat:$p)} 99 98 </li> 100 99 {/if} 101 100 102 101 {if $p=='Live'} 103 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate |sprintf:'<b>Redirect Domain</b>':$WEBSITE}</li>102 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate:'<b>Redirect Domain</b>':$WEBSITE}</li> 104 103 {elseif $p=='Facebook'} 105 104 <li>{'Go to <b>Settings->Advanced</b> and activate <em>Client OAuth Login</em>'|translate}</li> 106 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate |sprintf:'<b>Valid OAuth redirect URIs</b>':$SERVERNAME}</li>105 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate:'<b>Valid OAuth redirect URIs</b>':$SERVERNAME}</li> 107 106 {elseif $p=='LinkedIn'} 108 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate |sprintf:'<b>Website URL</b>':$WEBSITE}</li>109 <li>{'Set <b>%s</b> to <em>%s</em>'|translate |sprintf:'Application Type':'Web Application'}</li>110 <li>{'Set <b>%s</b> to <em>%s</em>'|translate |sprintf:'Default Scope':'r_basicprofile & r_emailaddress'}</li>107 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate:'<b>Website URL</b>':$WEBSITE}</li> 108 <li>{'Set <b>%s</b> to <em>%s</em>'|translate:'Application Type':'Web Application'}</li> 109 <li>{'Set <b>%s</b> to <em>%s</em>'|translate:'Default Scope':'r_basicprofile & r_emailaddress'}</li> 111 110 {elseif $p=='Yahoo'} 112 <li>{' Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate|sprintf:'<b>Application URL</b>, <b>Application Domain</b>':$WEBSITE}</li>113 <li>{'Set <b>%s</b> to <em>%s</em>'|translate |sprintf:'Kind of Application':'Web-based'}</li>114 <li>{' Set <b>%s</b> to <em>%s</em>'|translate|sprintf:'Access Scopes':'This app will only access public...'}</li>115 <li>{' Once the application is registered update the permissions : set <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> as<em>Read Public</em>'|translate}</li>111 <li>{'Set <b>%s</b> to <em>%s</em>'|translate:'Kind of Application':'Web-based'}</li> 112 <li>{'Set <b>%s</b> to <em>%s</em>'|translate:'Access Scopes':'This app requires access to private user data'}</li> 113 <li>{'Provide this URL as the Callback/Redirect URL for your application: <em>%s</em>'|translate:($OAUTH_CALLBACK|cat:$p)}</li> 114 <li>{'Select these APIs: <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> <em>Read Public</em>'|translate}</li> 116 115 {elseif $p=='Twitter'} 117 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate |sprintf:'<b>Website</b>':$WEBSITE}</li>116 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate:'<b>Website</b>':$WEBSITE}</li> 118 117 {elseif $p=='Tumblr'} 119 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate |sprintf:'<b>Application Website</b>':$WEBSITE}</li>118 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate:'<b>Application Website</b>':$WEBSITE}</li> 120 119 {elseif $p=='Instagram'} 121 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate |sprintf:'<b>Website</b>':$WEBSITE}</li>120 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate:'<b>Website</b>':$WEBSITE}</li> 122 121 {elseif $p=='Google'} 123 <li>{'Set <b>%s</b> to <em>%s</em>'|translate|sprintf:'Application Type':'Web Application'}</li> 124 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate|sprintf:'<b>Authorized Javascript origins </b>':$SERVERNAME}</li> 122 <li>{'Set <b>%s</b> to <em>%s</em>'|translate:'Application Type':'Web Application'}</li> 123 <li>{'Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'|translate:'<b>Authorized Javascript origins </b>':$SERVERNAME}</li> 124 {elseif $p=='px500'} 125 <li>{'Once the application is created, click <b>See application details</b>'|translate}</li> 125 126 {/if} 126 127 -
extensions/oAuth/include/hybridauth/Hybrid/Providers/Yahoo.php
r20293 r28826 25 25 26 26 // Provider api end-points 27 $this->api->api_base_url = 'http ://social.yahooapis.com/v1/';27 $this->api->api_base_url = 'https://social.yahooapis.com/v1/'; 28 28 $this->api->authorize_url = 'https://api.login.yahoo.com/oauth/v2/request_auth'; 29 29 $this->api->request_token_url = 'https://api.login.yahoo.com/oauth/v2/get_request_token'; -
extensions/oAuth/include/providers_stats.inc.php
r26608 r28826 9 9 'scope' => 'email', 10 10 ), 11 12 11 'Google' => array( 13 12 'label' => 'Google', … … 51 50 'label' => 'Yahoo', 52 51 'provider_name' => 'Yahoo!', 52 'callback' => true, 53 53 'new_app_link' => 'https://developer.apps.yahoo.com/projects/', 54 ), 55 'px500' => array( 56 'label' => '500px', 57 'provider_name' => '500px', 58 'callback' => true, 59 'new_app_link' => 'http://500px.com/settings/applications', 54 60 ), 55 61 'OpenID' => array( -
extensions/oAuth/language/en_UK/help.lang.php
r26608 r28826 10 10 $lang['Once you have registered, copy and past the created application credentials into this setup page'] = 'Once you have registered, copy and past the created application credentials into this setup page'; 11 11 $lang['No registration required'] = 'No registration required'; 12 $lang[' Once the application is registered update the permissions : set <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> as <em>Read Public</em>'] = 'Once the application is registered update the permissions : set <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> as<em>Read Public</em>';12 $lang['Select these APIs: <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> <em>Read Public</em>'] = 'Select these APIs: <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> <em>Read Public</em>'; 13 13 $lang['Go to <b>Settings->Advanced</b> and activate <em>Client OAuth Login</em>'] = 'Go to <b>Settings->Advanced</b> and activate <em>Client OAuth Login</em>'; 14 15 ?> 14 $lang['Once the application is created, click <b>See application details</b>'] = 'Once the application is created, click <b>See application details</b>'; -
extensions/oAuth/language/fr_FR/help.lang.php
r26609 r28826 7 7 $lang['Set <b>%s</b> to <em>%s</em>'] = 'Sélectionnez <em>%2$s</em> pour <b>%1$s</b>'; 8 8 $lang['Once you have registered, copy and past the created application credentials into this setup page'] = 'Quand votre application est enregistrée, copiez-collez les clefs d\'authentification sur cette page'; 9 $lang['Once the application is registered update the permissions : set <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> as <em>Read Public</em>'] = 'Quand l\'application est enregistrée, éditez les permissions : sélectionnez <em>Read</em> pour <b>Contacts</b> et <em>Read Public</em> pour <b>Social Directory</b>'; 10 9 $lang['Select these APIs: <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> <em>Read Public</em>'] = 'Sélectionnez ces permissions : <em>Read</em> pour <b>Contacts</b> et <em>Read Public</em> pour <b>Social Directory</b>'; 11 10 $lang['Based on OpenID'] = 'Basé sur OpenID'; 12 11 $lang['Go to <b>Settings->Advanced</b> and activate <em>Client OAuth Login</em>'] = 'Allez dans <b>Settings->Advanced</b> et activez <em>Client OAuth Login</em>'; 13 12 $lang['No registration required'] = 'Aucun enregistrement nécessaire'; 14 13 $lang['On the <b>APIs & auth -> Credentials</b> tab, <b>Create new client ID</b>'] = 'Sur la page <b>APIs & auth -> Credentials</b>, <b>Create new client ID</b>'; 15 ?> 14 $lang['Once the application is created, click <b>See application details</b>'] = 'Quand l\'application est créée, cliquez sur <b>See application details</b>'; -
extensions/oAuth/template/oauth_sprites.css
r26605 r28826 18 18 .oauth_16px.steam { background-position: -176px 0px; } 19 19 .oauth_16px.persona { background-position: -192px 0px; } 20 .oauth_16px.px500 { background-position: -208px 0px; } 20 21 21 22 .oauth_26px { … … 38 39 .oauth_26px.steam { background-position: -286px 0px; } 39 40 .oauth_26px.persona { background-position: -312px 0px; } 41 .oauth_26px.px500 { background-position: -338px 0px; } 40 42 41 43 .oauth_38px { … … 58 60 .oauth_38px.steam { background-position: -418px 0px; } 59 61 .oauth_38px.persona { background-position: -456px 0px; } 62 .oauth_38px.px500 { background-position: -494px 0px; }
Note: See TracChangeset
for help on using the changeset viewer.