Changeset 2064:43a191ddc184
- Timestamp:
- 09/24/13 16:21:46 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r2063 r2064 832 832 '<th>'.__('Edit').'</th>'. 833 833 '</tr>'; 834 $comments = array(); 835 if (isset($_REQUEST['comments'])) { 836 foreach ($_REQUEST['comments'] as $v) { 837 $comments[(integer)$v]=true; 838 } 839 } 834 840 835 841 while($rs->fetch()) … … 858 864 859 865 '<td class="nowrap">'. 860 ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id, '','','',0,'title="'.($tb ? __('select this trackback') : __('select this comment')).'"') : '').'</td>'.866 ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,isset($comments[$rs->comment_id]),'','',0,'title="'.($tb ? __('select this trackback') : __('select this comment')).'"') : '').'</td>'. 861 867 '<td class="maximal">'.html::escapeHTML($rs->comment_author).'</td>'. 862 868 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->comment_dt).'</td>'.
Note: See TracChangeset
for help on using the changeset viewer.