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