Ignore:
Timestamp:
Jan 10, 2014, 9:51:32 PM (10 years ago)
Author:
mistic100
Message:

clean templating + allow to use Steam/Wordpress/Flickr without displaying OpenID

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/oAuth/template/identification_page.tpl

    r26556 r26604  
    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'}
     1{html_style}
     2#oauth_wrap .oauth { margin:0 2px; }
     3{/html_style}
     4 
     5<fieldset style="text-align:center;" id="oauth_wrap">
     6  <legend>{'Or sign in with'|translate}</legend>
     7 
     8{foreach from=$OAUTH.providers item=provider key=p}{strip}
     9  {if $provider.enabled}
     10    <a href="#" class="oauth oauth_{$OAUTH.conf.identification_icon} {$p|strtolower}" data-idp="{$p}" title="{$provider.name}"></a>
    511  {/if}
    6   {html_style}
    7     #oauth_wrap .oauth { margin:0 2px; }
    8   {/html_style}
    9    
    10   <fieldset style="text-align:center;" id="oauth_wrap">
    11     <legend>{'Or sign in with'|translate}</legend>
    12    
    13   {foreach from=$PROVIDERS item=provider key=p}{strip}
    14     <a href="#" class="oauth oauth_{$oauth.identification_icon} {$p|strtolower}" data-idp="{$p}" title="{$provider.name}"></a>
    15   {/strip}{/foreach}
    16   </fieldset>
    17 {/if}
     12{/strip}{/foreach}
     13</fieldset>
Note: See TracChangeset for help on using the changeset viewer.