little bit of cleanup in the generator for the "remember login" toggle
authorMarco Schuster <harddisk@users.mediawiki.org>
Mon, 17 Nov 2008 21:18:37 +0000 (21:18 +0000)
committerMarco Schuster <harddisk@users.mediawiki.org>
Mon, 17 Nov 2008 21:18:37 +0000 (21:18 +0000)
includes/specials/SpecialPreferences.php

index 9f5329f..e0e61f3 100644 (file)
@@ -772,11 +772,7 @@ class PreferencesForm {
                        );
                        if( $wgCookieExpiration > 0 ){
                                $wgOut->addHTML(
-                                       Xml::tags( 'tr', null,
-                                               Xml::tags( 'td', array( 'colspan' => '2' ),
-                                                       $this->getToggle( "rememberpassword" )
-                                               )
-                                       )
+                                       $this->tableRow( $this->getToggle( "rememberpassword" ) )                               
                                );
                        } else {
                                $this->mUsedToggles['rememberpassword'] = true;