Skip to content

Commit

Permalink
Update login.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Jun 17, 2014
1 parent be48dd7 commit b357676
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions administrator/templates/isis/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,23 @@

defined('_JEXEC') or die;

$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$lang = JFactory::getLanguage();

// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
JHtml::_('bootstrap.tooltip');

// Add Stylesheets
$doc->addStyleSheet('templates/' .$this->template. '/css/template.css');
$doc->addStyleSheet('templates/' . $this->template . '/css/template.css');

// Load optional RTL Bootstrap CSS
JHtml::_('bootstrap.loadCss', false, $this->direction);

// Load specific language related CSS
$file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css';

if (is_file($file))
{
$doc->addStyleSheet($file);
Expand Down Expand Up @@ -91,7 +92,7 @@
<jdoc:include type="component" />
</div>
<noscript>
<?php echo JText::_('JGLOBAL_WARNJAVASCRIPT') ?>
<?php echo JText::_('JGLOBAL_WARNJAVASCRIPT'); ?>
</noscript>
<!-- End Content -->
</div>
Expand All @@ -100,8 +101,8 @@
<p class="pull-right">
&copy; <?php echo date('Y'); ?> <?php echo $sitename; ?>
</p>
<a class="login-joomla" href="http://www.joomla.org" target="_blank" class="hasTooltip" title="<?php echo JHtml::tooltipText('TPL_ISIS_ISFREESOFTWARE');?>">Joomla!&#174;</a>
<a href="<?php echo JUri::root(); ?>" target="_blank" class="pull-left"><i class="icon-share icon-white"></i> <?php echo JText::_('COM_LOGIN_RETURN_TO_SITE_HOME_PAGE') ?></a>
<a class="login-joomla" href="http://www.joomla.org" target="_blank" class="hasTooltip" title="<?php echo JHtml::tooltipText('TPL_ISIS_ISFREESOFTWARE'); ?>">Joomla!&#174;</a>
<a href="<?php echo JUri::root(); ?>" target="_blank" class="pull-left"><i class="icon-share icon-white"></i> <?php echo JText::_('COM_LOGIN_RETURN_TO_SITE_HOME_PAGE'); ?></a>
</div>
<jdoc:include type="modules" name="debug" style="none" />
</body>
Expand Down

0 comments on commit b357676

Please sign in to comment.