Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php |
— | — | @@ -22,9 +22,9 @@ |
23 | 23 | 'comment' |
24 | 24 | ); |
25 | 25 | private $sorts = array( |
26 | | - 'newest', |
27 | | - 'oldest', |
28 | | - 'helpful' |
| 26 | + 'age', |
| 27 | + 'helpfulness', |
| 28 | + 'rating' |
29 | 29 | ); |
30 | 30 | |
31 | 31 | /** |
— | — | @@ -135,7 +135,13 @@ |
136 | 136 | |
137 | 137 | $sortLabels = array(); |
138 | 138 | foreach ( $this->sorts as $sort ) { |
139 | | - $sortLabels[] = Html::element( |
| 139 | + $sortLabels[] = Html::element( 'span', |
| 140 | + array( |
| 141 | + 'id' => 'articleFeedbackv5-sort-arrow-' . $sort, |
| 142 | + 'class' => 'articleFeedbackv5-sort-arrow' |
| 143 | + |
| 144 | + ), '' ) |
| 145 | + . Html::element( |
140 | 146 | 'a', |
141 | 147 | array( |
142 | 148 | 'href' => '#', |
— | — | @@ -173,7 +179,7 @@ |
174 | 180 | . Html::closeElement( 'div' ) |
175 | 181 | . Html::openElement( |
176 | 182 | 'div', |
177 | | - array( 'id' => 'articleFeedbackv5-sort' ) |
| 183 | + array( 'id' => 'articleFeedbackv5-filter' ) |
178 | 184 | ) |
179 | 185 | . $this->msg( 'articlefeedbackv5-special-filter-label-before' )->escaped() |
180 | 186 | . $filterSelect->getHTML() |