r108190 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108189‎ | r108190 | r108191 >
Date:01:38, 6 January 2012
Author:bsitu
Status:ok
Tags:
Comment:
adding class name to "my responses only" and "show unanswered" checkboxes
Modified paths:
  • /trunk/extensions/MoodBar/SpecialFeedbackDashboard.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/SpecialFeedbackDashboard.php
@@ -146,7 +146,7 @@
147147 if ( !$wgUser->isAnon() ) {
148148 $myResponseMsg = wfMessage( 'moodbar-feedback-filters-my-response' )->escaped();
149149 $myResponseCheckbox = Xml::check( 'myresponse', $wgRequest->getCheck( 'myresponse' ),
150 - array( 'id' => 'fbd-filters-my-response', 'value' => '1' ) );
 150+ array( 'id' => 'fbd-filters-my-response', 'value' => '1', 'class' => 'fbd-filters-check' ) );
151151
152152 $myResponseFilter = '<label for="fbd-filters-my-response" id="fbd-filters-type-my-response-label" class="fbd-filters-label">' .
153153 $myResponseCheckbox . $myResponseMsg . '</label>';
@@ -155,7 +155,7 @@
156156 // Show unanswered filter
157157 $showUnansweredMsg = wfMessage( 'moodbar-feedback-filters-show-unanswered' )->escaped();
158158 $showUnansweredCheckbox = Xml::check( 'showunanswered', $wgRequest->getCheck( 'showunanswered' ),
159 - array( 'id' => 'fbd-filters-show-unanswered', 'value' => '1' ) );
 159+ array( 'id' => 'fbd-filters-show-unanswered', 'value' => '1', 'class' => 'fbd-filters-check' ) );
160160
161161 $showUnansweredFilter = '<label for="fbd-filters-show-unanswered" id="fbd-filters-type-show-unanswered-label" class="fbd-filters-label">' .
162162 $showUnansweredCheckbox . $showUnansweredMsg . '</label>';

Status & tagging log