(33 . 13)(33 . 12)
1265 case 'editcomment' :
1266 $title = __('Edit Comment');
1267
1268 wp_enqueue_script('comment');
1269 require_once('admin-header.php');
1270
1271 $comment_id = absint( $_GET['c'] );
1272
1273 if ( !$comment = get_comment( $comment_id ) )
1274 comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' <a href="%s">'.__('Go back').'</a>!', 'javascript:history.go(-1)') );
1275 comment_footer_die( __('Oops, no comment with this ID.') );
1276
1277 if ( !current_user_can('edit_post', $comment->comment_post_ID) )
1278 comment_footer_die( __('You are not allowed to edit comments on this post.') );
(90 . 7)(89 . 7)
1280
1281 <table width="100%">
1282 <tr>
1283 <td><input type='button' class="button" value='<?php _e('No'); ?>' onclick="self.location='<?php echo admin_url('edit-comments.php'); ?>" /></td>
1284 <td><a class="button" href="<?php echo admin_url('edit-comments.php'); ?>"><?php _e('No'); ?></a></td>
1285 <td class="textright"><input type='submit' class="button" value='<?php echo $button; ?>' /></td>
1286 </tr>
1287 </table>
(237 . 4)(236 . 4)
1289
1290 include('admin-footer.php');
1291
1292 ?>