source: extensions/oAuth/template/identification_menubar.tpl @ 20620

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

use sprites for providers icons

File size: 783 bytes
Line 
1{if $id == "mbIdentification" and isset($U_LOGIN)}
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    dl#mbIdentification dd:first-of-type {
8      padding-bottom:0 !important;
9    }
10    #mbIdentification .oauth {
11      margin:0 1px;
12    }
13  {/literal}{/html_style}
14 
15  <dd>
16    <form id="quickconnect">
17    <fieldset style="text-align:center;">
18      <legend>{'Or sign in with'|@translate}</legend>
19     
20    {foreach from=$PROVIDERS item=provider key=p}{strip}
21      <a href="#" class="oauth oauth_{$oauth.menubar_icon} {$p|strtolower}" data-idp="{$p}" title="{$provider.name}"></a>
22    {/strip}{/foreach}
23    </fieldset>
24    </form>
25  </dd>
26{/if}
Note: See TracBrowser for help on using the repository browser.