Revision: 43545
Author:   aaron
Date:     2008-11-15 10:47:33 +0000 (Sat, 15 Nov 2008)

Log Message:
-----------
Add nowrap to bool arrays (to stop odd namespace checkboxen)

Modified Paths:
--------------
    trunk/extensions/Configure/Configure.page.php

Modified: trunk/extensions/Configure/Configure.page.php
===================================================================
--- trunk/extensions/Configure/Configure.page.php       2008-11-15 10:32:36 UTC 
(rev 43544)
+++ trunk/extensions/Configure/Configure.page.php       2008-11-15 10:47:33 UTC 
(rev 43545)
@@ -883,13 +883,14 @@
                                } else {
                                        $checked = in_array( $ns, 
(array)$default );
                                }
-                               $text .= Xml::checkLabel(
-                                       $name,
-                                       "wp{$conf}-ns{$ns}",
-                                       "wp{$conf}-ns{$ns}",
-                                       $checked,
-                                       $attr
-                               ) . "\n";
+                               $text .= "<span style='white-space:nowrap;'>".
+                                       Xml::checkLabel(
+                                               $name,
+                                               "wp{$conf}-ns{$ns}",
+                                               "wp{$conf}-ns{$ns}",
+                                               $checked,
+                                               $attr
+                                       ) . "</span>\n";
                        }
                        return $text;
                }



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to