mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Comment it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
575137d7cb
commit
1f5d112361
@ -148,6 +148,7 @@ echo " <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID
|
||||
|
||||
<p class="submit"><input type="submit" name="submit" value="<?php _e('Moderate Comments »') ?>" /></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>
|
||||
|
Loading…
Reference in New Issue
Block a user