Skip to content

Commit

Permalink
Fix Language Debug at the isis login view
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 authored and wilsonge committed Apr 23, 2014
1 parent 0a18e21 commit 11b4e56
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions administrator/templates/isis/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
$itemid = $app->input->getCmd('Itemid', '');
$sitename = $app->getCfg('sitename');

// Check if debug is on
$config = JFactory::getConfig();
$debug = (boolean) $config->get('debug');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
Expand All @@ -66,7 +63,8 @@
padding: 4px 10px 4px;
}
}
<?php if ($debug) : ?>
<?php // Check if debug is on ?>
<?php if ($app->getCfg('debug_lang') == '1' or $app->getCfg('debug') == '1') : ?>
.view-login .container {
position: static;
margin-top: 20px;
Expand Down

0 comments on commit 11b4e56

Please sign in to comment.