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.php

    r570 r601  
    11<?php
    22$title = 'Edit Posts';
    3 require_once('b2header.php');
     3require_once('admin-header.php');
    44if (!$showposts) {
    55    if ($posts_per_page) {
     
    3939    <li><a href="edit.php" class="current">Latest Posts</a></li>
    4040    <li><a href="edit-comments.php">Latest Comments</a></li>
    41     <li class="last"><a href="wp-moderation.php">Comments Awaiting Moderation</a></li>
     41    <li class="last"><a href="moderation.php">Comments Awaiting Moderation</a></li>
    4242</ul>
    4343
     
    234234
    235235<?php
    236 include($abspath.'blog.header.php');
     236include($abspath.'wp-blog-header.php');
    237237
    238238if ($posts) {
     
    243243                <?php
    244244                if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
    245                 echo " - <a href='wp-post.php?action=edit&amp;post=$id";
     245                echo " - <a href='post.php?action=edit&amp;post=$id";
    246246                if ($m)
    247247                echo "&m=$m";
    248248                echo "'>Edit</a>";
    249                 echo " - <a href='wp-post.php?action=delete&amp;post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n  \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> ";
     249                echo " - <a href='post.php?action=delete&amp;post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n  \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> ";
    250250                }
    251251                if ('private' == $post->post_status) echo ' - <strong>Private</strong>';
     
    285285                            <?php
    286286                            if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
    287                                 echo "[ <a href=\"wp-post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">Edit</a>";
    288                                 echo " - <a href=\"wp-post.php?action=deletecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n  \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> ";
     287                                echo "[ <a href=\"post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">Edit</a>";
     288                                echo " - <a href=\"post.php?action=deletecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n  \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> ";
    289289                                if ( ('none' != $comment_status) && ($user_level >= 3) ) {
    290290                                    if ('approved' == wp_get_comment_status($comment->comment_ID)) {
    291                                         echo " - <a href=\"wp-post.php?action=unapprovecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Unapprove</a> ";
     291                                        echo " - <a href=\"post.php?action=unapprovecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Unapprove</a> ";
    292292                                    } else {
    293                                         echo " - <a href=\"wp-post.php?action=approvecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Approve</a> ";
     293                                        echo " - <a href=\"post.php?action=approvecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">Approve</a> ";
    294294                                    }
    295295                                }
     
    321321                    <!-- form to add a comment -->
    322322
    323                     <form action="<?php echo $siteurl.'/b2comments.post.php'?>" method="post">
     323                    <form action="<?php echo $siteurl.'/wp-comments-post.php'?>" method="post">
    324324                        <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    325325                        <input type="hidden" name="redirect_to" value="<?php echo $HTTP_SERVER_VARS["REQUEST_URI"]; ?>" />
     
    358358// uncomment this to show the nav bar at the bottom as well
    359359 echo $posts_nav_bar;
    360  include('b2footer.php');
    361 ?>
     360 include('admin-footer.php');
     361?>
Note: See TracChangeset for help on using the changeset viewer.