mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-24 11:29:04 +01:00
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
parent
7eff07545e
commit
73635d3bfa
@ -38,8 +38,9 @@ class Skinpivot extends SkinTemplate {
|
||||
$out->addHeadItem('ie-meta', '<meta http-equiv="X-UA-Compatible" content="IE=edge" />');
|
||||
break;
|
||||
case 2:
|
||||
if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
|
||||
if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) {
|
||||
header('X-UA-Compatible: IE=edge');
|
||||
}
|
||||
break;
|
||||
}
|
||||
$out->addModuleStyles('skins.pivot');
|
||||
@ -92,7 +93,10 @@ class pivotTemplate extends BaseTemplate {
|
||||
<!-- START PIVOTTEMPLATE -->
|
||||
<div class="off-canvas-wrap docs-wrap" data-offcanvas="">
|
||||
<div class="inner-wrap">
|
||||
<?php if ($wgPivotFeatures['fixedNavBar'] != false) echo "<div class='fixed'>"; ?>
|
||||
<?php if ($wgPivotFeatures['fixedNavBar'] != false) {
|
||||
echo "<div class='fixed'>";
|
||||
}
|
||||
?>
|
||||
<nav class="tab-bar">
|
||||
<section id="left-nav-aside" class="left-small show-for-small">
|
||||
<a class="left-off-canvas-toggle"><span id="menu-user"><i class="fa fa-navicon fa-lg"></i></span></a>
|
||||
@ -109,10 +113,16 @@ class pivotTemplate extends BaseTemplate {
|
||||
</section>
|
||||
|
||||
<section id="right-nav-aside" class="right-small">
|
||||
<a class="right-off-canvas-toggle"><span id="menu-user"><i class="fa <?php if ($wgUser->isLoggedIn()): ?>fa-user<?php else: ?>fa-navicon<?php endif; ?> fa-lg"></i></span></a>
|
||||
<a class="right-off-canvas-toggle"><span id="menu-user"><i class="fa <?php if ($wgUser->isLoggedIn()): ?>fa-user<?php else {
|
||||
: ?>fa-navicon<?php endif;
|
||||
}
|
||||
?> fa-lg"></i></span></a>
|
||||
</section>
|
||||
</nav>
|
||||
<?php if ($wgPivotFeatures['fixedNavBar'] != false) echo "</div>"; ?>
|
||||
<?php if ($wgPivotFeatures['fixedNavBar'] != false) {
|
||||
echo "</div>";
|
||||
}
|
||||
?>
|
||||
<aside class="left-off-canvas-menu">
|
||||
<ul class="off-canvas-list">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user