Comment it

git-svn-id: https://develop.svn.wordpress.org/trunk@1988 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-12-20 20:22:26 +00:00
parent 66411afc33
commit 9822aaf404
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,7 @@ echo " <a href=\"post.php?action=deletecomment&amp;p=".$comment->comment_post_ID
<p class="submit"><input type="submit" name="submit" value="<?php _e('Moderate Comments &raquo;') ?>" /></p>
<script type="text/javascript">
// <![CDATA[
function markAllForDelete() {
for (var i=0; i< document.approval.length; i++) {
if (document.approval[i].value == "delete") {
@ -170,6 +171,7 @@ function markAllForDefer() {
}
}
document.write('<ul><li><a href="javascript:markAllForApprove()"><?php _e('Mark all for approval'); ?></a></li><li><a href="javascript:markAllForDelete()"><?php _e('Mark all for deletion'); ?></a></li><li><a href="javascript:markAllForDefer()"><?php _e('Mark all for later'); ?></a></li></ul>');
// ]]>
</script>
<noscript>