Explorar o código

Toolbox was renamed Tools in 1.22

Jamie Thingelstad %!s(int64=11) %!d(string=hai) anos
pai
achega
7b966b1ff6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Foreground.skin.php

+ 1 - 1
Foreground.skin.php

@@ -44,7 +44,7 @@ class foregroundTemplate extends BaseTemplate {
 
 		    		<ul class="left">
 		 						<li class="divider"></li>
-									<?php foreach ( $this->getSidebar() as $boxName => $box ) { if ($box['header'] != "Toolbox") { ?>
+									<?php foreach ( $this->getSidebar() as $boxName => $box ) { if ( ($box['header'] != "Toolbox") && ($box['header'] != "Tools") ) { ?>
 									<li class="has-dropdown active"  id='<?php echo Sanitizer::escapeId( $box['id'] ) ?>'<?php echo Linker::tooltip( $box['id'] ) ?>>
 											<a href="#"><?php echo htmlspecialchars( $box['header'] ); ?></a>
 											<?php if ( is_array( $box['content'] ) ) { ?>