Changeset 2692 for trunk/wp-admin/post.php
- Timestamp:
- 07/03/2005 05:42:11 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r2691 r2692 168 168 die( __('You are not allowed to delete comments on this post.') ); 169 169 170 echo "<div class= \"wrap\">\n";170 echo "<div class='wrap'>\n"; 171 171 echo "<p>" . __('<strong>Caution:</strong> You are about to delete the following comment:') . "</p>\n"; 172 echo "<table border= \"0\">\n";173 echo "<tr><td>" . __('Author:') . "</td><td> " . $comment->comment_author . "</td></tr>\n";174 echo "<tr><td>" . __('E-mail:') . "</td><td> " . $comment->comment_author_email . "</td></tr>\n";175 echo "<tr><td>". __('URL:') . "</td><td> " . $comment->comment_author_url . "</td></tr>\n";176 echo "<tr><td>". __('Comment:') . "</td><td> " . $comment->comment_content . "</td></tr>\n";172 echo "<table border='0'>\n"; 173 echo "<tr><td>" . __('Author:') . "</td><td>$comment->comment_author</td></tr>\n"; 174 echo "<tr><td>" . __('E-mail:') . "</td><td>$comment->comment_author_email</td></tr>\n"; 175 echo "<tr><td>". __('URL:') . "</td><td>$comment->comment_author_url</td></tr>\n"; 176 echo "<tr><td>". __('Comment:') . "</td><td>$comment->comment_content</td></tr>\n"; 177 177 echo "</table>\n"; 178 178 echo "<p>" . __('Are you sure you want to do that?') . "</p>\n"; 179 179 180 180 echo "<form action='".get_settings('siteurl')."/wp-admin/post.php' method='get'>\n"; 181 echo "<input type= \"hidden\" name=\"action\" value=\"deletecomment\"/>\n";182 echo "<input type= \"hidden\" name=\"p\" value=\"$p\"/>\n";183 echo "<input type= \"hidden\" name=\"comment\" value=\"{$comment->comment_ID}\"/>\n";184 echo "<input type= \"hidden\" name=\"noredir\" value=\"1\"/>\n";185 echo "<input type= \"submit\" value=\"" . __('Yes') . "\"/>";181 echo "<input type='hidden' name='action' value='deletecomment' />\n"; 182 echo "<input type='hidden' name='p' value='$p' />\n"; 183 echo "<input type='hidden' name='comment' value='{$comment->comment_ID}' />\n"; 184 echo "<input type='hidden' name='noredir' value='1' />\n"; 185 echo "<input type='submit' value='" . __('Yes') . "' />"; 186 186 echo " "; 187 echo "<input type= \"button\" value=\"" . __('No') . "\" onclick=\"self.location='". get_settings('siteurl') ."/wp-admin/edit.php?p=$p&c=1#comments';\"/>\n";187 echo "<input type='button' value='" . __('No') . "' onclick='self.location='". get_settings('siteurl') ."/wp-admin/edit.php?p=$p&c=1#comments';' />\n"; 188 188 echo "</form>\n"; 189 189 echo "</div>\n";
Note: See TracChangeset
for help on using the changeset viewer.