From 05ab2ba02efde63c209520734a9c2068abcb3fc0 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 16 Apr 2008 16:54:58 +0000 Subject: [PATCH] Use existing CSS classes for input form aligning --- includes/SpecialUndelete.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 15cedf1f83..4bc079c428 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -893,7 +893,7 @@ class UndeleteForm { } private function showHistory() { - global $wgLang, $wgContLang, $wgUser, $wgOut; + global $wgLang, $wgUser, $wgOut; $sk = $wgUser->getSkin(); if( $this->mAllowed ) { @@ -961,12 +961,11 @@ class UndeleteForm { if( $this->mAllowed && ( $haveRevisions || $haveFiles ) ) { # Format the user-visible controls (comment field, submission button) # in a nice little table - $align = $wgContLang->isRtl() ? 'left' : 'right'; if( $wgUser->isAllowed( 'suppress' ) ) { $unsuppressBox = "   - " . + " . Xml::check( 'wpUnsuppress', $this->mUnsuppress, array('id' => 'mw-undelete-unsupress') ) . ' ' . Xml::label( wfMsgHtml('revdelete-unsuppress'), 'mw-undelete-unsupress' ) . " @@ -984,16 +983,16 @@ class UndeleteForm { " - " . + " . Xml::label( wfMsg( 'undeletecomment' ), 'wpComment' ) . " - " . + " . Xml::input( 'wpComment', 50, $this->mComment ) . "   - " . + " . Xml::submitButton( wfMsg( 'undeletebtn' ), array( 'name' => 'restore', 'id' => 'mw-undelete-submit' ) ) . Xml::element( 'input', array( 'type' => 'reset', 'value' => wfMsg( 'undeletereset' ), 'id' => 'mw-undelete-reset' ) ) . " -- 2.20.1