Localisation updates from https://translatewiki.net.
[mediawiki.git] / includes / htmlform / HTMLSelectNamespace.php
blob96381062dfcbf63a391ee37b185c4d3f4d596719
1 <?php
2 /**
3 * Wrapper for Html::namespaceSelector to use in HTMLForm
4 */
5 class HTMLSelectNamespace extends HTMLFormField {
6 function getInputHTML( $value ) {
7 return Html::namespaceSelector(
8 array(
9 'selected' => $value,
10 'all' => 'all'
11 ), array(
12 'name' => $this->mName,
13 'id' => $this->mID,
14 'class' => 'namespaceselector',