Changeset 142 for trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
- 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/recent_posts_content_block_theme.php
r120 r142 9 9 $except = empty( $options[3] ) ? false : true ; 10 10 $except_size = ($options[4])?intval($options[4]):100; 11 $tag_select = $options[5] ; 12 $selected = array_slice($options,6); // get allowed cats 13 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 11 $date_format = empty( $options[5] ) ? '' : $options[5] ; 12 $time_format = empty( $options[6] ) ? '' : $options[6] ; 13 $tag_select = $options[7] ; 14 $selected = array_slice($options,8); // get allowed cats 15 14 16 $mydirpath = get_xpress_dir_path(); 15 17 16 $this_url = '/modules/'. $mydirname; 17 $call_url = $_SERVER['REQUEST_URI']; 18 18 if (empty($date_format)) $date_format = get_settings('date_format'); 19 if (empty($time_format)) $time_format = get_settings('time_format'); 19 20 if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&"; 20 21 … … 70 71 71 72 ob_start(); 72 the_modified_date( get_settings('date_format'));73 the_modified_date($date_format); 73 74 $post_modified_date = ob_get_contents(); 74 75 ob_end_clean(); 75 76 76 77 ob_start(); 77 the_modified_date( get_settings('time_format'));78 the_modified_date($time_format); 78 79 $post_modified_time = ob_get_contents(); 79 80 ob_end_clean(); 80 81 81 82 ob_start(); 82 the_time( get_settings('date_format'));83 the_time($date_format); 83 84 $post_date = ob_get_contents(); 84 85 ob_end_clean(); 85 86 86 87 ob_start(); 87 the_time( get_settings('time_format'));88 the_time($time_format); 88 89 $post_time = ob_get_contents(); 89 90 ob_end_clean();
Note: See TracChangeset
for help on using the changeset viewer.