diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-13 09:51:27 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-13 09:51:27 +0000 |
| commit | cca8e94d9cfbb93c59f75409cf84fdd3f0efeda9 (patch) | |
| tree | 09f73729986d2670de678f7ca663110712d783ad | |
| parent | 412190c838368671e910e8d2c4f60d97233b753c (diff) | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@319 7be80a69-a1ef-0310-a953-fb0f7c49ff36
| -rw-r--r-- | wp-inst/wp-admin/admin-header.php | 1 | ||||
| -rw-r--r-- | wp-inst/wp-admin/index.php | 2 | ||||
| -rw-r--r-- | wp-inst/wp-admin/moderation.php | 8 |
3 files changed, 7 insertions, 4 deletions
diff --git a/wp-inst/wp-admin/admin-header.php b/wp-inst/wp-admin/admin-header.php index 4acabb0..70cd89a 100644 --- a/wp-inst/wp-admin/admin-header.php +++ b/wp-inst/wp-admin/admin-header.php @@ -96,6 +96,7 @@ tinyMCE.init({ theme_advanced_resizing : true, theme_advanced_resize_horizontal : false, entity_encoding : "raw", + relative_urls : false, extended_valid_elements : "a[id|href|title|onclick],img[class|src|alt|title|width|height|align]", plugins : "emotions,wordpress" <?php do_action('mce_options'); ?> diff --git a/wp-inst/wp-admin/index.php b/wp-inst/wp-admin/index.php index d578c87..900f72d 100644 --- a/wp-inst/wp-admin/index.php +++ b/wp-inst/wp-admin/index.php @@ -78,7 +78,7 @@ foreach ($recentposts as $post) { <?php endif; ?> <?php -if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today'") ) : +if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today' ORDER BY post_date ASC") ) : ?> <div> <h3><?php _e('Scheduled Entries:') ?></h3> diff --git a/wp-inst/wp-admin/moderation.php b/wp-inst/wp-admin/moderation.php index c9e1723..656378e 100644 --- a/wp-inst/wp-admin/moderation.php +++ b/wp-inst/wp-admin/moderation.php @@ -77,7 +77,7 @@ default: require_once('admin-header.php'); if ( isset($_GET['deleted']) || isset($_GET['approved']) || isset($_GET['ignored']) ) { - echo "<div id='moderated' class='updated'>\n<p>"; + echo "<div id='moderated' class='updated fade'>\n<p>"; $approved = (int) $_GET['approved']; $deleted = (int) $_GET['deleted']; $ignored = (int) $_GET['ignored']; @@ -130,7 +130,7 @@ if ($comments) { <h2><?php _e('Moderation Queue') ?></h2> <form name="approval" action="moderation.php" method="post"> <input type="hidden" name="action" value="update" /> - <ol id="comments" class="commentlist"> + <ol id="the-list" class="commentlist"> <?php $i = 0; foreach($comments as $comment) { @@ -147,7 +147,7 @@ $i = 0; echo '<a href="post.php?action=editcomment&comment='.$comment->comment_ID.'">' . __('Edit') . '</a> | ';?> <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php _e('View Post') ?></a> | <?php -echo " <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), $comment->comment_author) . "')\">" . __('Delete just this comment') . "</a> | "; ?> <?php _e('Bulk action:') ?> +echo " <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by "%s".\\n"Cancel" to stop, "OK" to delete."), wp_specialchars($comment->comment_author, 1)) . "' );\">" . __('Delete just this comment') . "</a> | "; ?> <?php _e('Bulk action:') ?> <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve"><?php _e('Approve') ?></label> <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-spam" value="spam" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-spam"><?php _e('Spam') ?></label> <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-delete" value="delete" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-delete"><?php _e('Delete') ?></label> @@ -160,6 +160,8 @@ echo " <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID ?> </ol> +<div id="ajax-response"></div> + <p class="submit"><input type="submit" name="submit" value="<?php _e('Moderate Comments »') ?>" /></p> <script type="text/javascript"> // <