Changeset 20368 for extensions/oAuth
- Timestamp:
- Jan 25, 2013, 11:29:14 AM (11 years ago)
- Location:
- extensions/oAuth
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/admin/template/providers.tpl
r20324 r20368 115 115 {elseif $p=='Twitter'} 116 116 <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>, <b>Application Callback URL</b>':$SERVERNAME}</li> 117 <li>{'Set the <b>Default Access Type</b> to <em>Read only</em>'|@translate}</li> 117 <li>{'Set the <b>Default Access Type</b> to <em>Read only</em>'|@translate}</li> 118 118 {elseif $p=='Tumblr'} 119 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>, <b>Default Callback URL</b>':$SERVERNAME}</li> 120 {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>':$SERVERNAME}</li> 120 122 {/if} 121 123 -
extensions/oAuth/auth.php
r20337 r20368 65 65 else if (isset($_GET['init_auth'])) 66 66 { 67 $params = array('hauth_return_to', get_absolute_root_url() . OAUTH_PATH . 'auth.php?provider='.$provider.'&auth_done=1');68 67 if ($provider == 'OpenID') 69 68 { -
extensions/oAuth/include/functions.inc.php
r20293 r20368 4 4 function load_hybridauth_conf() 5 5 { 6 global $hybridauth_conf ;6 global $hybridauth_conf, $conf; 7 7 8 8 if (file_exists(PHPWG_ROOT_PATH.OAUTH_CONFIG)) … … 10 10 $hybridauth_conf = include(PHPWG_ROOT_PATH.OAUTH_CONFIG); 11 11 $hybridauth_conf['base_url'] = OAUTH_PUBLIC; 12 if (!empty($conf['oauth_debug_file'])) 13 { 14 $hybridauth_conf['debug_mode'] = true; 15 $hybridauth_conf['debug_file'] = $conf['oauth_debug_file']; 16 } 12 17 return true; 13 18 } -
extensions/oAuth/include/providers_stats.inc.php
r20337 r20368 23 23 'label' => 'Instagram', 24 24 'provider_name' => 'Instagram', 25 'callback' => true, 26 'require_client_id' => true, 25 27 'new_app_link' => 'http://instagram.com/developer/clients/manage', 26 28 'userguide_section' => null, -
extensions/oAuth/language/fr_FR/help.lang.php
r20324 r20368 6 6 $lang['Fill out any required fields such as the application name and description'] = 'Remplissez tous les champs demandés comme le nom et la description de l\'application'; 7 7 $lang['Provide this URL as the Callback/Redirect URL for your application: <em>%s</em>'] = 'Donnez cette URL comme Callback/Redirect URL pour votre application : <em>%s</em>'; 8 $lang['Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'] = 'Mettez votre nom de domaine dans les ch mpas %s. Il doit correspondre à <em>%s</em>';8 $lang['Put your website domain in the %s fields. It should match with the current hostname: <em>%s</em>'] = 'Mettez votre nom de domaine dans les champs %s. Il doit correspondre à <em>%s</em>'; 9 9 $lang['Select <em>Website with facebook authentication</em> as application type'] = 'Choisissez <em>Site web avec authentification facebook</em> comme type d\'application'; 10 10 $lang['Set the <b>Application Type</b> to <em>Web Application</em>'] = 'Sélectionnez <em>Web Application</em> pour <b>Application Type</b>'; -
extensions/oAuth/template/profile.tpl
r20323 r20368 29 29 {'Logged with'|@translate} : <b>{$OAUTH_PROVIDER}</b><br> 30 30 <b>{'Username'|@translate}</b> : {$OAUTH_USERNAME}<br> 31 <b>{'Profile URL'|@translate}</b> : <a href="{$OAUTH_PROFILE_URL}">{$OAUTH_PROFILE_URL|truncate:40:' ... ':true:true}</a>31 {if $OAUTH_PROFILE_URL}<b>{'Profile URL'|@translate}</b> : <a href="{$OAUTH_PROFILE_URL}">{$OAUTH_PROFILE_URL|truncate:40:' ... ':true:true}</a>{/if} 32 32 </div>
Note: See TracChangeset
for help on using the changeset viewer.