Index: trunk/phase3/includes/FileDeleteForm.php |
— | — | @@ -149,20 +149,20 @@ |
150 | 150 | } |
151 | 151 | |
152 | 152 | $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction() ) ); |
| 153 | + $form .= '<fieldset><legend>' . wfMsgHtml( 'filedelete-legend' ) . '</legend>'; |
153 | 154 | $form .= Xml::hidden( 'wpEditToken', $wgUser->editToken( $this->oldimage ) ); |
154 | | - $form .= '<fieldset><legend>' . wfMsgHtml( 'filedelete-legend' ) . '</legend>'; |
155 | | - $form .= '<table><tr>'; |
| 155 | + $form .= '<table><tr><td colspan="2">'; |
156 | 156 | $form .= $this->prepareMessage( 'filedelete-intro' ); |
157 | | - $form .= "<td align=\"right\"> $delcom </td><td align=\"left\">"; |
| 157 | + $form .= "</td></tr><tr><td align=\"right\"> $delcom </td><td align=\"left\">"; |
158 | 158 | $form .= "<select tabindex='2' id='wpDeleteReasonList' name=\"wpDeleteReasonList\"> |
159 | 159 | $deleteReasonList |
160 | 160 | </select>"; |
161 | | - $form .= "</tr><tr><td align=\"right\"> $mDeletereasonother </td><td align=\"left\">"; |
| 161 | + $form .= "</td></tr><tr><td align=\"right\"> $mDeletereasonother </td><td align=\"left\">"; |
162 | 162 | $form .= "<input type='text' maxlength='255' size='60' name='wpReason' id='wpReason' "; |
163 | 163 | $form .= "value=\"". htmlspecialchars( $wgRequest->getText( 'wpReason' ) ) ."\" tabindex=\"1\" />"; |
164 | | - $form .= '</td></tr><tr><td colspan=2>'; |
| 164 | + $form .= '</td></tr><tr><td colspan="2">'; |
165 | 165 | $form .= '<p>' . Xml::submitButton( wfMsg( 'filedelete-submit' ), array( 'name' => 'mw-filedelete-submit', 'id' => 'mw-filedelete-submit' ) ) . '</p>'; |
166 | | - $form .= '</tr></table>'; |
| 166 | + $form .= '</td></tr></table>'; |
167 | 167 | $form .= '</fieldset>'; |
168 | 168 | $form .= '</form>'; |
169 | 169 | |
— | — | @@ -272,4 +272,4 @@ |
273 | 273 | return $this->oldfile->getTimestamp(); |
274 | 274 | } |
275 | 275 | |
276 | | -} |
\ No newline at end of file |
| 276 | +} |