- Timestamp:
- Oct 7, 2011, 8:59:37 AM (13 years ago)
- Location:
- branches/Ver2.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_popular_posts_block_theme.php
r555 r792 4 4 { 5 5 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ block_popular.html' : trim( $options[1] );6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_grobal_popular_posts_block.html' : trim( $options[1] ); 7 7 $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 8 8 $show_month_range = empty( $options[3] ) ? '0' : $options[3] ; -
branches/Ver2.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_comments_block_theme.php
r554 r792 4 4 { 5 5 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ recent_comments_block.html' : trim( $options[1] );6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_global_recent_comments_block.html' : trim( $options[1] ); 7 7 $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 8 8 $disp_length = empty( $options[3] ) ? '30' : $options[3] ; -
branches/Ver2.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_posts_list_block_theme.php
r545 r792 4 4 { 5 5 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ recent_posts_list_block.html' : trim( $options[1] );6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_global_recent_posts_list_block.html' : trim( $options[1] ); 7 7 $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 8 8 $disp_red = empty( $options[3] ) ? '1' : $options[3] ; … … 10 10 $date_format = empty( $options[5] ) ? '' : $options[5] ; 11 11 $time_format = empty( $options[6] ) ? '' : $options[6] ; 12 $shown_for_each_blog = empty( $options[7] ) ? false : true ; 13 $exclusion_blog = empty( $options[8] ) ? '0' : $options[8] ; 14 12 15 $mydirpath = get_xpress_dir_path(); 13 16 … … 20 23 $block = array(); 21 24 22 $data_array = xpress_grobal_recent_posts($disp_count );25 $data_array = xpress_grobal_recent_posts($disp_count,$exclusion_blog,$shown_for_each_blog); 23 26 $item_no = 0; 24 27 $red_sec = $disp_red *60*60*24; … … 41 44 } 42 45 $block['data_count'] = $item_no; //xml unserialise error 46 $block['shown_for_each_blog'] = $shown_for_each_blog; 43 47 } else { 44 48 $block['err_message'] = __('This blog is not set to the multi blog.', 'xpress');
Note: See TracChangeset
for help on using the changeset viewer.