Last change
on this file since 21724 was
21584,
checked in by mistic100, 12 years ago
|
don't delete keys when the provider is removed, hide fieldset when no provider active, use jQuery instead of $
|
File size:
805 bytes
|
Line | |
---|
1 | {if $id == "mbIdentification" and isset($U_LOGIN) and 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 | 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.