Date display and editing tweaks.

git-svn-id: https://develop.svn.wordpress.org/trunk@7285 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2008-03-14 08:17:59 +00:00
parent 92a7197599
commit 1d749413cd
11 changed files with 31 additions and 19 deletions
+2 -2
View File
@@ -39,11 +39,11 @@ addLoadEvent(focusit);
</p>
<?php
$stamp = __('Timestamp:<br />%1$s at %2$s');
$stamp = __('%1$s at %2$s');
$date = mysql2date(get_option('date_format'), $comment->comment_date);
$time = mysql2date(get_option('time_format'), $comment->comment_date);
?>
<p><?php printf($stamp, $date, $time); ?>
<p class="curtime"><?php printf($stamp, $date, $time); ?>
&nbsp;<a href="#edit_timestamp" class="edit-timestamp"><?php _e('Edit') ?></a></p>
<div id='timestampdiv'><?php touch_time(('editcomment' == $action), 0, 5); ?></div>