bolden show/hide links if oversighted
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 28 Sep 2009 02:08:05 +0000 (02:08 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 28 Sep 2009 02:08:05 +0000 (02:08 +0000)
includes/ImagePage.php

index 3ff18dc..0b1c533 100644 (file)
@@ -880,9 +880,10 @@ class ImageHistoryList {
                                                ),
                                                array( 'known' )
                                        );
-                                       // Bolden oversighted content
-                                       if( $file->isDeleted(File::DELETED_RESTRICTED) )
-                                               $del = "<strong>$del</strong>";
+                               }
+                               // Bolden oversighted content
+                               if( $file->isDeleted(File::DELETED_RESTRICTED) ) {
+                                       $del = "<strong>$del</strong>";
                                }
                                $row .= "<span class='mw-revdelundel-link'>$del</span>";
                        }