mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-24 19:39:04 +01:00
Fixes
This commit is contained in:
parent
c7887308c0
commit
25daa36056
@ -97,11 +97,11 @@ class pivotTemplate extends BaseTemplate {
|
||||
<div class="inner-wrap">
|
||||
<?php if ($wgPivotFeatures['fixedNavBar'] != false) echo "<div class='fixed'>";?>
|
||||
<nav class="tab-bar">
|
||||
<section 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>
|
||||
</section>
|
||||
|
||||
<section class="middle tab-bar-section">
|
||||
<section id="middle-nav" class="middle tab-bar-section">
|
||||
<h1 class="title"><a href="<?php echo $this->data['nav_urls']['mainpage']['href']; ?>">
|
||||
<span class="show-for-medium-up"><?php echo $wgPivotFeatures['wikiNameDesktop']; ?></span>
|
||||
<span class="show-for-small-only">
|
||||
@ -111,8 +111,8 @@ class pivotTemplate extends BaseTemplate {
|
||||
<?php echo $wgPivotFeatures['wikiName']; ?></span></a></h1>
|
||||
</section>
|
||||
|
||||
<section class="right-small">
|
||||
<a class="right-off-canvas-toggle"><span id="menu-user"><i class="fa fa-user fa-lg"></i></span></a>
|
||||
<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>
|
||||
</section>
|
||||
</nav>
|
||||
<?php if ($wgPivotFeatures['fixedNavBar'] != false) echo "</div>";?>
|
||||
@ -120,10 +120,10 @@ class pivotTemplate extends BaseTemplate {
|
||||
<ul class="off-canvas-list">
|
||||
|
||||
<li class="has-form">
|
||||
<form action="/w/index.php" id="searchform" class="mw-search">
|
||||
<form action="/w/index.php" id="searchform-offcanvas" class="mw-search">
|
||||
<div class="row collapse">
|
||||
<div class="small-12 columns">
|
||||
<input type="search" name="search" placeholder="Search" title="Search [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off">
|
||||
<input type="search" name="search" placeholder="Search" title="Search [alt-shift-f]" accesskey="f" id="searchInput-offcanvas" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -138,6 +138,7 @@ class pivotTemplate extends BaseTemplate {
|
||||
<?php } ?>
|
||||
<li><label></i>Toolbox</label></li>
|
||||
<?php foreach ( $this->getToolbox() as $key => $item ) { echo $this->makeListItem($key, $item); } ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<aside class="right-off-canvas-menu">
|
||||
@ -157,7 +158,7 @@ class pivotTemplate extends BaseTemplate {
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<section class="main-section" <?php if ($wgPivotFeatures['fixedNavBar'] != false) echo "style='margin-top:2.8125em'"; ?>>
|
||||
<section id="main-section" class="main-section" <?php if ($wgPivotFeatures['fixedNavBar'] != false) echo "style='margin-top:2.8125em'"; ?>>
|
||||
|
||||
<div id="page-content">
|
||||
|
||||
@ -224,10 +225,11 @@ class pivotTemplate extends BaseTemplate {
|
||||
$displaytitle = str_replace($pagetitle, $newtitle, $displaytitle);
|
||||
?><h4 class="namespace label"><?php print $namespace; ?></h4><?php } ?>
|
||||
<h2 class="title"><?php print $displaytitle; ?></h2>
|
||||
<?php if ($wgPivotFeatures['useAddThisShare'] != false) { ?>
|
||||
<!-- Go to www.addthis.com/dashboard to customize your tools -->
|
||||
<div class="addthis_sharing_toolbox show-for-large-up"></div>
|
||||
<!-- Go to www.addthis.com/dashboard to customize your tools -->
|
||||
<!-- moved to resource loader <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50f7269b339fed7f" async="async"></script> -->
|
||||
<?php } ?>
|
||||
<?php if ( $this->data['isarticle'] ) { ?><h3 id="tagline"><?php $this->msg( 'tagline' ) ?></h3><?php } ?>
|
||||
<h5 class="subtitle"><?php $this->html('subtitle') ?></h5>
|
||||
<div class="clear_both"></div>
|
||||
@ -242,7 +244,7 @@ class pivotTemplate extends BaseTemplate {
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<div class="row">
|
||||
<div id="categories" class="row">
|
||||
<div class="small-12 columns">
|
||||
<div class="group"><?php $this->html('catlinks'); ?></div>
|
||||
<?php $this->html('dataAfterContent'); ?>
|
||||
@ -262,7 +264,7 @@ class pivotTemplate extends BaseTemplate {
|
||||
<div id="footer-right-icons" class="<?php echo $footerRightClass;?>">
|
||||
<ul id="footer-right">
|
||||
<li class="social-follow">
|
||||
<?php if ($wgPivotFeatures['addThisFollow'] != false) { ?>
|
||||
<?php if ($wgPivotFeatures['useAddThisFollow'] != false) { ?>
|
||||
<div class="social-links">
|
||||
<!-- Go to www.addthis.com/dashboard to customize your tools -->
|
||||
<div class="addthis_horizontal_follow_toolbox show-for-large-up"></div>
|
||||
@ -283,13 +285,14 @@ class pivotTemplate extends BaseTemplate {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="exit-off-canvas"></a>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
<a class="exit-off-canvas"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $this->printTrail(); ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user