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" />');
|
$out->addHeadItem('ie-meta', '<meta http-equiv="X-UA-Compatible" content="IE=edge" />');
|
||||||
break;
|
break;
|
||||||
case 2:
|
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');
|
header('X-UA-Compatible: IE=edge');
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$out->addModuleStyles('skins.pivot');
|
$out->addModuleStyles('skins.pivot');
|
||||||
@ -92,7 +93,10 @@ class pivotTemplate extends BaseTemplate {
|
|||||||
<!-- START PIVOTTEMPLATE -->
|
<!-- START PIVOTTEMPLATE -->
|
||||||
<div class="off-canvas-wrap docs-wrap" data-offcanvas="">
|
<div class="off-canvas-wrap docs-wrap" data-offcanvas="">
|
||||||
<div class="inner-wrap">
|
<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">
|
<nav class="tab-bar">
|
||||||
<section id="left-nav-aside" class="left-small show-for-small">
|
<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>
|
<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>
|
||||||
|
|
||||||
<section id="right-nav-aside" class="right-small">
|
<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>
|
</section>
|
||||||
</nav>
|
</nav>
|
||||||
<?php if ($wgPivotFeatures['fixedNavBar'] != false) echo "</div>"; ?>
|
<?php if ($wgPivotFeatures['fixedNavBar'] != false) {
|
||||||
|
echo "</div>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
<aside class="left-off-canvas-menu">
|
<aside class="left-off-canvas-menu">
|
||||||
<ul class="off-canvas-list">
|
<ul class="off-canvas-list">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user