Changeset 2566:9bf417837888 for admin/comments.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comments.php
r2498 r2566 119 119 $order = 'desc'; 120 120 } 121 121 122 122 if ($sortby != 'comment_dt' || $order != 'desc') { 123 123 $show_filters = true; … … 186 186 unset($_SESSION['comments_del_spam']); 187 187 } 188 188 189 189 $spam_count = $core->blog->getComments(array('comment_status'=>-2),true)->f(0); 190 190 if ($spam_count > 0) { 191 192 echo 191 192 echo 193 193 '<form action="comments.php" method="post" class="fieldset">'; 194 194 … … 202 202 } 203 203 } 204 204 205 205 echo 206 206 '<p class="no-margin">'. … … 213 213 echo '</form>'; 214 214 } 215 215 216 216 echo 217 217 '<form action="comments.php" method="get" id="filters-form">'. … … 226 226 form::combo('status',$status_combo,$status).'</p>'. 227 227 '</div>'. 228 228 229 229 '<div class="cell filters-sibling-cell">'. 230 230 '<p><label for="author" class="ib">'.__('Author:').'</label> '. … … 233 233 form::field('ip',20,39,html::escapeHTML($ip)).'</p>'. 234 234 '</div>'. 235 235 236 236 '<div class="cell filters-options">'. 237 237 '<h4>'.__('Display options').'</h4>'. … … 244 244 __('comments per page').'</label></p>'. 245 245 '</div>'. 246 246 247 247 '</div>'. 248 248 '<p><input type="submit" value="'.__('Apply filters and display options').'" />'. 249 249 '<br class="clear" /></p>'. //Opera sucks 250 250 '</form>'; 251 251 252 252 # Show comments 253 253 $comment_list->display($page,$nb_per_page, 254 254 '<form action="comments.php" method="post" id="form-comments">'. 255 255 256 256 '%s'. 257 257 258 258 '<div class="two-cols">'. 259 259 '<p class="col checkboxes-helpers"></p>'. 260 260 261 261 '<p class="col right"><label for="action" class="classic">'.__('Selected comments action:').'</label> '. 262 262 form::combo('action',$comments_actions_page->getCombo(),$default,'','','','title="'.__('Actions').'"'). … … 272 272 form::hidden(array('nb'),$nb_per_page). 273 273 '</div>'. 274 274 275 275 '</form>', 276 276 $show_filters … … 280 280 dcPage::helpBlock('core_comments'); 281 281 dcPage::close(); 282 ?>
Note: See TracChangeset
for help on using the changeset viewer.