- Timestamp:
- Mar 30, 2009, 2:01:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php
r120 r142 6 6 $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 7 7 $show_month_range = empty( $options[3] ) ? '0' : $options[3] ; 8 $tag_select = $options[4] ; 9 $selected = array_slice($options,5); // get allowed cats 8 $date_format = empty( $options[4] ) ? '' : $options[4] ; 9 $time_format = empty( $options[5] ) ? '' : $options[5] ; 10 $tag_select = $options[6] ; 11 $selected = array_slice($options, 7); // get allowed cats 12 10 13 $mydirpath = get_xpress_dir_path(); 11 14 15 if (empty($date_format)) $date_format = get_settings('date_format'); 16 if (empty($time_format)) $time_format = get_settings('time_format'); 12 17 if (array_search(0,$selected)===0) { 13 18 $cat_select = false; … … 112 117 113 118 ob_start(); 114 the_modified_date( get_settings('date_format'));119 the_modified_date($date_format); 115 120 $post_modified_date = ob_get_contents(); 116 121 ob_end_clean(); 117 122 118 123 ob_start(); 119 the_modified_date( get_settings('time_format'));124 the_modified_date($time_format); 120 125 $post_modified_time = ob_get_contents(); 121 126 ob_end_clean(); 122 127 123 128 ob_start(); 124 the_time( get_settings('date_format'));129 the_time($date_format); 125 130 $post_date = ob_get_contents(); 126 131 ob_end_clean(); 127 132 128 133 ob_start(); 129 the_time( get_settings('time_format'));134 the_time($time_format); 130 135 $post_time = ob_get_contents(); 131 136 ob_end_clean();
Note: See TracChangeset
for help on using the changeset viewer.