43 lines
1.9 KiB
Smarty
43 lines
1.9 KiB
Smarty
{*
|
|
* 2017-2019 Zemez
|
|
*
|
|
* JX Header Account
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the General Public License (GPL 2.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* http://opensource.org/licenses/GPL-2.0
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade the module to newer
|
|
* versions in the future.
|
|
*
|
|
* @author Zemez (Alexander Grosul)
|
|
* @copyright 2017-2019 Zemez
|
|
* @license http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0)
|
|
*}
|
|
|
|
{assign var=back_page value = $link->getPageLink('index')}
|
|
{if $f_status || $g_status || $vk_status}
|
|
<hr>
|
|
<div class="clearfix social-login-buttons">
|
|
{if $f_status}
|
|
<a href="{$link->getModuleLink('jxheaderaccount', 'facebooklogin', [], true)}" title="{l s='Login with Your Facebook Account' mod='jxheaderaccount'}">
|
|
<i class="fa fa-facebook" aria-hidden="true"></i>{l s='Facebook Login' mod='jxheaderaccount'}
|
|
</a>
|
|
{/if}
|
|
{if $g_status}
|
|
<a {if isset($back) && $back}href="{$link->getModuleLink('jxheaderaccount', 'googlelogin', ['back' => $back], true)}" {else}href="{$link->getModuleLink('jxheaderaccount', 'googlelogin', ['back' => $back_page], true)}"{/if} title="{l s='Login with Your Google Account' mod='jxheaderaccount'}">
|
|
<i class="fa fa-google-plus" aria-hidden="true"></i>{l s='Google Login' mod='jxheaderaccount'}
|
|
</a>
|
|
{/if}
|
|
{if $vk_status}
|
|
<a {if isset($back) && $back}href="{$link->getModuleLink('jxheaderaccount', 'vklogin', ['back' => $back], true)}" {else}href="{$link->getModuleLink('jxheaderaccount', 'vklogin', ['back' => $back_page], true)}"{/if} title="{l s='Login with Your VK Account' mod='jxheaderaccount'}">
|
|
<i class="fa fa-vk" aria-hidden="true"></i>{l s='VK Login' mod='jxheaderaccount'}
|
|
</a>
|
|
{/if}
|
|
</div>
|
|
{/if} |