XHTMl fixes
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 9 Apr 2004 10:38:03 +0000 (10:38 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 9 Apr 2004 10:38:03 +0000 (10:38 +0000)
includes/EditPage.php
includes/Skin.php

index 999c65d..6fe2392 100644 (file)
@@ -225,7 +225,7 @@ class EditPage {
                                        $sectitle=preg_match("/^=+(.*?)=+/mi",
                                        $this->textbox1,
                                        $matches);
-                                       if( !empty( $matches[1] ) {
+                                       if( !empty( $matches[1] ) {
                                                $this->summary = "/* ". trim($matches[1])." */ ";
                                        }
                                }
index d95550b..63229eb 100644 (file)
@@ -321,7 +321,7 @@ class Skin {
                if($wgLang->isRTL()) $left = !$left;
                
                if ( !$shove ) {
-                       $s .= "<td class='top' align=left valign=top rowspan='{$rows}'>\n" .
+                       $s .= "<td class='top' align='left' valign='top' rowspan='{$rows}'>\n" .
                          $this->logoText() . "</td>";
                } elseif( $left ) {
                        $s .= $this->getQuickbarCompensator( $rows );