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

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

fix OpenID

File size: 804 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" title="{$p}"><img src="{$ROOT_URL}{$OAUTH_PATH}template/icons/{$oauth.menubar_icon}/{$p|strtolower}.png"></a>
22    {/strip}{/foreach}
23    </fieldset>
24    </form>
25  </dd>
26{/if}
Note: See TracBrowser for help on using the repository browser.