From: Krinkle Date: Mon, 13 Feb 2012 15:08:26 +0000 (+0000) Subject: [Html] Follow-up r109990: Add support for excluding and disabling options X-Git-Tag: 1.31.0-rc.0~24736 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=78c157faf9c0115c441720b8a841c672228e0194;p=lhc%2Fweb%2Fwiklou.git [Html] Follow-up r109990: Add support for excluding and disabling options --- diff --git a/includes/Html.php b/includes/Html.php index 4d8047e3d1..26a40cd80a 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -708,6 +708,8 @@ class Html { * - selected: [optional] Id of namespace which should be pre-selected * - all: [optional] Value of item for "all namespaces". If null or unset, no ' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'' . "\n" . +'', + Html::namespaceSelector( + array( 'exclude' => array( 100, 101 ), 'disable' => $immovable ) + ), + 'Namespace selector without the custom namespace and immovable namespaces disabled.' + ); } function testNamespaceSelectorIdAndNameDefaultsAttributes() {