It is there. I have checked just now.
- Code: Select all
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
// getting user ID
$user = JFactory::getUser();
$userID = $user->get('id');
?>
<?php if($this->API->modules('login') && !GK_COM_USERS) : ?>
<div id="gkPopupLogin">
<div class="gkPopupWrap">
<div id="loginForm">
<h3><?php echo JText::_(($userID == 0) ? 'TPL_GK_LANG_LOGIN_POPUP' : 'TPL_GK_LANG_LOGOUT_POPUP'); ?> <?php if($userID == 0) : ?><small><?php echo JText::_('TPL_GK_LANG_OR'); ?><a href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&view=registration"><?php echo JText::_('TPL_GK_LANG_REGISTER_POPUP'); ?></a></small><?php endif; ?></h3>
<div class="clear overflow">
<?php if($userID > 0) : ?>
<div class="gkUserdata">
<?php endif; ?>
<jdoc:include type="modules" name="login" style="<?php echo $this->module_styles['login']; ?>" />
<?php if($userID > 0) : ?>
</div>
<?php endif; ?>
<?php if($userID > 0) : ?>
<div class="gkUsermenu">
<jdoc:include type="modules" name="usermenu" style="<?php echo $this->module_styles['usermenu']; ?>" />
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div id="gkPopupOverlay"></div>
Secondly, I also get following error in JS console
"The "fb-root" div has not been created, auto-creating"