shish d3ceb8ef97 changes to 2.2, and remove broken text score
git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.2@784 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 16:56:12 +00:00

23 lines
570 B
PHP

<?php
class NumericScoreTheme extends Themelet {
public function get_voter_html($image) {
$i_image_id = int_escape($image->id);
$i_score = int_escape($image->numeric_score);
$html = "
<tr>
<td>Score ($i_score)</td>
<td>
<input type='radio' name='numeric_score' value='u' id='u'><label for='u'>Up</label>
<input type='radio' name='numeric_score' value='n' id='n' checked><label for='n'>Keep</label>
<input type='radio' name='numeric_score' value='d' id='d'><label for='d'>Down</label>
</td>
</tr>
";
return $html;
}
}
?>