Index: trunk/phase3/includes/FileDeleteForm.php |
— | — | @@ -89,9 +89,9 @@ |
90 | 90 | |
91 | 91 | if( !$status->isGood() ) { |
92 | 92 | $wgOut->addHTML( '<h2>' . $this->prepareMessage( 'filedeleteerror-short' ) . "</h2>\n" ); |
93 | | - $wgOut->addHTML( '<span class="error">' ); |
| 93 | + $wgOut->addHTML( '<div class="error">' ); |
94 | 94 | $wgOut->addWikiText( $status->getWikiText( 'filedeleteerror-short', 'filedeleteerror-long' ) ); |
95 | | - $wgOut->addHTML( '</span>' ); |
| 95 | + $wgOut->addHTML( '</div>' ); |
96 | 96 | } |
97 | 97 | if( $status->ok ) { |
98 | 98 | $wgOut->setPageTitle( wfMessage( 'actioncomplete' ) ); |
Index: trunk/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -1399,9 +1399,9 @@ |
1400 | 1400 | // Show file deletion warnings and errors |
1401 | 1401 | $status = $archive->getFileStatus(); |
1402 | 1402 | if( $status && !$status->isGood() ) { |
1403 | | - $out->addHTML( '<span class="error">' ); |
| 1403 | + $out->addHTML( '<div class="error">' ); |
1404 | 1404 | $out->addWikiText( $status->getWikiText( 'undelete-error-short', 'undelete-error-long' ) ); |
1405 | | - $out->addHTML( '</span>' ); |
| 1405 | + $out->addHTML( '</div>' ); |
1406 | 1406 | } |
1407 | 1407 | } |
1408 | 1408 | } |