post_status ); ?>' valign="top">
$column_display_name) {
switch($column_name) {
case 'cb':
?>
|
post_date && 'date' == $column_name ) {
$t_time = $h_time = __('Unpublished');
} else {
if ( 'modified' == $column_name ) {
$t_time = get_the_modified_time(__('Y/m/d g:i:s A'));
$m_time = $post->post_modified;
$time = get_post_modified_time('G', true);
} else {
$t_time = get_the_time(__('Y/m/d g:i:s A'));
$m_time = $post->post_date;
$time = get_post_time('G', true);
}
if ( ( abs(time() - $time) ) < 86400 ) {
if ( ( 'future' == $post->post_status) )
$h_time = sprintf( __('%s from now'), human_time_diff( $time ) );
else
$h_time = sprintf( __('%s ago'), human_time_diff( $time ) );
} else {
$h_time = mysql2date(__('Y/m/d'), $m_time);
}
}
?>
|
">
post_status) _e(' — Private'); ?> |
slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'category', 'display')) . "";
echo join( ', ', $out );
} else {
_e('Uncategorized');
}
?> |
slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . "";
echo join( ', ', $out );
} else {
_e('No Tags');
}
?> |
ID );
$pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
if ( $left )
echo '';
comments_number("', "', "');
if ( $left )
echo '';
?>
|
|
" rel="permalink">
post_status ) {
case 'publish' :
case 'private' :
_e('Published');
break;
case 'future' :
_e('Scheduled');
break;
case 'pending' :
_e('Pending Review');
break;
case 'draft' :
_e('Unpublished');
break;
}
?>
|
|
ID) ) { echo "" . __('Edit') . ""; } ?> |
ID) ) { echo "ID) . "' class='delete'>" . __('Delete') . ""; } ?> |
|