if ( $i >= 0 ) {
$checked = "";
if ( $this->mSearchNs[$i] ) {
- $checked = " checked";
+ $checked = ' checked="checked"';
}
$name = str_replace( "_", " ", $namespaces[$i] );
if ( "" == $name ) {
# Quickbar setting
#
for ( $i = 0; $i < count( $qbs ); ++$i ) {
- if ( $i == $this->mQuickbar ) { $checked = " checked"; }
+ if ( $i == $this->mQuickbar ) { $checked = ' checked="checked"'; }
else { $checked = ""; }
$wgOut->addHTML( "<label><input type=radio name=\"wpQuickbar\"
value=\"$i\"$checked> {$qbs[$i]}</label><br>\n" );
# $skinNames (skins is all skin names from Language.php)
foreach ($wgValidSkinNames as $skinkey => $skinname ) {
if ( $skinkey == $this->mSkin ) {
- $checked = ' checked';
+ $checked = ' checked="checked"';
} else {
$checked = "";
}
$wgOut->addHTML("<table border=0>");
foreach ( $togs as $tname => $ttext ) {
if ( 1 == $wgUser->getOption( $tname ) ) {
- $checked = " checked";
+ $checked = ' checked="checked"';
} else {
$checked = "";
}
#
$wgOut->addHTML( "<tr><td valign=top nowrap><b>$math:</b><br>\n" );
for ( $i = 0; $i < count( $mathopts ); ++$i ) {
- if ( $i == $this->mMath ) { $checked = " checked"; }
+ if ( $i == $this->mMath ) { $checked = ' checked="checked"'; }
else { $checked = ""; }
$wgOut->addHTML( "<label><input type=radio name=\"wpMath\"
value=\"$i\"$checked> {$mathopts[$i]}</label><br>\n" );
$wgOut->addHTML( "<tr><td valign=top nowrap><b>$dateFormat:</b><br>" );
for ( $i = 0; $i < count( $dateopts ); ++$i) {
if ( $i == $this->mDate ) {
- $checked = " checked";
+ $checked = ' checked="checked"';
} else {
$checked = "";
}
#
$this->mUserEmail = wfEscapeHTML( $this->mUserEmail );
$this->mNick = wfEscapeHTML( $this->mNick );
- if ( $this->mEmailFlag ) { $emfc = "checked"; }
+ if ( $this->mEmailFlag ) { $emfc = 'checked="checked"'; }
else { $emfc = ""; }
$ps = $this->namespacesCheckboxes();