Index: branches/SkinSystemRewrite/includes/Skin.php |
— | — | @@ -3037,33 +3037,36 @@ |
3038 | 3038 | $s = "\n" . '<div id="footer"' . $attribs[0] . '>'; |
3039 | 3039 | |
3040 | 3040 | if( $this->getPoweredBy() ) { |
3041 | | - $s .= "\n" . '<div id="f-poweredbyico">' |
| 3041 | + $s .= "\n\t" . '<div id="f-poweredbyico">' |
3042 | 3042 | . $this->getPoweredBy() . |
3043 | 3043 | '</div>' . "\n"; |
3044 | 3044 | } |
3045 | 3045 | |
3046 | 3046 | if( $this->getCopyrightIcon() ) { |
3047 | | - $s .= '<div id="f-copyrightico">' |
| 3047 | + $s .= "\t" . '<div id="f-copyrightico">' |
3048 | 3048 | . $this->getCopyrightIcon() . |
3049 | 3049 | '</div>' . "\n"; |
3050 | 3050 | } |
3051 | 3051 | |
| 3052 | + // Allow extensions to add more icons |
| 3053 | + wfRunHooks( 'SkinFooterIcons', array( $this, &$s ) ); |
| 3054 | + |
3052 | 3055 | // Generate additional footer links |
3053 | | - $s .= '<ul id="f-list">'; |
| 3056 | + $s .= "\t" . '<ul id="f-list">' . "\n"; |
3054 | 3057 | // Special pages cannot have authors, watchers etc. so don't even try! |
3055 | 3058 | global $wgRequest; |
3056 | 3059 | $action = $wgRequest->getVal( 'action', 'view' ); |
3057 | 3060 | if ( $this->mTitle->getNamespace() != NS_SPECIAL && $action !== 'edit' ) { |
3058 | | - $s .= '<li id="lastmod">' . $this->lastModified() . '</li> |
3059 | | - <li id="viewcount">' . $this->getViewCount() . '</li> |
3060 | | - <li id="numberofwatchingusers">' . $this->getNumberOfWatchingUsers() . '</li> |
3061 | | - <li id="credits">' . $this->getCredits() . '</li> |
3062 | | - <li id="copyrights">' . $this->getCopyright() . '</li>' . "\n"; |
| 3061 | + $s .= "\t\t" . '<li id="lastmod">' . $this->lastModified() . '</li> |
| 3062 | + <li id="viewcount">' . $this->getViewCount() . '</li> |
| 3063 | + <li id="numberofwatchingusers">' . $this->getNumberOfWatchingUsers() . '</li> |
| 3064 | + <li id="credits">' . $this->getCredits() . '</li> |
| 3065 | + <li id="copyrights">' . $this->getCopyright() . '</li>' . "\n"; |
3063 | 3066 | } |
3064 | | - $s .= '<li id="privacy">' . $this->privacyLink() . '</li> |
3065 | | - <li id="about">' . $this->aboutLink() . '</li> |
3066 | | - <li id="disclaimer">' . $this->disclaimerLink() . '</li> |
3067 | | - </ul>' . "\n"; |
| 3067 | + $s .= "\t\t" . '<li id="privacy">' . $this->privacyLink() . '</li> |
| 3068 | + <li id="about">' . $this->aboutLink() . '</li> |
| 3069 | + <li id="disclaimer">' . $this->disclaimerLink() . '</li> |
| 3070 | + </ul>' . "\n"; |
3068 | 3071 | $s .= '</div>' . "\n"; |
3069 | 3072 | return $s; |
3070 | 3073 | } |