From f45378338de99560baf8980583c432bffe59fcc6 Mon Sep 17 00:00:00 2001 From: Marco Schuster Date: Mon, 17 Nov 2008 21:18:37 +0000 Subject: [PATCH] little bit of cleanup in the generator for the "remember login" toggle --- includes/specials/SpecialPreferences.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index 9f5329fca6..e0e61f37a4 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -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; -- 2.20.1