+
+
+
+
+
+
ID), true); ?> tabindex="4" />
-
+
ID ) {
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
- $stamp = __('Scheduled for: %1$s at %2$s');
+ $stamp = __('Scheduled for:
%1$s');
} else if ( 'publish' == $post->post_status ) { // already published
- $stamp = __('Published on: %1$s at %2$s');
+ $stamp = __('Published on:
%1$s');
} else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
$stamp = __('Publish immediately');
} else { // draft, 1 or more saves, date specified
- $stamp = __('Publish on: %1$s at %2$s');
+ $stamp = __('Publish on:
%1$s');
}
- $date = mysql2date(get_option('date_format'), $post->post_date);
- $time = mysql2date(get_option('time_format'), $post->post_date);
+ $date = date_i18n( $datef, strtotime( $post->post_date ) );
} else { // draft (no saves, and thus no date specified)
$stamp = __('Publish immediately');
- $date = mysql2date(get_option('date_format'), current_time('mysql'));
- $time = mysql2date(get_option('time_format'), current_time('mysql'));
+ $date = date_i18n( $datef, strtotime( current_time('mysql') ) );
}
?>
-
+
post_status ) {
case 'publish':
@@ -128,7 +131,7 @@ switch ( $post->post_status ) {
break;
}
?>
-
+
post_status || 'private' == $post->post_status ) { ?>
@@ -167,12 +170,10 @@ if ( $can_publish OR ( $post->post_status == 'publish' AND current_user_can('edi
@@ -201,12 +201,13 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post->
+
+