dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLCheckMatrix.php
diff --git
a/includes/htmlform/fields/HTMLCheckMatrix.php
b/includes/htmlform/fields/HTMLCheckMatrix.php
index
fa18a3c
..
dd4e707
100644
(file)
--- a/
includes/htmlform/fields/HTMLCheckMatrix.php
+++ b/
includes/htmlform/fields/HTMLCheckMatrix.php
@@
-121,9
+121,11
@@
class HTMLCheckMatrix extends HTMLFormField implements HTMLNestedFilterable {
if ( $this->isTagForcedOff( $thisTag ) ) {
$checked = false;
$thisAttribs['disabled'] = 1;
if ( $this->isTagForcedOff( $thisTag ) ) {
$checked = false;
$thisAttribs['disabled'] = 1;
+ $thisAttribs['class'] = 'checkmatrix-forced checkmatrix-forced-off';
} elseif ( $this->isTagForcedOn( $thisTag ) ) {
$checked = true;
$thisAttribs['disabled'] = 1;
} elseif ( $this->isTagForcedOn( $thisTag ) ) {
$checked = true;
$thisAttribs['disabled'] = 1;
+ $thisAttribs['class'] = 'checkmatrix-forced checkmatrix-forced-on';
}
$checkbox = $this->getOneCheckbox( $checked, $attribs + $thisAttribs );
}
$checkbox = $this->getOneCheckbox( $checked, $attribs + $thisAttribs );