Changeset 28863 for extensions/oAuth/admin/template/providers.tpl
- Timestamp:
- Jun 29, 2014, 11:14:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/admin/template/providers.tpl
r28826 r28863 84 84 <div class="help"> 85 85 {if $provider.new_app_link} 86 {assign var=callback_url value=$OAUTH_CALLBACK|cat:$p} 87 86 88 <ol> 87 89 <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> 90 <li>{'Fill out any required fields such as the application name and description'|translate}</li> 88 91 89 {if $p==' Google'}90 <li>{' On the <b>APIs & auth -> Credentials</b> tab, <b>Create new client ID</b>'|translate}</li>91 {else}92 <li>{' Fill out any required fields such as the application name and description'|translate}</li>93 {/if}92 {if $p=='Facebook'} 93 <li>{'Go to <b>Settings -> Advanced</b> and set <b>Valid OAuth redirect URIs</b> to <em>%s</em>'|translate:$callback_url}</li> 94 <li>{'Go to <b>Settings -> Basic</b> and fill the contact email'|translate}</li> 95 <li>{'Click on <b>Add Platform</b>, choose <b>Website</b> and set the <b>Site URL</b> to <em>%s</em>'|translate:$WEBSITE}</li> 96 <li>{'Go to <b>Status & Review</b> and set the app public by clicking the big button on top-right'|translate}</li> 94 97 95 {if $provider.callback && $p!='Yahoo'} 96 <li> 97 {'Provide this URL as the Callback/Redirect URL for your application: <em>%s</em>'|translate:($OAUTH_CALLBACK|cat:$p)} 98 </li> 99 {/if} 98 {elseif $p=='Google'} 99 <li>{'Once the process is finished, click on the newly created project'|translate}</li> 100 <li>{'On the <b>APIS & AUTH -> Credentials</b> tab, and click <b>Create new client ID</b>'|translate}</li> 101 <li>{'Set <b>%1s</b> to <em>%2s</em>'|translate:'Application Type':'Web Application'}</li> 102 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Authorized Javascript origins</b>':$SERVERNAME}</li> 103 <li>{'Enter <em>%1s</em> for <b>%2s</b>'|translate:$callback_url:'Authorized redirect URI'}</li> 100 104 101 {if $p=='Live'} 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> 103 {elseif $p=='Facebook'} 104 <li>{'Go to <b>Settings->Advanced</b> and activate <em>Client OAuth Login</em>'|translate}</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> 105 {elseif $p=='Instagram'} 106 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Website</b>':$WEBSITE}</li> 107 <li>{'Enter <em>%1s</em> for <b>%2s</b>'|translate:$callback_url:'OAuth redirect_uri'}</li> 108 106 109 {elseif $p=='LinkedIn'} 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> 110 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Website URL</b>':$WEBSITE}</li> 111 <li>{'Set <b>%1s</b> to <em>%2s</em>'|translate:'Default Scope':'r_basicprofile & r_emailaddress'}</li> 112 <li>{'Enter <em>%1s</em> for <b>%2s</b>'|translate:$callback_url:'OAuth 2.0 Redirect URLs'}</li> 113 114 {elseif $p=='Tumblr'} 115 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Application website</b>':$WEBSITE}</li> 116 <li>{'Enter <em>%1s</em> for <b>%2s</b>'|translate:$callback_url:'Default callback URL'}</li> 117 118 {elseif $p=='Twitter'} 119 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Website</b>':$WEBSITE}</li> 120 <li>{'Enter <em>%1s</em> for <b>%2s</b>'|translate:$callback_url:'Callback URL'}</li> 121 122 {elseif $p=='Live'} 123 <li>{'Go to <b>API Parameters</b> and set <em>%s</em> for <b>Redirect URL</b>'|translate:$WEBSITE} 124 110 125 {elseif $p=='Yahoo'} 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> 115 {elseif $p=='Twitter'} 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> 117 {elseif $p=='Tumblr'} 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> 119 {elseif $p=='Instagram'} 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> 121 {elseif $p=='Google'} 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> 126 <li>{'Set <b>%1s</b> to <em>%2s</em>'|translate:'Kind of Application':'Web-based'}</li> 127 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Home Page URL</b>':$WEBSITE}</li> 128 <li>{'Set <b>%1s</b> to <em>%2s</em>'|translate:'Access Scopes':'This app requires access to private user data'}</li> 129 <li>{'Enter <em>%1s</em> for <b>%2s</b>'|translate:$callback_url:'Callback Domain'}</li> 130 <li>{'Select these APIs: <b>Contacts</b> as <em>Read</em> and <b>Social Directory</b> as <em>Read Public</em>'|translate}</li> 131 124 132 {elseif $p=='px500'} 133 <li>{'Put your website domain in the <b>%1s</b> field. It must match with the current hostname: <em>%2s</em>'|translate:'<b>Application URL</b>':$WEBSITE}</li> 134 <li>{'Enter <em>%1s</em> for <b>%2s</b>'|translate:$callback_url:'Callback URL'}</li> 125 135 <li>{'Once the application is created, click <b>See application details</b>'|translate}</li> 136 126 137 {/if} 127 138
Note: See TracChangeset
for help on using the changeset viewer.