Index: trunk/phase3/skins/Vector.php |
— | — | @@ -439,7 +439,15 @@ |
440 | 440 | 'about', |
441 | 441 | 'disclaimer', |
442 | 442 | ), |
| 443 | + 'icons' => array( |
| 444 | + 'poweredbyico', |
| 445 | + 'copyrightico', |
| 446 | + ), |
443 | 447 | ); |
| 448 | + $footerlinksClasses = array( |
| 449 | + 'icons' => array( 'noprint' ) |
| 450 | + ); |
| 451 | + |
444 | 452 | // Reduce footer links down to only those which are being used |
445 | 453 | $validFooterLinks = array(); |
446 | 454 | foreach( $footerlinks as $category => $links ) { |
— | — | @@ -543,7 +551,7 @@ |
544 | 552 | <div id="footer"<?php $this->html('userlangattributes') ?>> |
545 | 553 | <?php foreach( $validFooterLinks as $category => $links ): ?> |
546 | 554 | <?php if ( count( $links ) > 0 ): ?> |
547 | | - <ul id="footer-<?php echo $category ?>"> |
| 555 | + <ul id="footer-<?php echo $category ?>"<?php if (isset($footerlinksClasses[$category])) echo ' class="' . implode(" ", $footerlinksClasses[$category]) . '"'; ?>> |
548 | 556 | <?php foreach( $links as $link ): ?> |
549 | 557 | <?php if( isset( $this->data[$link] ) && $this->data[$link] ): ?> |
550 | 558 | <li id="footer-<?php echo $category ?>-<?php echo $link ?>"><?php $this->html( $link ) ?></li> |
— | — | @@ -552,14 +560,6 @@ |
553 | 561 | </ul> |
554 | 562 | <?php endif; ?> |
555 | 563 | <?php endforeach; ?> |
556 | | - <ul id="footer-icons" class="noprint"> |
557 | | - <?php if ( $this->data['poweredbyico'] ): ?> |
558 | | - <li id="footer-icon-poweredby"><?php $this->html( 'poweredbyico' ) ?></li> |
559 | | - <?php endif; ?> |
560 | | - <?php if ( $this->data['copyrightico'] ): ?> |
561 | | - <li id="footer-icon-copyright"><?php $this->html( 'copyrightico' ) ?></li> |
562 | | - <?php endif; ?> |
563 | | - </ul> |
564 | 564 | <div style="clear:both"></div> |
565 | 565 | </div> |
566 | 566 | <!-- /footer --> |