Changeset 601 for trunk/wp-admin/edit.php
- Timestamp:
- 12/11/2003 12:22:36 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r570 r601 1 1 <?php 2 2 $title = 'Edit Posts'; 3 require_once(' b2header.php');3 require_once('admin-header.php'); 4 4 if (!$showposts) { 5 5 if ($posts_per_page) { … … 39 39 <li><a href="edit.php" class="current">Latest Posts</a></li> 40 40 <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> 42 42 </ul> 43 43 … … 234 234 235 235 <?php 236 include($abspath.' blog.header.php');236 include($abspath.'wp-blog-header.php'); 237 237 238 238 if ($posts) { … … 243 243 <?php 244 244 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 245 echo " - <a href=' wp-post.php?action=edit&post=$id";245 echo " - <a href='post.php?action=edit&post=$id"; 246 246 if ($m) 247 247 echo "&m=$m"; 248 248 echo "'>Edit</a>"; 249 echo " - <a href=' wp-post.php?action=delete&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&post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n \'OK\' to delete, \'Cancel\' to stop.')\">Delete</a> "; 250 250 } 251 251 if ('private' == $post->post_status) echo ' - <strong>Private</strong>'; … … 285 285 <?php 286 286 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 287 echo "[ <a href=\" wp-post.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>";288 echo " - <a href=\" wp-post.php?action=deletecomment&p=".$post->ID."&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&comment=".$comment->comment_ID."\">Edit</a>"; 288 echo " - <a href=\"post.php?action=deletecomment&p=".$post->ID."&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> "; 289 289 if ( ('none' != $comment_status) && ($user_level >= 3) ) { 290 290 if ('approved' == wp_get_comment_status($comment->comment_ID)) { 291 echo " - <a href=\" wp-post.php?action=unapprovecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Unapprove</a> ";291 echo " - <a href=\"post.php?action=unapprovecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Unapprove</a> "; 292 292 } else { 293 echo " - <a href=\" wp-post.php?action=approvecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Approve</a> ";293 echo " - <a href=\"post.php?action=approvecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">Approve</a> "; 294 294 } 295 295 } … … 321 321 <!-- form to add a comment --> 322 322 323 <form action="<?php echo $siteurl.'/ b2comments.post.php'?>" method="post">323 <form action="<?php echo $siteurl.'/wp-comments-post.php'?>" method="post"> 324 324 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 325 325 <input type="hidden" name="redirect_to" value="<?php echo $HTTP_SERVER_VARS["REQUEST_URI"]; ?>" /> … … 358 358 // uncomment this to show the nav bar at the bottom as well 359 359 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.