* I totally blame SVN for this, it didn't show this change!
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 14 May 2008 06:43:16 +0000 (06:43 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 14 May 2008 06:43:16 +0000 (06:43 +0000)
includes/SpecialNewpages.php

index d3956c4..c0e1f2b 100644 (file)
@@ -244,9 +244,9 @@ class NewPagesForm {
                $ulink = $this->skin->userLink( $result->rc_user, $result->rc_user_text ) . ' ' .
                        $this->skin->userToolLinks( $result->rc_user, $result->rc_user_text );
                $comment = $this->skin->commentBlock( $result->rc_comment );
-               $css = $this->patrollable( $result ) ? 'not-patrolled' : '';
+               $css = $this->patrollable( $result ) ? " class='not-patrolled'" : '';
 
-               return "<li class='$css'>{$time} {$dm}{$plink} ({$hist}) {$dm}[{$length}] {$dm}{$ulink} {$comment}</li>\n";
+               return "<li{$css}>{$time} {$dm}{$plink} ({$hist}) {$dm}[{$length}] {$dm}{$ulink} {$comment}</li>\n";
        }
 
        /**