$column_display_name) { if ( 'cb' === $post_column_key ) $class = ' class="check-column"'; elseif ( 'comments' === $post_column_key ) $class = ' class="num"'; else $class = ''; ?> \n\t\n"; // Hack! $class = ( $i_post > 15 || 'alternate' == $class) ? '' : 'alternate'; global $current_user; $post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' ); ?> post_status ); ?>' valign="top"> $column_display_name) { switch($column_name) { case 'cb': ?> post_date && 'date' == $column_name ) { $t_time = $h_time = __('Unpublished'); } 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($t_diff = time() - $time) ) < 86400 ) { if ( $t_diff < 0 ) $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_parent) ) { $title = get_the_title($post->post_parent); if ( empty($title) ) $title = __('(no title)'); } else { $title = ''; } ?>
>