Skip to content
Browse files

# [#29144] error.php for Isis and Protostar Templates. Thanks Kyle

  • Loading branch information...
1 parent 469e5e0 commit a56719a91020e149528ff01d43162214f5ceb20f @kyleledbetter kyleledbetter committed with infograf768 Sep 13, 2012
View
4 administrator/templates/isis/component.php
@@ -13,6 +13,8 @@
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$lang = JFactory::getLanguage();
+$this->language = $doc->language;
+$this->direction = $doc->direction;
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
@@ -34,7 +36,7 @@
?>
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
View
275 administrator/templates/isis/error.php
@@ -0,0 +1,275 @@
+<?php
+/**
+ * @package Joomla.Administrator
+ * @subpackage Templates.isis
+ * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ * @since 3.0
+ */
+
+defined('_JEXEC') or die;
+
+// Getting params from template
+$params = JFactory::getApplication()->getTemplate(true)->params;
+
+$app = JFactory::getApplication();
+$doc = JFactory::getDocument();
+$lang = JFactory::getLanguage();
+$this->language = $doc->language;
+$this->direction = $doc->direction;
+$input = $app->input;
+$user = JFactory::getUser();
+
+// Add JavaScript Frameworks
+JHtml::_('bootstrap.framework');
+JHtml::_('jquery.ui');
+
+// Detecting Active Variables
+$option = $input->get('option', '');
+$view = $input->get('view', '');
+$layout = $input->get('layout', '');
+$task = $input->get('task', '');
+$itemid = $input->get('Itemid', '');
+$sitename = $app->getCfg('sitename');
+
+$cpanel = ($option === 'com_cpanel');
+
+$showSubmenu = false;
+$this->submenumodules = JModuleHelper::getModules('submenu');
+foreach ($this->submenumodules as $submenumodule)
+{
+ $output = JModuleHelper::renderModule($submenumodule);
+ if (strlen($output))
+ {
+ $showSubmenu = true;
+ break;
+ }
+}
+
+// Logo file
+if ($params->get('logoFile'))
+{
+ $logo = JURI::root() . $params->get('logoFile');
+}
+else
+{
+ $logo = $this->baseurl . "/templates/" . $this->template . "/images/logo.png";
+}
+?>
+<!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; ?>">
+<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title><?php echo $this->title; ?> <?php echo $this->error->getMessage();?></title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="language" content="<?php echo $this->language; ?>" />
+ <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
+ <?php
+ // If Right-to-Left
+ if ($this->direction == 'rtl')
+ {
+ ?>
+ <link rel="stylesheet" href="<?php echo JURI::root() ?>/media/jui/css/bootstrap-rtl.css" type="text/css" />
+ <?php
+ }
+ // Load specific language related CSS
+ $file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css';
+ if (is_file($file))
+ {
+ ?>
+ <link rel="stylesheet" href="<?php echo $file;?>" type="text/css" />
+ <?php
+ }
+ // Use of Google Font
+ if ($params->get('googleFont'))
+ {
+ ?>
+ <link href='http://fonts.googleapis.com/css?family=<?php echo $params->get('googleFontName');?>' rel='stylesheet' type='text/css'>
+ <?php
+ }
+ ?>
+
+ <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
+ <?php
+ // Template color
+ if ($params->get('templateColor'))
+ {
+ ?>
+ <style type="text/css">
+ .header, .navbar-inner, .navbar-inverse .navbar-inner, .nav-list > .active > a, .nav-list > .active > a:hover, .dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover, .navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle
+ {
+ background: <?php echo $params->get('templateColor');?>;
+ }
+ .navbar-inner, .navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle{
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
+ box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
+ }
+ </style>
+ <?php
+ }
+ ?>
+ <script src="<?php echo JURI::root() ?>/media/jui/js/jquery.min.js" type="text/javascript"></script>
+ <script src="<?php echo JURI::root() ?>/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
+ <script src="<?php echo JURI::root() ?>/media/jui/js/bootstrap.min.js" type="text/javascript"></script>
+</head>
+
+<body class="admin <?php echo $option . " view-" . $view . " layout-" . $layout . " task-" . $task . " ";?>" data-spy="scroll" data-target=".subhead" data-offset="87">
+ <!-- Top Navigation -->
+ <nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="navbar-inner">
+ <div class="container-fluid">
+ <?php if ($params->get('admin_menus') != '0') : ?>
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <?php endif; ?>
+ <a class="brand" href="<?php echo JURI::root(); ?>" title="<?php echo JText::_('JGLOBAL_PREVIEW');?> <?php echo $sitename; ?>" target="_blank"><?php echo JHtml::_('string.truncate', $sitename, 14, false, false);?> <i class="icon-out-2 small"></i></a>
+ <?php if ($params->get('admin_menus') != '0') : ?>
+ <div class="nav-collapse">
+ <?php else : ?>
+ <div>
+ <?php endif; ?>
+ <?php
+ // Display menu modules
+ $this->menumodules = JModuleHelper::getModules('menu');
+ foreach ($this->menumodules as $menumodule) {
+ $output = JModuleHelper::renderModule($menumodule, array('style' => 'none'));
+ $params = new JRegistry;
+ $params->loadString($menumodule->params);
+ echo $output;
+ }
+ ?>
+ <ul class="<?php if ($this->direction == 'rtl') : ?>nav<?php else : ?>nav pull-right<?php endif; ?>">
+ <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"><?php echo $user->username; ?> <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li class=""><a href="index.php?option=com_admin&task=profile.edit&id=<?php echo $user->id;?>"><?php echo JText::_('TPL_ISIS_EDIT_ACCOUNT');?></a></li>
+ <li class="divider"></li>
+ <li class=""><a href="<?php echo JRoute::_('index.php?option=com_login&task=logout&'. JSession::getFormToken() .'=1');?>"><?php echo JText::_('TPL_ISIS_LOGOUT');?></a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ <!--/.nav-collapse -->
+ </div>
+ </div>
+ </nav>
+ <!-- Header -->
+ <header class="header">
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <div class="span2 container-logo">
+ <a class="logo" href="<?php echo $this->baseurl; ?>"><img src="<?php echo $logo;?>" alt="<?php echo $sitename; ?>" /></a>
+ </div>
+ <div class="span10">
+ <h1 class="page-title"><?php echo JText::_('ERROR'); ?></h1>
+ </div>
+ </div>
+ </div>
+ </header>
+ <div class="subhead-spacer" style="margin-bottom: 20px"></div>
+ <!-- container-fluid -->
+ <div class="container-fluid container-main">
+ <section id="content">
+ <!-- Begin Content -->
+ <div class="row-fluid">
+ <div class="span12">
+ <!-- Begin Content -->
+ <h1 class="page-header"><?php echo JText::_('JERROR_AN_ERROR_HAS_OCCURRED'); ?></h1>
+ <blockquote>
+ <span class="label label-inverse"><?php echo $this->error->getCode(); ?></span> <?php echo $this->error->getMessage();?>
+ </blockquote>
+ <p><a href="<?php echo $this->baseurl; ?>" class="btn"><i class="icon-dashboard"></i> <?php echo JText::_('JGLOBAL_TPL_CPANEL_LINK_TEXT'); ?></a></p>
+ <!-- End Content -->
+ </div>
+ </div>
+ <!-- End Content -->
+ </section>
+ <hr />
+ </div>
+ <!-- Begin Status Module -->
+ <div id="status" class="navbar navbar-fixed-bottom hidden-phone">
+ <div class="btn-toolbar">
+ <div class="btn-group pull-right">
+ <p>&copy; <?php echo $sitename; ?> <?php echo date('Y');?></p>
+ </div>
+ <?php
+ // Display status modules
+ $this->statusmodules = JModuleHelper::getModules('status');
+ foreach ($this->statusmodules as $statusmodule) {
+ $output = JModuleHelper::renderModule($statusmodule, array('style' => 'no'));
+ $params = new JRegistry;
+ $params->loadString($statusmodule->params);
+ echo $output;
+ }
+ ?>
+ </div>
+ </div>
+ <!-- End Status Module -->
+ <script>
+ (function($){
+ $('*[rel=tooltip]').tooltip()
+ $('*[rel=popover]').popover({
+ trigger: 'hover'
+ })
+
+ // fix sub nav on scroll
+ var $win = $(window)
+ , $nav = $('.subhead')
+ , navTop = $('.subhead').length && $('.subhead').offset().top - 40
+ , isFixed = 0
+
+ processScroll()
+
+ // hack sad times - holdover until rewrite for 2.1
+ $nav.on('click', function () {
+ if (!isFixed) setTimeout(function () { $win.scrollTop($win.scrollTop() - 47) }, 10)
+ })
+
+ $win.on('scroll', processScroll)
+
+ function processScroll() {
+ var i, scrollTop = $win.scrollTop()
+ if (scrollTop >= navTop && !isFixed) {
+ isFixed = 1
+ $nav.addClass('subhead-fixed')
+ } else if (scrollTop <= navTop && isFixed) {
+ isFixed = 0
+ $nav.removeClass('subhead-fixed')
+ }
+ }
+
+ // Turn radios into btn-group
+ $('.radio.btn-group label').addClass('btn');
+ $(".btn-group label:not(.active)").click(function() {
+ var label = $(this);
+ var input = $('#' + label.attr('for'));
+
+ if (!input.prop('checked')) {
+ label.closest('.btn-group').find("label").removeClass('active btn-success btn-danger btn-primary');
+ if(input.val()== '') {
+ label.addClass('active btn-primary');
+ } else if(input.val()==0) {
+ label.addClass('active btn-danger');
+ } else {
+ label.addClass('active btn-success');
+ }
+ input.prop('checked', true);
+ }
+ });
+ $(".btn-group input[checked=checked]").each(function() {
+ if($(this).val()== '') {
+ $("label[for=" + $(this).attr('id') + "]").addClass('active btn-primary');
+ } else if($(this).val()==0) {
+ $("label[for=" + $(this).attr('id') + "]").addClass('active btn-danger');
+ } else {
+ $("label[for=" + $(this).attr('id') + "]").addClass('active btn-success');
+ }
+ });
+ })(jQuery);
+ </script>
+</body>
+</html>
View
4 administrator/templates/isis/index.php
@@ -12,6 +12,8 @@
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$lang = JFactory::getLanguage();
+$this->language = $doc->language;
+$this->direction = $doc->direction;
$input = $app->input;
$user = JFactory::getUser();
@@ -68,7 +70,7 @@
}
?>
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<jdoc:include type="head" />
View
3 installation/CHANGELOG
@@ -26,6 +26,9 @@ $ -> Language fix or change
- -> Removed
! -> Note
+13-Sept-2012 Jean-Marie Simonet
+ # [#29144] error.php for Isis and Protostar Templates. Thanks Kyle
+
11-Sept-2012 Jean-Marie Simonet
# Installation languages alpha ordering broken on hosts. Adding method. Thanks Dennis
View
7 templates/protostar/component.php
@@ -8,9 +8,14 @@
*/
defined('_JEXEC') or die;
+
+$app = JFactory::getApplication();
+$doc = JFactory::getDocument();
+$this->language = $doc->language;
+$this->direction = $doc->direction;
?>
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
View
201 templates/protostar/error.php
@@ -0,0 +1,201 @@
+<?php
+/**
+ * @package Joomla.Administrator
+ * @subpackage Templates.protostar
+ *
+ * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+defined('_JEXEC') or die;
+
+// Getting params from template
+$params = JFactory::getApplication()->getTemplate(true)->params;
+
+$app = JFactory::getApplication();
+$doc = JFactory::getDocument();
+$this->language = $doc->language;
+$this->direction = $doc->direction;
+
+// Detecting Active Variables
+$option = $app->input->getCmd('option', '');
+$view = $app->input->getCmd('view', '');
+$layout = $app->input->getCmd('layout', '');
+$task = $app->input->getCmd('task', '');
+$itemid = $app->input->getCmd('Itemid', '');
+$sitename = $app->getCfg('sitename');
+
+if($task == "edit" || $layout == "form" )
+{
+ $fullWidth = 1;
+}
+else
+{
+ $fullWidth = 0;
+}
+
+// Add JavaScript Frameworks
+JHtml::_('bootstrap.framework');
+
+// Add current user information
+$user = JFactory::getUser();
+
+
+// Logo file
+if ($params->get('logoFile'))
+{
+ $logo = JURI::root() . $params->get('logoFile');
+}
+else
+{
+ $logo = $this->baseurl . "/templates/" . $this->template . "/images/logo.png";
+}
+?>
+<!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; ?>">
+<head>
+ <title><?php echo $this->title; ?> <?php echo $this->error->getMessage();?></title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="language" content="<?php echo $this->language; ?>" />
+ <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
+ <?php
+ // If Right-to-Left
+ if ($this->direction == 'rtl')
+ {
+ ?>
+ <link rel="stylesheet" href="<?php echo $this->baseurl ?>/media/jui/css/bootstrap-rtl.css" type="text/css" />
+ <?php
+ }
+ // Use of Google Font
+ if ($params->get('googleFont'))
+ {
+ ?>
+ <link href='http://fonts.googleapis.com/css?family=<?php echo $params->get('googleFontName');?>' rel='stylesheet' type='text/css'>
+ <?php
+ }
+ ?>
+ <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
+ <?php
+ // Template color
+ if ($params->get('templateColor'))
+ {
+ ?>
+ <style type="text/css">
+ body.site
+ {
+ border-top: 3px solid <?php echo $params->get('templateColor');?>;
+ background-color: <?php echo $params->get('templateBackgroundColor');?>
+ }
+ a
+ {
+ color: <?php echo $params->get('templateColor');?>;
+ }
+ .navbar-inner, .nav-list > .active > a, .nav-list > .active > a:hover, .dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover, .nav-pills > .active > a, .nav-pills > .active > a:hover
+ {
+ background: <?php echo $params->get('templateColor');?>;
+ }
+ .navbar-inner
+ {
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
+ box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
+ }
+ </style>
+ <?php
+ }
+ ?>
+</head>
+
+<body class="site <?php echo $option . " view-" . $view . " layout-" . $layout . " task-" . $task . " itemid-" . $itemid . " ";?> <?php if ($params->get('fluidContainer')) { echo "fluid"; } ?>">
+
+ <!-- Body -->
+ <div class="body">
+ <div class="container<?php if ($params->get('fluidContainer')) { echo "-fluid"; } ?>">
+ <!-- Header -->
+ <div class="header">
+ <div class="header-inner">
+ <a class="brand pull-left" href="<?php echo $this->baseurl; ?>">
+ <img src="<?php echo $logo;?>" alt="<?php echo $sitename; ?>" />
+ </a>
+ <div class="header-search pull-right">
+ <?php
+ // Display position-0 modules
+ $this->searchmodules = JModuleHelper::getModules('position-0');
+ foreach ($this->searchmodules as $searchmodule) {
+ $output = JModuleHelper::renderModule($searchmodule, array('style' => 'none'));
+ $params = new JRegistry;
+ $params->loadString($searchmodule->params);
+ echo $output;
+ }
+ ?>
+ </div>
+ <div class="clearfix"></div>
+ </div>
+ </div>
+ <div class="navigation">
+ <?php
+ // Display position-1 modules
+ $this->navmodules = JModuleHelper::getModules('position-1');
+ foreach ($this->navmodules as $navmodule) {
+ $output = JModuleHelper::renderModule($navmodule, array('style' => 'none'));
+ $params = new JRegistry;
+ $params->loadString($navmodule->params);
+ echo $output;
+ }
+ ?>
+ </div>
+ <!-- Banner -->
+ <div class="banner">
+ <jdoc:include type="modules" name="banner" style="xhtml" />
+ </div>
+ <div class="row-fluid">
+ <div id="content" class="span12">
+ <!-- Begin Content -->
+ <h1 class="page-header"><?php echo JText::_('JERROR_LAYOUT_PAGE_NOT_FOUND'); ?></h1>
+ <div class="well">
+ <div class="row-fluid">
+ <div class="span6">
+ <p><strong><?php echo JText::_('JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST'); ?></strong></p>
+ <p><?php echo JText::_('JERROR_LAYOUT_NOT_ABLE_TO_VISIT'); ?></p>
+ <ul>
+ <li><?php echo JText::_('JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li>
+ <li><?php echo JText::_('JERROR_LAYOUT_MIS_TYPED_ADDRESS'); ?></li>
+ <li><?php echo JText::_('JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING'); ?></li>
+ <li><?php echo JText::_('JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE'); ?></li>
+ </ul>
+ </div>
+ <div class="span6">
+ <p><strong><?php echo JText::_('JERROR_LAYOUT_SEARCH'); ?></strong></p>
+ <p><?php echo JText::_('JERROR_LAYOUT_SEARCH_PAGE'); ?></p>
+ <?php
+ $module = JModuleHelper::getModule('search');
+ echo JModuleHelper::renderModule($module);
+ ?>
+ <p><?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?></p>
+ <p><a href="<?php echo $this->baseurl; ?>" class="btn"><i class="icon-home"></i> <?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a></p>
+ </div>
+ </div>
+ <hr />
+ <p><?php echo JText::_('JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?></p>
+ <blockquote>
+ <span class="label label-inverse"><?php echo $this->error->getCode(); ?></span> <?php echo $this->error->getMessage();?>
+ </blockquote>
+ </div>
+ <!-- End Content -->
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- Footer -->
+ <div class="footer">
+ <div class="container<?php if ($params->get('fluidContainer')) { echo "-fluid"; } ?>">
+ <hr />
+ <jdoc:include type="modules" name="footer" style="none" />
+ <p class="pull-right"><a href="#top" id="back-top">Back to top</a></p>
+ <p>&copy; <?php echo $sitename; ?> <?php echo date('Y');?></p>
+ </div>
+ </div>
+ <jdoc:include type="modules" name="debug" style="none" />
+</body>
+</html>
View
4 templates/protostar/index.php
@@ -11,6 +11,8 @@
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
+$this->language = $doc->language;
+$this->direction = $doc->direction;
// Detecting Active Variables
$option = $app->input->getCmd('option', '');
@@ -73,7 +75,7 @@
}
?>
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php

0 comments on commit a56719a

Please sign in to comment.
Something went wrong with that request. Please try again.