source: extensions/oAuth/template/identification_page.tpl @ 21584

Last change on this file since 21584 was 21584, checked in by mistic100, 11 years ago

don't delete keys when the provider is removed, hide fieldset when no provider active, use jQuery instead of $

File size: 620 bytes
Line 
1{if count($PROVIDERS)}
2  {if not $OAUTH_JS_LOADED}
3    {assign var=OAUTH_JS_LOADED value=true}
4    {include file=$OAUTH_ABS_PATH|cat:'template/identification_common.tpl'}
5  {/if}
6  {html_style}{literal}
7    #oauth_wrap .oauth {
8      margin:0 2px;
9    }
10  {/literal}{/html_style}
11   
12  <fieldset style="text-align:center;" id="oauth_wrap">
13    <legend>{'Or sign in with'|@translate}</legend>
14   
15  {foreach from=$PROVIDERS item=provider key=p}{strip}
16    <a href="#" class="oauth oauth_{$oauth.identification_icon} {$p|strtolower}" data-idp="{$p}" title="{$provider.name}"></a>
17  {/strip}{/foreach}
18  </fieldset>
19{/if}
Note: See TracBrowser for help on using the repository browser.