mirror of
https://github.com/Hutchy68/pivot.git
synced 2025-01-21 23:45:53 +01:00
Fixing a few output html errors
This commit is contained in:
parent
aa36556cb9
commit
0c6eeceb86
@ -24,7 +24,6 @@ class SkinPivot extends SkinTemplate {
|
|||||||
'wikiName' => &$GLOBALS['wgSitename'],
|
'wikiName' => &$GLOBALS['wgSitename'],
|
||||||
'wikiNameDesktop' => &$GLOBALS['wgSitename'],
|
'wikiNameDesktop' => &$GLOBALS['wgSitename'],
|
||||||
'navbarIcon' => false,
|
'navbarIcon' => false,
|
||||||
'IeEdgeCode' => 1,
|
|
||||||
'showFooterIcons' => false,
|
'showFooterIcons' => false,
|
||||||
'addThisPUBID' => '',
|
'addThisPUBID' => '',
|
||||||
'useAddThisShare' => '',
|
'useAddThisShare' => '',
|
||||||
@ -210,7 +209,7 @@ class pivotTemplate extends BaseTemplate {
|
|||||||
<!-- Go to www.addthis.com/dashboard to customize your tools -->
|
<!-- Go to www.addthis.com/dashboard to customize your tools -->
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ( $this->data['isarticle'] ) { ?><h3 id="tagline"><?php $this->msg( 'tagline' ) ?></h3><?php } ?>
|
<?php if ( $this->data['isarticle'] ) { ?><h3 id="tagline"><?php $this->msg( 'tagline' ) ?></h3><?php } ?>
|
||||||
<h5 id="sitesub" class="subtitle"><?php $this->html('subtitle') ?></h5>
|
<?php if ( $this->html('subtitle') ) { ?><h5 id="sitesub" class="subtitle"><?php $this->html('subtitle') ?></h5><?php } ?>
|
||||||
<div id="contentSub" class="clear_both"></div>
|
<div id="contentSub" class="clear_both"></div>
|
||||||
<div id="bodyContent" class="mw-bodytext">
|
<div id="bodyContent" class="mw-bodytext">
|
||||||
<?php
|
<?php
|
||||||
@ -272,6 +271,7 @@ class pivotTemplate extends BaseTemplate {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
<a class="exit-off-canvas"></a>
|
<a class="exit-off-canvas"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -292,12 +292,12 @@ class pivotTemplate extends BaseTemplate {
|
|||||||
function renderSidebar() {
|
function renderSidebar() {
|
||||||
$sidebar = $this->getSidebar();
|
$sidebar = $this->getSidebar();
|
||||||
foreach ($sidebar as $boxName => $box) {
|
foreach ($sidebar as $boxName => $box) {
|
||||||
echo '<div class="sidebar" id="'.Sanitizer::escapeId( $box['id'] ).'"';echo Linker::tooltip( $box['id'] ).'>';
|
echo '<ul class="sidebar" id="'.Sanitizer::escapeId( $box['id'] ).'"';echo Linker::tooltip( $box['id'] ).'>';
|
||||||
echo '<li><label>'.htmlspecialchars( $box['header'] ).'</label></li>';
|
echo '<li><label>'.htmlspecialchars( $box['header'] ).'</label></li>';
|
||||||
if ( is_array( $box['content'] ) ) {
|
if ( is_array( $box['content'] ) ) {
|
||||||
foreach ($box['content'] as $key => $item) { echo $this->makeListItem($key, $item); }
|
foreach ($box['content'] as $key => $item) { echo $this->makeListItem($key, $item); }
|
||||||
}
|
}
|
||||||
echo '</div>'; }
|
echo '</ul>'; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user