repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
SpecialLinkSearch: clean up munged query variable handling
[mediawiki.git]
/
includes
/
htmlform
/
HTMLSelectNamespace.php
blob
96381062dfcbf63a391ee37b185c4d3f4d596719
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'
,
15
)
16
);
17
}
18
}