r46420 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46419‎ | r46420 | r46421 >
Date:04:14, 28 January 2009
Author:aaron
Status:resolved (Comments)
Tags:
Comment:
Pretty alignment
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php
@@ -687,15 +687,15 @@
688688 $html .= '<td><table>';
689689 $html .= '<tr><th align="left">'.wfMsgHtml('ratinghistory-table-rating').'</th>';
690690 for( $i = 1; $i <= 5; $i++ ) {
691 - $html .= "<td class='fr-rating-option-".($i-1)."'>$i</td>";
 691+ $html .= "<td align='center' class='fr-rating-option-".($i-1)."'>$i</td>";
692692 }
693693 $html .= '</tr><tr>';
694694 $html .= '<th align="left">'.wfMsgHtml("ratinghistory-table-votes").'</th>';
695 - $html .= '<td>'.$dist[0].'</td>';
696 - $html .= '<td>'.$dist[1].'</td>';
697 - $html .= '<td>'.$dist[2].'</td>';
698 - $html .= '<td>'.$dist[3].'</td>';
699 - $html .= '<td>'.$dist[4].'</td>';
 695+ $html .= '<td align="center">'. 111 .'</td>';
 696+ $html .= '<td align="center">'.$dist[1].'</td>';
 697+ $html .= '<td align="center">'.$dist[2].'</td>';
 698+ $html .= '<td align="center">'.$dist[3].'</td>';
 699+ $html .= '<td align="center">'.$dist[4].'</td>';
700700 $html .= "</tr></table></td>\n";
701701 }
702702 $html .= '</tr></table>';

Comments

#Comment by Aaron Schulz (talk | contribs)   04:24, 28 January 2009

Debug line removed in r46423

Status & tagging log