Index: trunk/extensions/ArticleFeedbackv5/api/ApiViewFeedbackArticleFeedbackv5.php |
— | — | @@ -247,9 +247,16 @@ |
248 | 248 | # . Html::closeElement( 'div' ); |
249 | 249 | |
250 | 250 | |
251 | | - $tools = Html::openElement( 'div', array( 'class' => 'articleFeedbackv5-feedback-tools' ) ) |
252 | | - . Html::element( 'h3', array(), wfMessage( 'articlefeedbackv5-form-tools-label' )->text() ) |
253 | | - . Html::openElement( 'ul' ) |
| 251 | + $tools = Html::openElement( 'div', array( |
| 252 | + 'class' => 'articleFeedbackv5-feedback-tools', |
| 253 | + 'id' => 'articleFeedbackv5-feedback-tools-'.$id |
| 254 | + ) ) |
| 255 | + . Html::element( 'h3', array( |
| 256 | + 'id' => 'articleFeedbackv5-feedback-tools-header-'.$id |
| 257 | + ), wfMessage( 'articlefeedbackv5-form-tools-label' )->text() ) |
| 258 | + . Html::openElement( 'ul', array( |
| 259 | + 'id' => 'articleFeedbackv5-feedback-tools-list-'.$id |
| 260 | + ) ) |
254 | 261 | . ( $can_hide ? Html::rawElement( 'li', array(), Html::element( 'a', array( |
255 | 262 | 'id' => "articleFeedbackv5-hide-link-$id", |
256 | 263 | 'class' => 'articleFeedbackv5-hide-link' |