Changeset 476:2d7f174b2fbc
- Timestamp:
- 07/01/11 21:09:30 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comments.php
r270 r476 108 108 # Actions combo box 109 109 $combo_action = array(); 110 $default = ''; 110 111 if ($core->auth->check('publish,contentadmin',$core->blog->id)) 111 112 { … … 118 119 { 119 120 $combo_action[__('delete')] = 'delete'; 121 if ($status == -2) { 122 $default = 'delete'; 123 } 120 124 } 121 125 … … 214 218 215 219 '<p class="col right"><label for="action" class="classic">'.__('Selected comments action:').'</label> '. 216 form::combo('action',$combo_action, '','','','','title="'.__('action: ').'"').220 form::combo('action',$combo_action,$default,'','','','title="'.__('action: ').'"'). 217 221 $core->formNonce(). 218 222 '<input type="submit" value="'.__('ok').'" /></p>'.
Note: See TracChangeset
for help on using the changeset viewer.