Last change
on this file since 20323 was
20323,
checked in by mistic100, 11 years ago
|
fix redirect error, provide 3 sizes of icons, display login info on register page
|
File size:
609 bytes
|
Line | |
---|
1 | {if not $OAUTH_JS_LOADED} |
---|
2 | {assign var=OAUTH_JS_LOADED value=true} |
---|
3 | {include file=$OAUTH_ABS_PATH|@cat:'template/identification_common.tpl'} |
---|
4 | {/if} |
---|
5 | {html_head}{literal} |
---|
6 | <style type="text/css"> |
---|
7 | #oauth_wrap .oauth { |
---|
8 | margin:0 2px; |
---|
9 | } |
---|
10 | </style> |
---|
11 | {/literal}{/html_head} |
---|
12 | |
---|
13 | <fieldset style="text-align:center;" id="oauth_wrap"> |
---|
14 | <legend>{'Or sign in with'|@translate}</legend> |
---|
15 | |
---|
16 | {foreach from=$PROVIDERS item=provider key=p}{strip} |
---|
17 | <a href="#" class="oauth" title="{$p}"><img src="{$ROOT_URL}{$OAUTH_PATH}template/icons/{$oauth.identification_icon}/{$p|strtolower}.png"></a> |
---|
18 | {/strip}{/foreach} |
---|
19 | </fieldset> |
---|
Note: See
TracBrowser
for help on using the repository browser.