html output formatting
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 6 Sep 2005 17:59:17 +0000 (17:59 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 6 Sep 2005 17:59:17 +0000 (17:59 +0000)
includes/GlobalFunctions.php

index 7ca2d6b..1fa8ab7 100644 (file)
@@ -1283,7 +1283,7 @@ function wfElementClean( $element, $attribs = array(), $contents = '') {
  */
 function &HTMLnamespaceselector($selected = '', $allnamespaces = null) {
        global $wgContLang;
-       $s = "<select name='namespace' class='namespaceselector'>\n";
+       $s = "<select name='namespace' class='namespaceselector'>\n\t";
        $arr = $wgContLang->getFormattedNamespaces();
        if( !is_null($allnamespaces) ) {
                $arr = array($allnamespaces => wfMsgHtml('namespacesall')) + $arr;
@@ -1301,7 +1301,7 @@ function &HTMLnamespaceselector($selected = '', $allnamespaces = null) {
                        $s .= wfElement("option", array("value" => $index), $name);
                }
        }
-       $s .= "</select>\n";
+       $s .= "\n</select>\n";
        return $s;
 }