'', // Unused. Messages start at index 1. 1 => __('View updated.', 'wpv-views'), 2 => __('Custom field updated.'), 3 => __('Custom field deleted.'), 4 => __('View updated.', 'wpv-views'), /* translators: %s: date and time of the revision */ 5 => isset($_GET['revision']) ? sprintf( __('View restored to revision from %s', 'wpv-views'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 6 => __('View published.', 'wpv-views'), 7 => __('View saved.', 'wpv-views'), 8 => __('View submitted.', 'wpv-views'), 9 => sprintf( __('View scheduled for: %1$s.', 'wpv-views'), // translators: Publish box date format, see http://php.net/date date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ) ), 10 => __('View draft updated', 'wpv-views'), ); } if ($post_type == 'view-template') { $messages['view-template'] = array( 0 => '', // Unused. Messages start at index 1. 1 => __('View template updated.', 'wpv-views'), 2 => __('Custom field updated.'), 3 => __('Custom field deleted.'), 4 => __('View template updated.', 'wpv-views'), /* translators: %s: date and time of the revision */ 5 => isset($_GET['revision']) ? sprintf( __('View template restored to revision from %s', 'wpv-views'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 6 => __('View template published.', 'wpv-views'), 7 => __('View template saved.', 'wpv-views'), 8 => __('View template submitted.', 'wpv-views'), 9 => sprintf( __('View template scheduled for: %1$s.', 'wpv-views'), // translators: Publish box date format, see http://php.net/date date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ) ), 10 => __('View template draft updated', 'wpv-views'), ); } return $messages; } function wpv_render_checkboxes($values, $selected, $name) { $checkboxes = ''; return $checkboxes; } function wpv_render_filter_td($row, $id, $name, $summary_function, $selected, $data) { $td = ''; $td .= ''; $td .= "
\n"; $td .= call_user_func($summary_function, $selected); $td .= "
\n"; $td .= "