Index: trunk/phase3/skins/Vector.php |
— | — | @@ -362,11 +362,10 @@ |
363 | 363 | break; |
364 | 364 | case 'VIEWS': |
365 | 365 | ?> |
366 | | -<div id="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) echo ' emptyPortlet'; ?>"> |
| 366 | +<div id="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) { echo ' emptyPortlet'; } ?>"> |
367 | 367 | <h5><?php $this->msg('views') ?></h5> |
368 | 368 | <ul<?php $this->html('userlangattributes') ?>> |
369 | | - <?php |
370 | | - foreach ( $this->data['view_urls'] as $link ): ?> |
| 369 | + <?php foreach ( $this->data['view_urls'] as $link ): ?> |
371 | 370 | <li<?php echo $link['attributes'] ?>><span><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php |
372 | 371 | // $link['text'] can be undefined - bug 27764 |
373 | 372 | if ( array_key_exists( 'text', $link ) ) { |