- Timestamp:
- Jun 9, 2009, 5:37:04 PM (16 years ago)
- Location:
- trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/calender_block_theme.php
r237 r272 9 9 $mydirpath = get_xpress_dir_path(); 10 10 11 $block['calender'] = xpress_get_calendar( $sun_color,$sat_color);11 $block['calender'] = xpress_get_calendar('sun_color=' . $sun_color . '&sat_color=' .$sat_color); 12 12 return $block ; 13 13 } -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php
r262 r272 24 24 $item_no = 0; 25 25 26 $selected_author_id = xpress_selected_author_id( false);26 $selected_author_id = xpress_selected_author_id('echo=0'); 27 27 28 28 global $wpdb,$wp_query,$xoops_db; … … 158 158 $post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ; 159 159 $trackback_url = trackback_url(false); 160 $post_viwes = xpress_post_views_count($post_id,__('views: %d','xpress') ,false); 160 $post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0'); 161 161 162 // if (empty($tags)) $tags = __('Not Tag'); 162 163 -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
r262 r272 20 20 if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&"; 21 21 22 $selected_author_id = xpress_selected_author_id( false);22 $selected_author_id = xpress_selected_author_id('echo=0'); 23 23 if (!empty($selected_author_id)){ 24 24 $author_where ="author=$selected_author_id&"; … … 45 45 ob_end_clean(); 46 46 47 $title = xpress_the_title( false);47 $title = xpress_the_title('echo=0'); 48 48 49 49 ob_start(); … … 132 132 echo ' - '; 133 133 the_author_posts_link(); 134 echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')'; 134 echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 135 135 136 echo ' | '; 136 137 // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | '); … … 151 152 $post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ; 152 153 $trackback_url = trackback_url(false); 153 $post_viwes = xpress_post_views_count($post_id,'views: %d' ,false); 154 $post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0'); 155 154 156 // if (empty($tags)) $tags = __('Not Tag'); 155 157 -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php
r262 r272 18 18 if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&"; 19 19 20 $selected_author_id = xpress_selected_author_id( false);20 $selected_author_id = xpress_selected_author_id('echo=0'); 21 21 if (!empty($selected_author_id)){ 22 22 $author_where ="author=$selected_author_id&"; … … 118 118 $post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ; 119 119 $trackback_url = trackback_url(false); 120 $post_viwes = xpress_post_views_count($post_id,'views: %d' ,false); 120 $post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0'); 121 121 122 // if (empty($tags)) $tags = __('Not Tag'); 122 123
Note: See TracChangeset
for help on using the changeset viewer.