[wp-cvs] wordpress/wp-admin categories.php, 1.40,
1.41 edit-comments.php, 1.35, 1.36 moderation.php, 1.18,
1.19 wp-admin.css, 1.66, 1.67
Matthew Mullenweg
saxmatt at users.sourceforge.net
Tue Oct 5 07:13:54 UTC 2004
- Previous message: [wp-cvs] wordpress/wp-admin admin-header.php, 1.31,
1.32 bookmarklet.php, 1.13, 1.14 categories.php, 1.39,
1.40 edit-comments.php, 1.34, 1.35 edit.php, 1.34, 1.35
- Next message: [wp-cvs] wordpress/wp-admin edit-comments.php,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5017/wp-admin
Modified Files:
categories.php edit-comments.php moderation.php wp-admin.css
Log Message:
Cosmetic tweaks.
Index: wp-admin.css
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/wp-admin.css,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** wp-admin.css 4 Oct 2004 06:23:52 -0000 1.66
--- wp-admin.css 5 Oct 2004 07:13:51 -0000 1.67
***************
*** 146,149 ****
--- 146,150 ----
.commentlist li {
border-bottom: 1px solid #369;
+ padding: .3em 1em;
}
Index: edit-comments.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit-comments.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** edit-comments.php 5 Oct 2004 06:59:12 -0000 1.35
--- edit-comments.php 5 Oct 2004 07:13:51 -0000 1.36
***************
*** 26,29 ****
--- 26,30 ----
</script>
<div class="wrap">
+ <h2><?php _e('Comments'); ?></h2>
<form name="searchform" action="" method="get">
<fieldset>
***************
*** 66,78 ****
if ($comments) {
echo '<ol class="commentlist">';
foreach ($comments as $comment) {
$authordata = get_userdata($wpdb->get_var("SELECT post_author FROM $wpdb->posts WHERE ID = $comment->comment_post_ID"));
$comment_status = wp_get_comment_status($comment->comment_ID);
! if ('unapproved' == $comment_status) {
! echo '<li class="unapproved">';
! } else {
! echo '<li>';
! }
! ?>
<p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
--- 67,81 ----
if ($comments) {
echo '<ol class="commentlist">';
+ $i = 0;
foreach ($comments as $comment) {
+ ++$i; $class = '';
$authordata = get_userdata($wpdb->get_var("SELECT post_author FROM $wpdb->posts WHERE ID = $comment->comment_post_ID"));
$comment_status = wp_get_comment_status($comment->comment_ID);
! if ('unapproved' == $comment_status)
! $class .= ' unapproved';
! if ($i % 2)
! $class .= ' alternate';
! echo "<li class='$class'>";
! ?>
<p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
Index: categories.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/categories.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** categories.php 5 Oct 2004 06:59:12 -0000 1.40
--- categories.php 5 Oct 2004 07:13:51 -0000 1.41
***************
*** 154,158 ****
<div class="wrap">
! <h2><?php printf(__('Current Categories (<a href="%s">add new</a>)'), '#addcat') ?> </h2>
<table width="100%" cellpadding="3" cellspacing="3">
<tr>
--- 154,158 ----
<div class="wrap">
! <h2><?php printf(__('Categories (<a href="%s">add new</a>)'), '#addcat') ?> </h2>
<table width="100%" cellpadding="3" cellspacing="3">
<tr>
Index: moderation.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/moderation.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** moderation.php 8 Sep 2004 08:30:18 -0000 1.18
--- moderation.php 5 Oct 2004 07:13:51 -0000 1.19
***************
*** 135,148 ****
$file = basename(__FILE__);
?>
! <p><?php _e('The following comments are in the moderation queue:') ?></p>
<form name="approval" action="moderation.php" method="post">
<input type="hidden" name="action" value="update" />
! <ol id="comments">
<?php
foreach($comments as $comment) {
$comment_date = mysql2date(get_settings("date_format") . " @ " . get_settings("time_format"), $comment->comment_date);
$post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID='$comment->comment_post_ID'");
!
! echo "\n\t<li id='comment-$comment->comment_ID'>";
?>
<p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
--- 135,151 ----
$file = basename(__FILE__);
?>
! <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">
<?php
+ $i = 0;
foreach($comments as $comment) {
+ ++$i;
$comment_date = mysql2date(get_settings("date_format") . " @ " . get_settings("time_format"), $comment->comment_date);
$post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID='$comment->comment_post_ID'");
! if ($i % 2) $class = 'class="alternate"';
! else $class = '';
! echo "\n\t<li id='comment-$comment->comment_ID' $class>";
?>
<p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
- Previous message: [wp-cvs] wordpress/wp-admin admin-header.php, 1.31,
1.32 bookmarklet.php, 1.13, 1.14 categories.php, 1.39,
1.40 edit-comments.php, 1.34, 1.35 edit.php, 1.34, 1.35
- Next message: [wp-cvs] wordpress/wp-admin edit-comments.php,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list