Fixed javascript popup for delete confirmation

git-svn-id: http://svn.automattic.com/wordpress/trunk@364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-09-09 22:34:15 +00:00
parent 2e2f6c2c58
commit b0162755cf
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ if ($i == "ASC")
if ($m) if ($m)
echo "&m=$m"; echo "&m=$m";
echo "'>Edit</a>"; echo "'>Edit</a>";
echo " - <a href='b2edit.php?action=delete&amp;post=$id' onclick=\"return confirm('You are about to delete this post \'".$row->post_title."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> "; echo " - <a href='b2edit.php?action=delete&amp;post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ";
} }
if ('private' == $post->post_status) echo ' - <strong>Private</strong>'; if ('private' == $post->post_status) echo ' - <strong>Private</strong>';
?> ?>