Make WordPress Core


Ignore:
Timestamp:
12/11/2003 12:22:36 AM (22 years ago)
Author:
saxmatt
Message:

The great renaming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r590 r601  
    22$title = 'Edit Comments';
    33$parent_file = 'edit.php';
    4 require_once('b2header.php');
     4require_once('admin-header.php');
    55
    66if (!$showcomments) {
     
    4141    <li><a href="edit.php">Latest Posts</a></li>
    4242    <li><a href="edit-comments.php" class="current">Latest Comments</a></li>
    43     <li class="last"><a href="wp-moderation.php">Comments Awaiting Moderation</a></li>
     43    <li class="last"><a href="moderation.php">Comments Awaiting Moderation</a></li>
    4444</ul>
    4545
     
    156156        <p>Posted <?php comment_date('M j, g:i A') ?> | <?php
    157157            if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
    158                 echo "<a href=\"wp-post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">Edit Comment</a>";
    159                 echo " | <a href=\"wp-post.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n  \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> | ";
     158                echo "<a href=\"post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">Edit Comment</a>";
     159                echo " | <a href=\"post.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n  \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> | ";
    160160            } // end if any comments to show
    161161            // Get post title
    162162            $post_title = $wpdb->get_var("SELECT post_title FROM $tableposts WHERE ID = $comment->comment_post_ID");
    163163            $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title;
    164             ?> <a href="wp-post.php?action=edit&amp;post=<?php echo $comment->comment_post_ID; ?>">Edit Post &#8220;<?php echo $post_title; ?>&#8221;</a></p>
     164            ?> <a href="post.php?action=edit&amp;post=<?php echo $comment->comment_post_ID; ?>">Edit Post &#8220;<?php echo $post_title; ?>&#8221;</a></p>
    165165        </li>
    166166
     
    184184<?php
    185185echo $comments_nav_bar;
    186 include('b2footer.php');
     186include('admin-footer.php');
    187187?>
Note: See TracChangeset for help on using the changeset viewer.