Changeset 44626
- Timestamp:
- 05/07/08 05:14:24 (2 months ago)
- Files:
-
- worst-offenders/trunk/classes/litmus.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
worst-offenders/trunk/classes/litmus.php
r43791 r44626 71 71 72 72 public static function wo3_show_row($num, $reason_or_offender, $ids) { 73 $preselect_threshold = 3; // should be an option 74 $checked = ($num >= $preselect_threshold ? "checked" : ""); 73 75 if (AllLitmus::isActive()) { 74 echo("<input id='$hids' type='hidden' name='worst[]'checked value='$ids' />");76 echo("<input style='visibility:hidden;display:none;' id='$hids' type='checkbox' name='worst[]' $checked value='$ids' />"); 75 77 } else { 76 $preselect_threshold = 3; // should be an option77 $checked = ($num >= $preselect_threshold ? "checked" : "");78 78 echo("<tr>"); 79 79 echo("<td><input id='$hids' type='checkbox' name='worst[]' $checked value='$ids' /></td>");
