Changeset 514 for trunk/wp-admin/wp-edit.showposts.php
- Timestamp:
- 11/03/2003 10:11:42 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/wp-edit.showposts.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/wp-edit.showposts.php
r453 r514 40 40 <h2 id="posts">Posts</h2> 41 41 42 <p class="anchors">Go to: <a href=" b2edit.php#top">Post/Edit</a> | <a href="b2edit.php#posts">Posts</a> | <a href="b2edit.php#comments">Comments</a></p>42 <p class="anchors">Go to: <a href="wp-post.php#top">Post/Edit</a> | <a href="wp-post.php#posts">Posts</a> | <a href="wp-post.php#comments">Comments</a></p> 43 43 44 44 <div class="wrap"> … … 134 134 <tr> 135 135 <td valign="top" width="33%"> 136 <form name="searchform" action=" b2edit.php" method="get">136 <form name="searchform" action="wp-post.php" method="get"> 137 137 <input type="hidden" name="a" value="s" /> 138 138 <input onfocus="this.value='';" onblur="if (this.value=='') {this.value='search...';}" type="text" name="s" value="search..." size="7" style="width: 100px;" /> … … 141 141 </td> 142 142 <td valign="top" width="33%" align="center"> 143 <form name="viewcat" action=" b2edit.php" method="get">143 <form name="viewcat" action="wp-post.php" method="get"> 144 144 <select name="cat" style="width:140px;"> 145 145 <option value="all">All Categories</option> … … 160 160 </td> 161 161 <td valign="top" width="33%" align="right"> 162 <form name="viewarc" action=" b2edit.php" method="get">162 <form name="viewarc" action="wp-post.php" method="get"> 163 163 <?php 164 164 … … 247 247 start_b2(); ?> 248 248 <p> 249 <strong><?php the_time('Y/m/d @ H:i:s'); ?></strong> [ <a href=" b2edit.php?p=<?php echo $id ?>&c=1"><?php comments_number('no comments', '1 comment', "% comments") ?></a>249 <strong><?php the_time('Y/m/d @ H:i:s'); ?></strong> [ <a href="wp-post.php?p=<?php echo $id ?>&c=1"><?php comments_number('no comments', '1 comment', "% comments") ?></a> 250 250 <?php 251 251 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 252 echo " - <a href=' b2edit.php?action=edit&post=$id";252 echo " - <a href='wp-post.php?action=edit&post=$id"; 253 253 if ($m) 254 254 echo "&m=$m"; 255 255 echo "'>Edit</a>"; 256 echo " - <a href=' b2edit.php?action=delete&post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ";256 echo " - <a href='wp-post.php?action=delete&post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> "; 257 257 } 258 258 if ('private' == $post->post_status) echo ' - <strong>Private</strong>'; … … 286 286 <?php 287 287 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 288 echo "[ <a href=\" b2edit.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>";289 echo " - <a href=\" b2edit.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 \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ]";288 echo "[ <a href=\"wp-post.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>"; 289 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 \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ]"; 290 290 } // end if any comments to show 291 291 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)