http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88604

Revision: 88604
Author:   reedy
Date:     2011-05-22 20:44:00 +0000 (Sun, 22 May 2011)
Log Message:
-----------
Minor code refactoring/tidying up

Modified Paths:
--------------
    trunk/extensions/CodeReview/ui/CodeRevisionListView.php

Modified: trunk/extensions/CodeReview/ui/CodeRevisionListView.php
===================================================================
--- trunk/extensions/CodeReview/ui/CodeRevisionListView.php     2011-05-22 
20:17:46 UTC (rev 88603)
+++ trunk/extensions/CodeReview/ui/CodeRevisionListView.php     2011-05-22 
20:44:00 UTC (rev 88604)
@@ -115,14 +115,15 @@
                        ) .
                        $pager->getBody() .
                        //$pager->getLimitDropdown() .
-                       $navBar .
-                       ( $this->batchForm ?
-                                       $this->buildBatchInterface( $pager )
-                                       : "" ) .
-                       Xml::closeElement( 'form' )
+                       $navBar
                );
+               if ( $this->batchForm ) {
+                       $wgOut->addHTML(
+                               $this->buildBatchInterface( $pager )
+                       );
+               }
 
-               $wgOut->addHTML( $pathForm );
+               $wgOut->addHTML( Xml::closeElement( 'form' ) . $pathForm );
        }
 
        function doBatchChange() {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to