Index: trunk/phase3/skins/Vector.php |
— | — | @@ -274,6 +274,9 @@ |
275 | 275 | } |
276 | 276 | // Render portals |
277 | 277 | foreach ( $portals as $name => $content ) { |
| 278 | + if ( $cont === false ) |
| 279 | + continue; |
| 280 | + |
278 | 281 | echo "\n<!-- {$name} -->\n"; |
279 | 282 | switch( $name ) { |
280 | 283 | case 'SEARCH': |
Index: trunk/phase3/skins/MonoBook.php |
— | — | @@ -180,6 +180,9 @@ |
181 | 181 | if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; |
182 | 182 | |
183 | 183 | foreach ($sidebar as $boxName => $cont) { |
| 184 | + if ( $cont === false ) |
| 185 | + continue; |
| 186 | + |
184 | 187 | if ( $boxName == 'SEARCH' ) { |
185 | 188 | $this->searchBox(); |
186 | 189 | } elseif ( $boxName == 'TOOLBOX' ) { |