Index: trunk/phase3/skins/Vector.php |
— | — | @@ -693,13 +693,11 @@ |
694 | 694 | ?> |
695 | 695 | <div id="p-namespaces" class="vectorTabs<?php if ( count( $this->data['namespace_urls'] ) == 0 ) echo ' emptyPortlet'; ?>"> |
696 | 696 | <h5><?php $this->msg('namespaces') ?></h5> |
697 | | - <?php if ( count( $this->data['namespace_urls'] ) > 0 ): ?> |
698 | 697 | <ul<?php $this->html('userlangattributes') ?>> |
699 | 698 | <?php foreach ($this->data['namespace_urls'] as $key => $link ): ?> |
700 | 699 | <li <?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><span><?php echo htmlspecialchars( $link['text'] ) ?></span></a></li> |
701 | 700 | <?php endforeach; ?> |
702 | 701 | </ul> |
703 | | - <?php endif; ?> |
704 | 702 | </div> |
705 | 703 | <?php |
706 | 704 | break; |
— | — | @@ -716,7 +714,6 @@ |
717 | 715 | </h4> |
718 | 716 | <?php endif; ?> |
719 | 717 | <h5><span><?php $this->msg('variants') ?></span><a href="#"></a></h5> |
720 | | - <?php if ( count( $this->data['variant_urls'] ) > 0 ): ?> |
721 | 718 | <div class="menu"> |
722 | 719 | <ul<?php $this->html('userlangattributes') ?>> |
723 | 720 | <?php foreach ( $this->data['variant_urls'] as $key => $link ): ?> |
— | — | @@ -724,7 +721,6 @@ |
725 | 722 | <?php endforeach; ?> |
726 | 723 | </ul> |
727 | 724 | </div> |
728 | | - <?php endif; ?> |
729 | 725 | </div> |
730 | 726 | <?php |
731 | 727 | break; |
— | — | @@ -732,13 +728,11 @@ |
733 | 729 | ?> |
734 | 730 | <div id="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) echo ' emptyPortlet'; ?>"> |
735 | 731 | <h5><?php $this->msg('views') ?></h5> |
736 | | - <?php if ( count( $this->data['view_urls'] ) > 0 ): ?> |
737 | 732 | <ul<?php $this->html('userlangattributes') ?>> |
738 | 733 | <?php foreach ( $this->data['view_urls'] as $key => $link ): ?> |
739 | 734 | <li<?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo (array_key_exists('img',$link) ? '<img src="'.$link['img'].'" alt="'.$link['text'].'" />' : '<span>'.htmlspecialchars( $link['text'] ).'</span>') ?></a></li> |
740 | 735 | <?php endforeach; ?> |
741 | 736 | </ul> |
742 | | - <?php endif; ?> |
743 | 737 | </div> |
744 | 738 | <?php |
745 | 739 | break; |
— | — | @@ -746,7 +740,6 @@ |
747 | 741 | ?> |
748 | 742 | <div id="p-cactions" class="vectorMenu<?php if ( count( $this->data['action_urls'] ) == 0 ) echo ' emptyPortlet'; ?>"> |
749 | 743 | <h5><span><?php $this->msg('actions') ?></span><a href="#"></a></h5> |
750 | | - <?php if ( count( $this->data['action_urls'] ) > 0 ): ?> |
751 | 744 | <div class="menu"> |
752 | 745 | <ul<?php $this->html('userlangattributes') ?>> |
753 | 746 | <?php foreach ($this->data['action_urls'] as $key => $link ): ?> |
— | — | @@ -754,7 +747,6 @@ |
755 | 748 | <?php endforeach; ?> |
756 | 749 | </ul> |
757 | 750 | </div> |
758 | | - <?php endif; ?> |
759 | 751 | </div> |
760 | 752 | <?php |
761 | 753 | break; |
— | — | @@ -762,13 +754,11 @@ |
763 | 755 | ?> |
764 | 756 | <div id="p-personal" class="<?php if ( count( $this->data['personal_urls'] ) == 0 ) echo ' emptyPortlet'; ?>"> |
765 | 757 | <h5><?php $this->msg('personaltools') ?></h5> |
766 | | - <?php if ( count( $this->data['personal_urls'] ) > 0 ): ?> |
767 | 758 | <ul<?php $this->html('userlangattributes') ?>> |
768 | 759 | <?php foreach($this->data['personal_urls'] as $key => $item): ?> |
769 | 760 | <li <?php echo $item['attributes'] ?>><a href="<?php echo htmlspecialchars($item['href']) ?>"<?php echo $item['key'] ?><?php if(!empty($item['class'])): ?> class="<?php echo htmlspecialchars($item['class']) ?>"<?php endif; ?>><?php echo htmlspecialchars($item['text']) ?></a></li> |
770 | 761 | <?php endforeach; ?> |
771 | 762 | </ul> |
772 | | - <?php endif; ?> |
773 | 763 | </div> |
774 | 764 | <?php |
775 | 765 | break; |