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

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: 839 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_head}{literal}
7  <style type="text/css">
8    dl#mbIdentification dd:first-of-type {
9      padding-bottom:0 !important;
10    }
11    #mbIdentification .oauth {
12      margin:0 1px;
13    }
14  </style>
15  {/literal}{/html_head}
16 
17  <dd>
18    <form id="quickconnect">
19    <fieldset style="text-align:center;">
20      <legend>{'Or sign in with'|@translate}</legend>
21     
22    {foreach from=$PROVIDERS item=provider key=p}{strip}
23      <a href="#" class="oauth" title="{$p}"><img src="{$ROOT_URL}{$OAUTH_PATH}template/icons/{$oauth.menubar_icon}/{$p|strtolower}.png"></a>
24    {/strip}{/foreach}
25    </fieldset>
26    </form>
27  </dd>
28{/if}
Note: See TracBrowser for help on using the repository browser.