dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f048d2
)
Move icons footer into $footerlinks. A couple of ids which weren't used anywhere...
author
Platonides
<platonides@users.mediawiki.org>
Tue, 8 Jun 2010 20:32:16 +0000
(20:32 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Tue, 8 Jun 2010 20:32:16 +0000
(20:32 +0000)
skins/Vector.php
patch
|
blob
|
history
diff --git
a/skins/Vector.php
b/skins/Vector.php
index
c7d69df
..
4c30eec
100644
(file)
--- a/
skins/Vector.php
+++ b/
skins/Vector.php
@@
-439,7
+439,15
@@
class VectorTemplate extends QuickTemplate {
'about',
'disclaimer',
),
'about',
'disclaimer',
),
+ 'icons' => array(
+ 'poweredbyico',
+ 'copyrightico',
+ ),
+ );
+ $footerlinksClasses = array(
+ 'icons' => array( 'noprint' )
);
);
+
// Reduce footer links down to only those which are being used
$validFooterLinks = array();
foreach( $footerlinks as $category => $links ) {
// Reduce footer links down to only those which are being used
$validFooterLinks = array();
foreach( $footerlinks as $category => $links ) {
@@
-543,7
+551,7
@@
class VectorTemplate extends QuickTemplate {
<div id="footer"<?php $this->html('userlangattributes') ?>>
<?php foreach( $validFooterLinks as $category => $links ): ?>
<?php if ( count( $links ) > 0 ): ?>
<div id="footer"<?php $this->html('userlangattributes') ?>>
<?php foreach( $validFooterLinks as $category => $links ): ?>
<?php if ( count( $links ) > 0 ): ?>
- <ul id="footer-<?php echo $category ?>">
+ <ul id="footer-<?php echo $category ?>"
<?php if (isset($footerlinksClasses[$category])) echo ' class="' . implode(" ", $footerlinksClasses[$category]) . '"'; ?>
>
<?php foreach( $links as $link ): ?>
<?php if( isset( $this->data[$link] ) && $this->data[$link] ): ?>
<li id="footer-<?php echo $category ?>-<?php echo $link ?>"><?php $this->html( $link ) ?></li>
<?php foreach( $links as $link ): ?>
<?php if( isset( $this->data[$link] ) && $this->data[$link] ): ?>
<li id="footer-<?php echo $category ?>-<?php echo $link ?>"><?php $this->html( $link ) ?></li>
@@
-552,14
+560,6
@@
class VectorTemplate extends QuickTemplate {
</ul>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endforeach; ?>
- <ul id="footer-icons" class="noprint">
- <?php if ( $this->data['poweredbyico'] ): ?>
- <li id="footer-icon-poweredby"><?php $this->html( 'poweredbyico' ) ?></li>
- <?php endif; ?>
- <?php if ( $this->data['copyrightico'] ): ?>
- <li id="footer-icon-copyright"><?php $this->html( 'copyrightico' ) ?></li>
- <?php endif; ?>
- </ul>
<div style="clear:both"></div>
</div>
<!-- /footer -->
<div style="clear:both"></div>
</div>
<!-- /footer -->