Untitled diff
638 lines
<?php
<?php
/**
/**
* @package EasySocial
* @package EasySocial
* @copyright Copyright (C) 2010 - 2017 Stack Ideas Sdn Bhd. All rights reserved.
* @copyright Copyright (C) 2010 - 2017 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
* See COPYRIGHT.php for copyright notices and details.
*/
*/
defined('_JEXEC') or die('Unauthorized Access');
defined('_JEXEC') or die('Unauthorized Access');
?>
?>
<div class="es-navbar t-lg-mb--lg" data-es-toolbar>
<div class="es-navbar t-lg-mb--lg" data-es-toolbar>
<div class="es-navbar__body">
<div class="es-navbar__body">
<?php if ($dashboard) { ?>
<a class="es-navbar__footer-toggle" href="<?php echo ESR::dashboard();?>">
<a class="es-navbar__footer-toggle" href="<?php echo ESR::dashboard();?>">
<i class="fa fa-home"></i>
<i class="fa fa-home"></i>
</a>
</a>
<?php } ?>
<nav class="o-nav es-navbar__o-nav">
<nav class="o-nav es-navbar__o-nav">
<!-- Partie ajoutée -->
<!--
<div class="o-nav__item">
<a href="/plugins/cometchat/cometchat_embedded.php" target="blank" class="o-nav__item es-navbar__icon-link"
data-es-provide="tooltip" data-original-title="<?php echo "Salons de discussions";?>" data-placement="top">
<i class="fa fa-comments-o"></i>
</a></div>
<!-- ************* -->
<?php if ($this->my->id) { ?>
<?php if ($this->my->id) { ?>
<!-- Partie ajoutée -->
<?php if ($conversations) { ?>
<div class="o-nav__item">
<a href="/plugins/cometchat/cometchat_embedded.php" target="blank" class="o-nav__link es-navbar__icon-link <?php echo $newConversations > 0 ? ' has-new' : '';?>"
data-es-provide="tooltip" data-original-title="<?php echo "Discutez en direct";?>" data-placement="top"
data-notifications data-type="conversations"
data-popbox="module://easysocial/conversations/popbox"
data-popbox-toggle="hover"
data-popbox-type="navbar-conversations"
data-popbox-component="popbox--navbar"
data-popbox-offset="4"
data-popbox-position="bottom-right"
data-popbox-collision="<?php echo $popboxCollision;?>"
>
<!-- <i class="fa fa-comments-o"></i> -->
<img src ="/images/icones/messenger.png" >
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_CONVERSATIONS');?></span>
<span class="es-navbar__link-bubble" data-counter><?php echo $newConversations;?></span>
</a>
</div>
<?php } ?>
<!-- ************** -->
<!-- data-popbox-toggle="click" ou data-popbox-toggle="hover" -->
<?php if ($friends) { ?>
<?php if ($friends) { ?>
<div class="o-nav__item">
<div class="o-nav__item">
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link <?php echo $newRequests > 0 ? ' has-new' : '';?>"
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link <?php echo $newRequests > 0 ? ' has-new' : '';?>"
data-es-provide="tooltip" data-original-title="<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FRIEND_REQUESTS', true);?>" data-placement="top"
data-es-provide="tooltip" data-original-title="<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FRIEND_REQUESTS', true);?>" data-placement="top"
data-notifications data-type="friends"
data-notifications data-type="friends"
data-popbox="module://easysocial/friends/popbox"
data-popbox="module://easysocial/friends/popbox"
data-popbox-toggle="click"
data-popbox-toggle="hover"
data-popbox-type="navbar-friends"
data-popbox-type="navbar-friends"
data-popbox-component="popbox--navbar"
data-popbox-component="popbox--navbar"
data-popbox-offset="4"
data-popbox-offset="4"
data-popbox-position="bottom-right"
data-popbox-position="bottom-right"
data-popbox-collision="<?php echo $popboxCollision;?>"
data-popbox-collision="<?php echo $popboxCollision;?>"
>
>
<i class="fa fa-users"></i>
<i class="fa fa-users"></i>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FRIEND_REQUESTS');?></span>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FRIEND_REQUESTS');?></span>
<span class="es-navbar__link-bubble" data-counter><?php echo $newRequests;?></span>
<span class="es-navbar__link-bubble" data-counter><?php echo $newRequests;?></span>
</a>
</a>
</div>
</div>
<?php } ?>
<?php } ?>
<?php if ($conversations) { ?>
<?php if ($conversations) { ?>
<div class="o-nav__item">
<div class="o-nav__item">
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link <?php echo $newConversations > 0 ? ' has-new' : '';?>"
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link <?php echo $newConversations > 0 ? ' has-new' : '';?>"
data-es-provide="tooltip" data-original-title="<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_RECENT_CONVERSATIONS' , true );?>" data-placement="top"
data-es-provide="tooltip" data-original-title="<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_RECENT_CONVERSATIONS' , true );?>" data-placement="top"
data-notifications data-type="conversations"
data-notifications data-type="conversations"
data-popbox="module://easysocial/conversations/popbox"
data-popbox="module://easysocial/conversations/popbox"
data-popbox-toggle="click"
data-popbox-toggle="hover"
data-popbox-type="navbar-conversations"
data-popbox-type="navbar-conversations"
data-popbox-component="popbox--navbar"
data-popbox-component="popbox--navbar"
data-popbox-offset="4"
data-popbox-offset="4"
data-popbox-position="bottom-right"
data-popbox-position="bottom-right"
data-popbox-collision="<?php echo $popboxCollision;?>"
data-popbox-collision="<?php echo $popboxCollision;?>"
>
>
<i class="fa fa-envelope"></i>
<i class="fa fa-envelope"></i>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_CONVERSATIONS');?></span>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_CONVERSATIONS');?></span>
<span class="es-navbar__link-bubble" data-counter><?php echo $newConversations;?></span>
<span class="es-navbar__link-bubble" data-counter><?php echo $newConversations;?></span>
</a>
</a>
</div>
</div>
<?php } ?>
<?php } ?>
<?php if ($notifications) { ?>
<?php if ($notifications) { ?>
<div class="o-nav__item">
<div class="o-nav__item">
<a href="javascript:void(0);"
<a href="javascript:void(0);"
class="o-nav__link es-navbar__icon-link <?php echo $newNotifications > 0 ? ' has-new' : '';?>"
class="o-nav__link es-navbar__icon-link <?php echo $newNotifications > 0 ? ' has-new' : '';?>"
data-original-title="<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_RECENT_NOTIFICATIONS' , true );?>"
data-original-title="<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_RECENT_NOTIFICATIONS' , true );?>"
data-placement="top"
data-placement="top"
data-es-provide="tooltip"
data-es-provide="tooltip"
data-popbox="module://easysocial/notifications/popbox"
data-popbox="module://easysocial/notifications/popbox"
data-popbox-toggle="click"
data-popbox-toggle="hover"
data-popbox-type="navbar-notifications"
data-popbox-type="navbar-notifications"
data-popbox-component="popbox--navbar"
data-popbox-component="popbox--navbar"
data-popbox-offset="4"
data-popbox-offset="4"
data-popbox-position="bottom-right"
data-popbox-position="bottom-right"
data-popbox-collision="<?php echo $popboxCollision;?>"
data-popbox-collision="<?php echo $popboxCollision;?>"
data-autoread="<?php echo $this->config->get('notifications.system.autoread');?>"
data-autoread="<?php echo $this->config->get('notifications.system.autoread');?>"
data-user-id="<?php echo $this->my->id;?>"
data-user-id="<?php echo $this->my->id;?>"
data-notifications data-type="system"
data-notifications data-type="system"
>
>
<i class="fa fa-globe"></i>
<i class="fa fa-globe"></i>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_NOTIFICATIONS');?></span>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_NOTIFICATIONS');?></span>
<span class="es-navbar__link-bubble" data-counter><?php echo $newNotifications;?></span>
<span class="es-navbar__link-bubble" data-counter><?php echo $newNotifications;?></span>
</a>
</a>
</div>
</div>
<!-- Partie ajoutée -->
<div class="o-nav__item">
<a href="/aide" class="o-nav__item es-navbar__icon-link"
data-es-provide="tooltip" data-original-title="<?php echo "Aide";?>" data-placement="top">
<i class="fa fa-question-circle-o"></i>
</a></div>
<!-- ************** -->
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
<?php if ($this->my->guest && ($login)) { ?>
<?php if ($this->my->guest && ($login)) { ?>
<div class="o-nav__item">
<div class="o-nav__item">
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link"
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link"
data-popbox data-popbox-id="es"
data-popbox data-popbox-id="es"
data-popbox-type="navbar-signin"
data-popbox-type="navbar-signin"
data-popbox-toggle="click"
data-popbox-toggle="click"
data-popbox-component="popbox--navbar"
data-popbox-component="popbox--navbar"
data-popbox-offset="4"
data-popbox-offset="4"
data-popbox-position="bottom-right"
data-popbox-position="bottom-right"
data-popbox-target="[data-toolbar-login-dropdown]"
data-popbox-target="[data-toolbar-login-dropdown]"
>
>
<i class="fa fa-lock"></i>
<i class="fa fa-lock"></i>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_LOGIN');?></span>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_LOGIN');?></span>
</a>
</a>
<div class="t-hidden" class="toobar-profile-popbox" data-toolbar-login-dropdown>
<div class="t-hidden" class="toobar-profile-popbox" data-toolbar-login-dropdown>
<div class="popbox-dropdown">
<div class="popbox-dropdown">
<div class="popbox-dropdown__hd">
<div class="popbox-dropdown__hd">
<div class="o-flag o-flag--rev">
<div class="o-flag o-flag--rev">
<div class="o-flag__body">
<div class="o-flag__body">
<div class="popbox-dropdown__title"><?php echo JText::_('COM_EASYSOCIAL_SIGN_IN');?></div>
<div class="popbox-dropdown__title"><?php echo JText::_('COM_EASYSOCIAL_SIGN_IN');?></div>
<?php if ($showRegistrations) { ?>
<?php if ($showRegistrations) { ?>
<div class="popbox-dropdown__meta">
<div class="popbox-dropdown__meta">
<?php echo JText::sprintf('COM_EASYSOCIAL_NEW_PLEASE_REGISTER', '<a href="' . ESR::registration(array('profile_id' => '0')) . '">' . JText::_('COM_EASYSOCIAL_TOOLBAR_CREATE_ACCOUNT_NOW') . '</a>'); ?>
<?php echo JText::sprintf('COM_EASYSOCIAL_NEW_PLEASE_REGISTER', '<a href="' . ESR::registration(array('profile_id' => '0')) . '">' . JText::_('COM_EASYSOCIAL_TOOLBAR_CREATE_ACCOUNT_NOW') . '</a>'); ?>
</div>
</div>
<?php } ?>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="popbox-dropdown__bd">
<div class="popbox-dropdown__bd">
<form action="<?php echo JRoute::_('index.php');?>" method="post" class="popbox-dropdown-signin">
<form action="<?php echo JRoute::_('index.php');?>" method="post" class="popbox-dropdown-signin">
<div class="o-form-group">
<div class="o-form-group">
<input name="username" type="text" autocomplete="off" class="o-form-control" id="es-username"
<input name="username" type="text" autocomplete="off" class="o-form-control" id="es-username"
placeholder="<?php echo $usernamePlaceholder; ?>"
placeholder="<?php echo $usernamePlaceholder; ?>"
/>
/>
</div>
</div>
<div class="o-form-group">
<div class="o-form-group">
<input name="password" type="password" class="o-form-control" id="es-password" autocomplete="off" placeholder="<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PASSWORD');?>" />
<input name="password" type="password" class="o-form-control" id="es-password" autocomplete="off" placeholder="<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PASSWORD');?>" />
</div>
</div>
<?php if ($this->config->get('general.site.twofactor')) { ?>
<?php if ($this->config->get('general.site.twofactor')) { ?>
<div class="o-form-group">
<div class="o-form-group">
<label for="es-secretkey"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_SECRET');?>:</label>
<label for="es-secretkey"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_SECRET');?>:</label>
<input type="text" autocomplete="off" name="secretkey" class="form-control" id="es-secretkey">
<input type="text" autocomplete="off" name="secretkey" class="form-control" id="es-secretkey">
</div>
</div>
<?php } ?>
<?php } ?>
<div class="o-row">
<div class="o-row">
<div class="o-col o-col--8">
<div class="o-col o-col--8">
<div class="o-checkbox o-checkbox--sm">
<div class="o-checkbox o-checkbox--sm">
<input type="checkbox" id="es-remember" name="remember" />
<input type="checkbox" id="es-remember" name="remember" />
<label for="es-remember"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_REMEMBER_ME');?></label>
<label for="es-remember"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_REMEMBER_ME');?></label>
</div>
</div>
</div>
</div>
<div class="o-col">
<div class="o-col">
<button class="btn btn-es-primary t-lg-pull-right"><?php echo JText::_('COM_EASYSOCIAL_LOGIN_BUTTON');?></button>
<button class="btn btn-es-primary t-lg-pull-right"><?php echo JText::_('COM_EASYSOCIAL_LOGIN_BUTTON');?></button>
</div>
</div>
</div>
</div>
<?php if ($sso->hasSocialButtons()) { ?>
<?php if ($sso->hasSocialButtons()) { ?>
<div class="popbox-dropdown__social t-lg-mt--md">
<div class="popbox-dropdown__social t-lg-mt--md">
<?php foreach ($sso->getSocialButtons() as $socialButton) { ?>
<?php foreach ($sso->getSocialButtons() as $socialButton) { ?>
<div class="t-text--center t-lg-mt--md">
<div class="t-text--center t-lg-mt--md">
<?php echo $socialButton; ?>
<?php echo $socialButton; ?>
</div>
</div>
<?php } ?>
<?php } ?>
</div>
</div>
<?php } ?>
<?php } ?>
<input type="hidden" name="option" value="com_easysocial" />
<input type="hidden" name="option" value="com_easysocial" />
<input type="hidden" name="controller" value="account" />
<input type="hidden" name="controller" value="account" />
<input type="hidden" name="task" value="login" />
<input type="hidden" name="task" value="login" />
<input type="hidden" name="return" value="<?php echo $loginReturn;?>" />
<input type="hidden" name="return" value="<?php echo $loginReturn;?>" />
<?php echo $this->html( 'form.token' );?>
<?php echo $this->html( 'form.token' );?>
</form>
</form>
</div>
</div>
<div class="popbox-dropdown__ft">
<div class="popbox-dropdown__ft">
<ul class="g-list-inline g-list-inline--dashed t-text--center">
<ul class="g-list-inline g-list-inline--dashed t-text--center">
<?php if (!$this->config->get('registrations.emailasusername')) { ?>
<?php if (!$this->config->get('registrations.emailasusername')) { ?>
<li>
<li>
<a href="<?php echo ESR::account(array('layout' => 'forgetUsername'));?>" class="popbox-dropdown__note">
<a href="<?php echo ESR::account(array('layout' => 'forgetUsername'));?>" class="popbox-dropdown__note">
<?php echo JText::_('COM_EASYSOCIAL_REGISTRATION_FORGOT_USERNAME');?>
<?php echo JText::_('COM_EASYSOCIAL_REGISTRATION_FORGOT_USERNAME');?>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<li>
<li>
<a href="<?php echo ESR::account(array('layout' => 'forgetPassword'));?>" class="popbox-dropdown__note">
<a href="<?php echo ESR::account(array('layout' => 'forgetPassword'));?>" class="popbox-dropdown__note">
<?php echo JText::_('COM_EASYSOCIAL_REGISTRATION_FORGOT_PASSWORD');?>
<?php echo JText::_('COM_EASYSOCIAL_REGISTRATION_FORGOT_PASSWORD');?>
</a>
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<?php } ?>
<?php if ($this->isMobile()) { ?>
<?php if ($this->isMobile()) { ?>
<?php if ($search) { ?>
<?php if ($search) { ?>
<div class="o-nav__item">
<div class="o-nav__item">
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link" data-es-toolbar-search-toggle><i class="fa fa-search"></i></a>
<a href="javascript:void(0);" class="o-nav__link es-navbar__icon-link" data-es-toolbar-search-toggle><i class="fa fa-search"></i></a>
</div>
</div>
<?php } ?>
<?php } ?>
<div class="o-nav__item">
<div class="o-nav__item">
<a class="es-navbar__footer-toggle" href="javascript:void(0);" data-es-toolbar-toggle>
<a class="es-navbar__footer-toggle" href="javascript:void(0);" data-es-toolbar-toggle>
<i class="fa fa-bars"></i>
<i class="fa fa-bars"></i>
</a>
</a>
</div>
</div>
<?php } ?>
<?php } ?>
<?php if (!$this->my->guest && $profile && !$this->isMobile()){ ?>
<?php if (!$this->my->guest && $profile && !$this->isMobile()){ ?>
<div class="o-nav__item">
<div class="o-nav__item">
<a href="javascript:void(0);" class="o-nav__item es-navbar__icon-link"
<a href="javascript:void(0);" class="o-nav__item es-navbar__icon-link"
data-es-provide="tooltip" data-original-title="<?php echo "Paramètres";?>" data-placement="top"
data-toolbar-profile
data-toolbar-profile
data-popbox data-popbox-id="es"
data-popbox data-popbox-id="es"
data-popbox-component="popbox--navbar"
data-popbox-component="popbox--navbar"
data-popbox-type="navbar-profile"
data-popbox-type="navbar-profile"
data-popbox-toggle="click"
data-popbox-toggle="click"
data-popbox-position="bottom-right"
data-popbox-position="bottom-right"
data-popbox-target="[data-es-toolbar-profile-dropdown]"
data-popbox-target="[data-es-toolbar-profile-dropdown]"
data-popbox-offset="4">
data-popbox-offset="4">
<i class="fa fa-cog"></i>
<i class="fa fa-cog"></i>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_MORE_SETTINGS');?></span>
<span class="es-navbar__link-text"><?php echo JText::_('COM_EASYSOCIAL_MORE_SETTINGS');?></span>
</a>
</a>
<div class="t-hidden" data-es-toolbar-profile-dropdown>
<div class="t-hidden" data-es-toolbar-profile-dropdown>
<div class="popbox-dropdown">
<div class="popbox-dropdown">
<div class="popbox-dropdown__hd">
<div class="popbox-dropdown__hd">
<div class="o-media o-media--rev">
<div class="o-flag o-flag--rev">
<div class="o-media__body o-media__body--text-overflow">
<div class="o-flag__body">
<a class="es-user-name" href="<?php echo $this->my->getPermalink();?>"><?php echo $this->my->getName();?></a>
<a class="es-user-name" href="<?php echo $this->my->getPermalink();?>"><?php echo $this->my->getName();?></a>
</div>
</div>
<div class="o-media__image">
<div class="o-flag__image">
<?php echo $this->html('avatar.user', $this->my, 'sm', false, false);?>
<?php echo $this->html('avatar.user', $this->my, 'sm', false, false);?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="popbox-dropdown__bd">
<div class="popbox-dropdown__bd">
<div class="popbox-dropdown-nav">
<div class="popbox-dropdown-nav">
<?php if ($this->my->hasCommunityAccess()) { ?>
<?php if ($this->my->hasCommunityAccess()) { ?>
<div class="popbox-dropdown-nav__item ">
<div class="popbox-dropdown-nav__item ">
<span class="popbox-dropdown-nav__link">
<span class="popbox-dropdown-nav__link">
<div class="o-flag">
<div class="o-flag">
<div class="o-flag__image o-flag--top">
<div class="o-flag__image o-flag--top">
<i class="popbox-dropdown-nav__icon fa fa-user"></i>
<i class="popbox-dropdown-nav__icon fa fa-user"></i>
</div>
</div>
<div class="o-flag__body">
<div class="o-flag__body">
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_HEADING_ACCOUNT');?></div>
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_HEADING_ACCOUNT');?></div>
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<li>
<li>
<a href="<?php echo $this->my->getPermalink();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_VIEW_YOUR_PROFILE');?></a>
<a href="<?php echo $this->my->getPermalink();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_VIEW_YOUR_PROFILE');?></a>
</li>
</li>
<?php if ($showVerificationLink) { ?>
<?php if ($showVerificationLink) { ?>
<li>
<li>
<a href="<?php echo ESR::profile(array('layout' => 'submitVerification'));?>"><?php echo JText::_('COM_ES_SUBMIT_VERIFICATION');?></a>
<a href="<?php echo ESR::profile(array('layout' => 'submitVerification'));?>"><?php echo JText::_('COM_ES_SUBMIT_VERIFICATION');?></a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if (!$this->isMobile()) { ?>
<?php if (!$this->isMobile()) { ?>
<?php if ($this->config->get('friends.invites.enabled')) { ?>
<?php if ($this->config->get('friends.invites.enabled')) { ?>
<li>
<li>
<a href="<?php echo ESR::friends(array('layout' => 'invite'));?>">
<a href="<?php echo ESR::friends(array('layout' => 'invite'));?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_INVITE_FRIENDS');?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_INVITE_FRIENDS');?>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('badges.enabled')){ ?>
<?php if ($this->config->get('badges.enabled')){ ?>
<li>
<li>
<a href="<?php echo ESR::badges(array('layout' => 'achievements'));?>">
<a href="<?php echo ESR::badges(array('layout' => 'achievements'));?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_ACHIEVEMENTS');?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_ACHIEVEMENTS');?>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('points.enabled')){ ?>
<?php if ($this->config->get('points.enabled')){ ?>
<li>
<li>
<a href="<?php echo ESR::points(array('layout' => 'history' , 'userid' => $this->my->getAlias()));?>">
<a href="<?php echo ESR::points(array('layout' => 'history' , 'userid' => $this->my->getAlias()));?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_POINTS_HISTORY');?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_POINTS_HISTORY');?>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('conversations.enabled')){ ?>
<?php if ($this->config->get('conversations.enabled')){ ?>
<li>
<li>
<a href="<?php echo ESR::conversations();?>">
<a href="<?php echo ESR::conversations();?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_CONVERSATIONS');?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_CONVERSATIONS');?>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
</ol>
</ol>
</div>
</div>
</div>
</div>
</span>
</span>
</div>
</div>
<?php if (!$this->isMobile()) { ?>
<?php if (!$this->isMobile()) { ?>
<div class="popbox-dropdown-nav__item ">
<div class="popbox-dropdown-nav__item ">
<span class="popbox-dropdown-nav__link">
<span class="popbox-dropdown-nav__link">
<div class="o-flag">
<div class="o-flag">
<div class="o-flag__image o-flag--top">
<div class="o-flag__image o-flag--top">
<i class="popbox-dropdown-nav__icon fa fa-search"></i>
<i class="popbox-dropdown-nav__icon fa fa-search"></i>
</div>
</div>
<div class="o-flag__body">
<div class="o-flag__body">
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_DISCOVER');?></div>
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_DISCOVER');?></div>
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<li>
<li>
<a href="<?php echo ESR::search(array('layout' => 'advanced'));?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_ADVANCED_SEARCH');?></a>
<a href="<?php echo ESR::search(array('layout' => 'advanced'));?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_ADVANCED_SEARCH');?></a>
</li>
</li>
<?php if ($this->config->get('points.enabled')) { ?>
<?php if ($this->config->get('points.enabled')) { ?>
<li>
<li>
<a href="<?php echo ESR::leaderboard();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_LEADERBOARD');?></a>
<a href="<?php echo ESR::leaderboard();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_LEADERBOARD');?></a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('apps.browser')) { ?>
<?php if ($this->config->get('apps.browser')) { ?>
<li>
<li>
<a href="<?php echo ESR::apps();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_APPS');?></a>
<a href="<?php echo ESR::apps();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_APPS');?></a>
</li>
</li>
<?php } ?>
<?php } ?>
</ol>
</ol>
</div>
</div>
</div>
</div>
</span>
</span>
</div>
</div>
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
<div class="popbox-dropdown-nav__item ">
<div class="popbox-dropdown-nav__item ">
<span class="popbox-dropdown-nav__link">
<span class="popbox-dropdown-nav__link">
<div class="o-flag">
<div class="o-flag">
<div class="o-flag__image o-flag--top">
<div class="o-flag__image o-flag--top">
<i class="popbox-dropdown-nav__icon fa fa-user-circle-o"></i>
<i class="popbox-dropdown-nav__icon fa fa-user-circle-o"></i>
</div>
</div>
<div class="o-flag__body">
<div class="o-flag__body">
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_HEADING_PREFERENCES');?></div>
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_HEADING_PREFERENCES');?></div>
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<li>
<li>
<a href="<?php echo ESR::profile(array('layout' => 'edit'));?>">
<a href="<?php echo ESR::profile(array('layout' => 'edit'));?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_ACCOUNT_SETTINGS');?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_ACCOUNT_SETTINGS');?>
</a>
</a>
</li>
</li>
<?php if ($this->my->hasCommunityAccess()) { ?>
<?php if ($this->my->hasCommunityAccess()) { ?>
<?php if ($this->config->get('privacy.enabled')) { ?>
<?php if ($this->config->get('privacy.enabled')) { ?>
<li>
<li>
<a href="<?php echo ESR::profile(array('layout' => 'editPrivacy'));?>">
<a href="<?php echo ESR::profile(array('layout' => 'editPrivacy'));?>">
<?php echo JText::_('COM_EASYSOCIAL_MANAGE_PRIVACY');?>
<?php echo JText::_('COM_EASYSOCIAL_MANAGE_PRIVACY');?>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<li>
<li>
<a href="<?php echo ESR::profile(array('layout' => 'editNotifications'));?>">
<a href="<?php echo ESR::profile(array('layout' => 'editNotifications'));?>">
<?php echo JText::_('COM_EASYSOCIAL_MANAGE_ALERTS');?>
<?php echo JText::_('COM_EASYSOCIAL_MANAGE_ALERTS');?>
</a>
</a>
</li>
</li>
<?php if ($this->config->get('activity.logs.enabled')) { ?>
<?php if ($this->config->get('activity.logs.enabled')) { ?>
<li>
<li>
<a href="<?php echo ESR::activities();?>">
<a href="<?php echo ESR::activities();?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_ACTIVITIES');?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_ACTIVITIES');?>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
</ol>
</ol>
</div>
</div>
</div>
</div>
</span>
</span>
</div>
</div>
<?php if ($this->my->isSiteAdmin() || $this->my->getAccess()->get('pendings.manage')) { ?>
<?php if ($this->my->isSiteAdmin() || $this->my->getAccess()->get('pendings.manage')) { ?>
<div class="popbox-dropdown-nav__item ">
<div class="popbox-dropdown-nav__item ">
<span class="popbox-dropdown-nav__link">
<span class="popbox-dropdown-nav__link">
<div class="o-flag">
<div class="o-flag">
<div class="o-flag__image o-flag--top">
<div class="o-flag__image o-flag--top">
<i class="popbox-dropdown-nav__icon fa fa-cog"></i>
<i class="popbox-dropdown-nav__icon fa fa-cog"></i>
</div>
</div>
<div class="o-flag__body">
<div class="o-flag__body">
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_ES_TOOLBAR_PROFILE_HEADING_MANAGE');?></div>
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_ES_TOOLBAR_PROFILE_HEADING_MANAGE');?></div>
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<li>
<li>
<a href="<?php echo ESR::manage(array('layout' => 'clusters', 'filter' => 'event'));?>">
<a href="<?php echo ESR::manage(array('layout' => 'clusters', 'filter' => 'event'));?>">
<?php echo JText::_('COM_ES_TOOLBAR_PENDING_EVENTS');?>
<?php echo JText::_('COM_ES_TOOLBAR_PENDING_EVENTS');?>
</a>
</a>
</li>
</li>
<li>
<li>
<a href="<?php echo ESR::manage(array('layout' => 'clusters', 'filter' => 'group'));?>">
<a href="<?php echo ESR::manage(array('layout' => 'clusters', 'filter' => 'group'));?>">
<?php echo JText::_('COM_ES_TOOLBAR_PENDING_GROUPS');?>
<?php echo JText::_('COM_ES_TOOLBAR_PENDING_GROUPS');?>
</a>
</a>
</li>
</li>
<li>
<li>
<a href="<?php echo ESR::manage(array('layout' => 'clusters', 'filter' => 'page'));?>">
<a href="<?php echo ESR::manage(array('layout' => 'clusters', 'filter' => 'page'));?>">
<?php echo JText::_('COM_ES_TOOLBAR_PENDING_PAGES');?>
<?php echo JText::_('COM_ES_TOOLBAR_PENDING_PAGES');?>
</a>
</a>
</li>
</li>
</ol>
</ol>
</div>
</div>
</div>
</div>
</span>
</span>
</div>
</div>
<?php } ?>
<?php } ?>
<div class="popbox-dropdown-nav__item " data-es-logout>
<div class="popbox-dropdown-nav__item " data-es-logout>
<div class="popbox-dropdown-nav__item">
<div class="popbox-dropdown-nav__item">
<a href="javascript:void(0);" class="popbox-dropdown-nav__link" data-es-logout-button>
<a href="javascript:void(0);" class="popbox-dropdown-nav__link" data-es-logout-button>
<div class="o-flag">
<div class="o-flag">
<div class="o-flag__image o-flag--top">
<div class="o-flag__image o-flag--top">
<i class="popbox-dropdown-nav__icon fa fa-power-off"></i>
<i class="popbox-dropdown-nav__icon fa fa-power-off"></i>
</div>
</div>
<div class="o-flag__body">
<div class="o-flag__body">
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_LOGOUT');?></div>
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_LOGOUT');?></div>
<ol class="g-list-inline g-list-inline--delimited popbox-dropdown-nav__meta-lists">
<ol class="g-list-inline g-list-inline--delimited popbox-dropdown-nav__meta-lists">
<li>
<li>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_LOGOUT_INFO');?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_LOGOUT_INFO');?>
</li>
</li>
</ol>
</ol>
</div>
</div>
</div>
</div>
</a>
</a>
</div>
</div>
<form class="logout-form" action="<?php echo JRoute::_('index.php');?>" data-es-logout-form method="post">
<form class="logout-form" action="<?php echo JRoute::_('index.php');?>" data-es-logout-form method="post">
<input type="hidden" name="return" value="<?php echo $logoutReturn;?>" />
<input type="hidden" name="return" value="<?php echo $logoutReturn;?>" />
<input type="hidden" name="option" value="com_easysocial" />
<input type="hidden" name="option" value="com_easysocial" />
<input type="hidden" name="controller" value="account" />
<input type="hidden" name="controller" value="account" />
<input type="hidden" name="task" value="logout" />
<input type="hidden" name="task" value="logout" />
<input type="hidden" name="view" value="" />
<input type="hidden" name="view" value="" />
<?php echo $this->html('form.token'); ?>
<?php echo $this->html('form.token'); ?>
</form>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<?php } ?>
</nav>
</nav>
<?php if ($search) { ?>
<?php if ($search) { ?>
<?php echo $this->includeTemplate('site/toolbar/search'); ?>
<?php echo $this->includeTemplate('site/toolbar/search'); ?>
<?php } ?>
<?php } ?>
</div>
</div>
<div class="es-navbar__footer" data-es-toolbar-menu>
<div class="es-navbar__footer" data-es-toolbar-menu>
<div class="o-row">
<div class="o-row">
<ol class="g-list-inline g-list-inline--dashed es-navbar__footer-submenu">
<ol class="g-list-inline g-list-inline--dashed es-navbar__footer-submenu">
<?php if ($dashboard) { ?>
<?php if ($dashboard) { ?>
<li class="<?php echo $highlight == 'dashboard' ? 'is-active' : '';?> is-home">
<li class="<?php echo $highlight == 'dashboard' ? 'is-active' : '';?> is-home">
<a href="<?php echo ESR::dashboard();?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::dashboard();?>" class="es-navbar__footer-link">
<i class="fa fa-home"></i>
<i class="fa fa-home"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_HOME'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_HOME'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->my->id) { ?>
<?php if ($this->my->id) { ?>
<?php if ($this->isMobile()) { ?>
<?php if ($this->isMobile()) { ?>
<li>
<li>
<a href="<?php echo ESR::profile(array('layout' => 'edit'));?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::profile(array('layout' => 'edit'));?>" class="es-navbar__footer-link">
<i class="fa fa-pencil-square-o"></i>
<i class="fa fa-pencil-square-o"></i>
<span><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_EDIT_PROFILE'); ?></span>
<span><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_EDIT_PROFILE'); ?></span>
</a>
</a>
</li>
</li>
<?php if ($showVerificationLink) { ?>
<?php if ($showVerificationLink) { ?>
<li>
<li>
<a href="<?php echo ESR::profile(array('layout' => 'submitVerification'));?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::profile(array('layout' => 'submitVerification'));?>" class="es-navbar__footer-link">
<i class="fa fa-check-circle-o"></i>
<i class="fa fa-check-circle-o"></i>
<span><?php echo JText::_('COM_ES_SUBMIT_VERIFICATION');?></span>
<span><?php echo JText::_('COM_ES_SUBMIT_VERIFICATION');?></span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
<li class="<?php echo $highlight == 'profile' ? 'is-active' : '';?>">
<li class="<?php echo $highlight == 'profile' ? 'is-active' : '';?>">
<a href="<?php echo $this->my->getPermalink();?>" class="es-navbar__footer-link">
<a href="<?php echo $this->my->getPermalink();?>" class="es-navbar__footer-link">
<i class="fa fa-user"></i>
<i class="fa fa-user"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('pages.enabled')) { ?>
<?php if ($this->config->get('pages.enabled')) { ?>
<li class="<?php echo $highlight == 'pages' ? 'is-active' : '';?>">
<li class="<?php echo $highlight == 'pages' ? 'is-active' : '';?>">
<a href="<?php echo ESR::pages();?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::pages();?>" class="es-navbar__footer-link">
<i class="fa fa-columns"></i>
<i class="fa fa-columns"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_PAGES'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_PAGES'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('groups.enabled')) { ?>
<?php if ($this->config->get('groups.enabled')) { ?>
<li class="<?php echo $highlight == 'groups' ? 'is-active' : '';?>">
<li class="<?php echo $highlight == 'groups' ? 'is-active' : '';?>">
<a href="<?php echo ESR::groups();?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::groups();?>" class="es-navbar__footer-link">
<i class="fa fa-users"></i>
<i class="fa fa-users"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_GROUPS'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_GROUPS'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('events.enabled')) { ?>
<?php if ($this->config->get('events.enabled')) { ?>
<li class="<?php echo $highlight == 'events' ? 'is-active' : '';?>">
<li class="<?php echo $highlight == 'events' ? 'is-active' : '';?>">
<a href="<?php echo ESR::events();?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::events();?>" class="es-navbar__footer-link">
<i class="fa fa-calendar"></i>
<i class="fa fa-calendar"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_EVENTS'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_EVENTS'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->my->id) { ?>
<?php if ($this->my->id) { ?>
<?php if ($this->config->get('friends.enabled')) { ?>
<?php if ($this->config->get('friends.enabled')) { ?>
<li class="<?php echo $highlight == 'friends' ? 'is-active' : '';?>">
<li class="<?php echo $highlight == 'friends' ? 'is-active' : '';?>">
<a href="<?php echo ESR::friends();?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::friends();?>" class="es-navbar__footer-link">
<i class="fa fa-users"></i>
<i class="fa fa-users"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FRIENDS'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FRIENDS'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('friends.invites.enabled') && $this->isMobile()) { ?>
<?php if ($this->config->get('friends.invites.enabled') && $this->isMobile()) { ?>
<li>
<li>
<a href="<?php echo ESR::friends(array('layout' => 'invite'));?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::friends(array('layout' => 'invite'));?>" class="es-navbar__footer-link">
<i class="fa fa-envelope-o"></i>
<i class="fa fa-envelope-o"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_INVITE_FRIENDS'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_INVITE_FRIENDS'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('followers.enabled')) { ?>
<?php if ($this->config->get('followers.enabled')) { ?>
<li class="<?php echo $highlight == 'followers' ? 'is-active' : '';?>">
<li class="<?php echo $highlight == 'followers' ? 'is-active' : '';?>">
<a href="<?php echo ESR::followers();?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::followers();?>" class="es-navbar__footer-link">
<i class="fa fa-users"></i>
<i class="fa fa-users"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FOLLOWERS'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_FOLLOWERS'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('video.enabled')) { ?>
<?php if ($this->config->get('video.enabled')) { ?>
<li class="<?php echo $highlight == 'videos' ? 'is-active' : '';?>">
<li class="<?php echo $highlight == 'videos' ? 'is-active' : '';?>">
<a href="<?php echo ESR::videos();?>" class="es-navbar__footer-link">
<a href="<?php echo ESR::videos();?>" class="es-navbar__footer-link">
<i class="fa fa-video-camera"></i>
<i class="fa fa-video-camera"></i>
<span>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_VIDEOS'); ?>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_VIDEOS'); ?>
</span>
</span>
</a>
</a>
</li>
</li>
<?php } ?>
<?php } ?>
<?php if ($this->config->get('audio.enabled')) { ?>
<li class="<?php echo $highlight == 'audios' ? 'is-active' : '';?>">
<!----- ******************************************************************************************************* -->
<a href="<?php echo ESR::audios();?>" class="es-navbar__footer-link">
<!--
<i class="fa fa-music"></i>
<li>
<span>
<div class="es-profile-header-nav__item ">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_AUDIOS'); ?>
<div class="btn-group">
</span>
<a href="javascript:void(0);" class="es-profile-header-nav__link dropdown-toggle_" data-bs-toggle="dropdown" data-button="">
</a>
</li>
<?php } ?>
<?php if ($this->config->get('photos.enabled')) { ?>
<li class="<?php echo $highlight == 'albums' ? 'is-active' : '';?>">
<a href="<?php echo ESR::albums();?>" class="es-navbar__footer-link">
<i class="fa fa-photo"></i>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_PHOTOS');?>
</span>
</a>
</li>
<?php } ?>
<li class="<?php echo $highlight == 'users' ? 'is-active' : '';?>">
<a href="<?php echo ESR::users();?>" class="es-navbar__footer-link">
<i class="fa fa-users"></i>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PEOPLE');?>
</span>
</a>
</li>
<?php if ($this->config->get('polls.enabled')) { ?>
<li class="<?php echo $highlight == 'polls' ? 'is-active' : '';?>">
<a href="<?php echo ESR::polls();?>" class="es-navbar__footer-link">
<i class="fa fa-bar-chart"></i>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_POLLS');?>
</span>
</a>
</li>
<?php } ?>
<?php if ($this->isMobile() && $this->my->id) { ?>
<li class="<?php echo $view == 'conversations' ? 'is-active' : '';?>">
<a href="<?php echo ESR::conversations();?>" class="es-navbar__footer-link">
<i class="fa fa-comment"></i>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_CONVERSATIONS');?>
</span>
</a>
</li>
<li class="<?php echo $view == 'conversations' ? 'is-active' : '';?>" data-es-logout>
<a href="javascript:void(0);" class="es-navbar__footer-link" data-es-logout-button>
<i class="fa fa-power-off"></i>
<span>
<?php echo JText::_('Logout');?>
</span>
</a>
<form class="logout-form" acti