summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/edit.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-05 09:37:28 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-05 09:37:28 +0000
commit5780129839620fe3a114310360d24f4e01b538ee (patch)
tree9e23fed33bb4fa96c92a4701f68135ffc99e6d13 /wp-inst/wp-admin/edit.php
parenta4d6e4072b70beecc76032f95bd0752f59e696c4 (diff)
downloadwordpress-mu-5780129839620fe3a114310360d24f4e01b538ee.tar.gz
wordpress-mu-5780129839620fe3a114310360d24f4e01b538ee.tar.xz
wordpress-mu-5780129839620fe3a114310360d24f4e01b538ee.zip
More WP Merge!
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@287 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/edit.php')
-rw-r--r--wp-inst/wp-admin/edit.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/wp-inst/wp-admin/edit.php b/wp-inst/wp-admin/edit.php
index 4440742..6c51f38 100644
--- a/wp-inst/wp-admin/edit.php
+++ b/wp-inst/wp-admin/edit.php
@@ -128,7 +128,7 @@ $posts_columns['control_delete'] = '';
?>
-<table width="100%" cellpadding="3" cellspacing="3">
+<table id="the-list-x" width="100%" cellpadding="3" cellspacing="3">
<tr>
<?php foreach($posts_columns as $column_display_name) { ?>
@@ -142,7 +142,7 @@ $bgcolor = '';
foreach ($posts as $post) { start_wp();
$class = ('alternate' == $class) ? '' : 'alternate';
?>
- <tr class='<?php echo $class; ?>'>
+ <tr id='post-<?php echo $id; ?>' class='<?php echo $class; ?>'>
<?php
@@ -202,7 +202,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
case 'control_delete':
?>
- <td><?php if ( current_user_can('edit_post',$post->ID) ) { echo "<a href='post.php?action=delete&amp;post=$id' class='delete' onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), wp_specialchars(get_the_title('', ''), 1) ) . "')\">" . __('Delete') . "</a>"; } ?></td>
+ <td><?php if ( current_user_can('edit_post',$post->ID) ) { echo "<a href='post.php?action=delete&amp;post=$id' class='delete' onclick=\"return deleteSomething( 'post', " . $id . ", '" . sprintf(__("You are about to delete this post &quot;%s&quot;.\\n&quot;OK&quot; to delete, &quot;Cancel&quot; to stop."), wp_specialchars(get_the_title('', ''), 1) ) . "' );\">" . __('Delete') . "</a>"; } ?></td>
<?php
break;
@@ -225,7 +225,9 @@ foreach($posts_columns as $column_name=>$column_display_name) {
<?php
} // end if ($posts)
?>
-</table>
+</table>
+
+<div id="ajax-response"></div>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries')) ?></div>