Ticket #2601: 2601.diff
File 2601.diff, 4.2 KB (added by , 19 years ago) |
---|
-
wp-admin/admin-functions.php
681 681 <?php echo $pad; ?><?php the_title() ?> 682 682 </td> 683 683 <td><?php the_author() ?></td> 684 <td><?php echo mysql2date( 'Y-m-d g:i a', $post->post_modified); ?></td>684 <td><?php echo mysql2date(get_settings('date_format') .' ' . get_settings('time_format'), $post->post_modified); ?></td> 685 685 <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e('View'); ?></a></td> 686 686 <td><?php if ( current_user_can('edit_page', $id) ) { echo "<a href='page.php?action=edit&post=$id' class='edit'>" . __('Edit') . "</a>"; } ?></td> 687 687 <td><?php if ( current_user_can('edit_page', $id) ) { echo "<a href='page.php?action=delete&post=$id' class='delete' onclick=\"return deleteSomething( 'page', " . $id . ", '" . sprintf(__("You are about to delete the "%s" page.\\n"OK" to delete, "Cancel" to stop."), wp_specialchars(get_the_title('','',0), 1)) . "' );\">" . __('Delete') . "</a>"; } ?></td> -
wp-admin/edit-comments.php
113 113 114 114 <?php comment_text() ?> 115 115 116 <p><?php _e('Posted'); echo ' '; comment_date( 'M j, g:i A');116 <p><?php _e('Posted'); echo ' '; comment_date(get_settings('date_format') .' ' . get_settings('time_format')); 117 117 if ( current_user_can('edit_post', $comment->comment_post_ID) ) { 118 118 echo " | <a href=\"comment.php?action=editcomment&comment=".$comment->comment_ID."\">" . __('Edit Comment') . "</a>"; 119 119 echo " | <a href=\"comment.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 Comment') . "</a> "; -
wp-admin/edit.php
163 163 164 164 case 'date': 165 165 ?> 166 <td><?php the_time( 'Y-m-d \<\b\r \/\> g:i:s a'); ?></td>166 <td><?php the_time(get_settings('date_format') .' \<\b\r \/\> ' . get_settings('time_format')); ?></td> 167 167 <?php 168 168 break; 169 169 case 'title': -
wp-admin/moderation.php
142 142 else $class = ''; 143 143 echo "\n\t<li id='comment-$comment->comment_ID' $class>"; 144 144 ?> 145 <p><strong><?php _e('Name:') ?></strong> <?php comment_author_link() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url && 'http://' != $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> | <strong><?php _e('Date:') ?></strong> <?php comment_date(); ?></p>145 <p><strong><?php _e('Name:') ?></strong> <?php comment_author_link() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url && 'http://' != $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> | <strong><?php _e('Date:') ?></strong> <?php echo $comment_date; ?></p> 146 146 <?php comment_text() ?> 147 147 <p><?php 148 148 echo '<a href="comment.php?action=editcomment&comment='.$comment->comment_ID.'">' . __('Edit') . '</a> | ';?>