Fixed header in file history
authorrobinhood701 <robinhood70@live.ca>
Wed, 24 Sep 2014 04:47:25 +0000 (00:47 -0400)
committerrobinhood701 <robinhood70@live.ca>
Wed, 24 Sep 2014 04:56:51 +0000 (00:56 -0400)
Change-Id: I622ddac6ea5bd1a3f8c14253e70c1a5a4c56b478

includes/page/ImagePage.php

index d06c819..348eff1 100644 (file)
@@ -1199,9 +1199,9 @@ class ImageHistoryList extends ContextSource {
                        . $this->msg( 'filehist-help' )->parseAsBlock()
                        . $navLinks . "\n"
                        . Xml::openElement( 'table', array( 'class' => 'wikitable filehistory' ) ) . "\n"
-                       . '<tr><td></td>'
+                       . '<tr><th></th>'
                        . ( $this->current->isLocal()
-                               && ( $this->getUser()->isAllowedAny( 'delete', 'deletedhistory' ) ) ? '<td></td>' : '' )
+                               && ( $this->getUser()->isAllowedAny( 'delete', 'deletedhistory' ) ) ? '<th></th>' : '' )
                        . '<th>' . $this->msg( 'filehist-datetime' )->escaped() . '</th>'
                        . ( $this->showThumb ? '<th>' . $this->msg( 'filehist-thumb' )->escaped() . '</th>' : '' )
                        . '<th>' . $this->msg( 'filehist-dimensions' )->escaped() . '</th>'