From: Antoine Musso Date: Tue, 11 Jul 2006 12:21:39 +0000 (+0000) Subject: Indent the namespace selector X-Git-Tag: 1.31.0-rc.0~56309 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=3ba69de7149af6c019fddc41c5e5f3d6711a0232;p=lhc%2Fweb%2Fwiklou.git Indent the namespace selector --- diff --git a/includes/Xml.php b/includes/Xml.php index c44fca9cc0..8928895870 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -78,7 +78,7 @@ class Xml { $selected = intval( $selected ); } } - $s = "\n"; $arr = $wgContLang->getFormattedNamespaces(); if( !is_null($allnamespaces) ) { $arr = array($allnamespaces => wfMsg('namespacesall')) + $arr; @@ -89,14 +89,14 @@ class Xml { $name = $index !== 0 ? $name : wfMsg('blanknamespace'); if ($index === $selected) { - $s .= self::element("option", + $s .= "\t" . self::element("option", array("value" => $index, "selected" => "selected"), - $name); + $name) . "\n"; } else { - $s .= self::element("option", array("value" => $index), $name); + $s .= "\t" . self::element("option", array("value" => $index), $name) . "\n"; } } - $s .= "\n\n"; + $s .= "\n"; return $s; }