1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2025-10-26 23:17:36 +01:00

Sitenotice fix (#32)

* removing classes .panel and .radius from sitenotice and usertalk

* Fixes for echo, indicators, missing indicator.gif
This commit is contained in:
Tom Hutchison
2017-04-26 17:02:20 -04:00
committed by GitHub
parent afc69b150a
commit bc2ade0124
4 changed files with 58 additions and 44 deletions

View File

@@ -187,14 +187,15 @@ class pivotTemplate extends BaseTemplate {
<div id="echo-notifications">
<div id="echo-notifications-alerts"></div>
<div id="echo-notifications-messages"></div>
<div id="echo-notifications-notice"></div>
</div>
<?php endif; ?>
<!--[if lt IE 9]>
<div id="siteNotice" class="sitenotice panel radius"><?php echo $this->text('sitename') . ' '. wfMessage( 'pivot-browsermsg' )->text(); ?></div>
<div id="siteNotice" class="sitenotice"><?php echo $this->text('sitename') . ' '. wfMessage( 'pivot-browsermsg' )->text(); ?></div>
<![endif]-->
<?php if ( $this->data['sitenotice'] ) { ?><div id="siteNotice" class="sitenotice panel radius"><?php $this->html( 'sitenotice' ); ?></div><?php } ?>
<?php if ( $this->data['newtalk'] ) { ?><div id="usermessage" class="newtalk panel radius"><?php $this->html( 'newtalk' ); ?></div><?php } ?>
<?php if ( $this->data['sitenotice'] ) { ?><div id="siteNotice" class="sitenotice"><?php $this->html( 'sitenotice' ); ?></div><?php } ?>
<?php if ( $this->data['newtalk'] ) { ?><div id="usermessage" class="newtalk"><?php $this->html( 'newtalk' ); ?></div><?php } ?>
</div>
</div>