Kill a couple of <font> tags
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 25 Feb 2005 09:13:03 +0000 (09:13 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 25 Feb 2005 09:13:03 +0000 (09:13 +0000)
includes/ChangesList.php
includes/EditPage.php
skins/common/common.css
skins/monobook/main.css

index 096fe01..ccd07c3 100644 (file)
@@ -155,7 +155,7 @@ class ChangesList {
                        if ( $count > 1 ) $text .= " ({$count}&times;)" ;
                        array_push ( $users , $text ) ;
                }
-               $users = ' <font size="-1">['.implode('; ',$users).']</font>' ;
+               $users = ' <span class="changedby">['.implode('; ',$users).']</span>';
 
                # Arrow
                $rci = 'RCI'.$this->rcCacheIndex ;
index be5d659..544e2bc 100644 (file)
@@ -698,10 +698,10 @@ END
 
        function getPreviewText( $isConflict, $isCssJsSubpage ) {
                global $wgOut, $wgUser, $wgTitle, $wgParser;
-               $previewhead='<h2>' . wfMsg( 'preview' ) . "</h2>\n<p><center><font color=\"#cc0000\">" .
-                       wfMsg( 'note' ) . wfMsg( 'previewnote' ) . "</font></center></p>\n";
+               $previewhead = '<h2>' . htmlspecialchars( wfMsg( 'preview' ) ) . "</h2>\n" .
+                       "<p class='previewnote'>" . htmlspecialchars( wfMsg( 'previewnote' ) ) . "</p>\n";
                if ( $isConflict ) {
-                       $previewhead.='<h2>' . wfMsg( 'previewconflict' ) .
+                       $previewhead.='<h2>' . htmlspecialchars( wfMsg( 'previewconflict' ) ) .
                                "</h2>\n";
                }
 
index 35e0b47..cab9c39 100644 (file)
@@ -294,3 +294,12 @@ div.gallerytext {
 span.comment {
        font-style: italic;
 }
+
+span.changedby {
+       font-size: 95%;
+}
+
+.previewnote {
+       text-align: center;
+       color: #cc0000;
+}
index 34b5d70..52422eb 100644 (file)
@@ -1082,3 +1082,12 @@ div.gallerytext {
 span.comment {
        font-style: italic;
 }
+
+span.changedby {
+       font-size: 95%;
+}
+
+.previewnote {
+       text-align: center;
+       color: #cc0000;
+}