Changeset 272 for trunk/xpressme_integration_kit/wp-content/themes
- Timestamp:
- Jun 9, 2009, 5:37:04 PM (16 years ago)
- Location:
- trunk/xpressme_integration_kit/wp-content/themes/xpress_default
- Files:
-
- 8 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 -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/footer.php
r232 r272 7 7 <!-- <?php printf(__('%d queries. %s seconds.', 'xpress'), get_num_queries(), timer_stop(0, 3)); ?> --> 8 8 <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> 9 <div class="xpress_credit"><?php echo xpress_credit( false). ' (' . xpress_convert_time(false) . ')'; ?></div>9 <div class="xpress_credit"><?php echo xpress_credit('echo=0'). ' (' . xpress_convert_time('echo=0&format=' . __('%.3f sec.', 'xpress')) . ')'; ?></div> 10 10 </div> 11 11 </div> -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/header.php
r237 r272 30 30 <div id="xpress-header-bar-top"> 31 31 <div class="xpress-header-title"> 32 <?php if (xpress_selected_author_id( false)) echo get_avatar(xpress_selected_author_id(false),$size = '32'); ?>32 <?php if (xpress_selected_author_id('echo=0')) echo get_avatar(xpress_selected_author_id('echo=0'),$size = '32'); ?> 33 33 <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 34 34 </div> … … 45 45 <?php endif; ?> 46 46 <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a> 47 <?php if(xpress_is_contributor()) { echo ' | ' ; xpress_post_new_link( __('Post New','xpress')); }?>47 <?php if(xpress_is_contributor()) { echo ' | ' ; xpress_post_new_link('link_title='. __('Post New','xpress'). '&echo=1'); }?> 48 48 </div> 49 49 </div> -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/index.php
r252 r272 15 15 <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 16 16 <?php else : ?> 17 <div class="alignleft"><?php xpress_left_arrow_posts_link( true); ?></div>18 <div class="alignright"><?php xpress_right_arrow_posts_link( true); ?></div>17 <div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div> 18 <div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div> 19 19 <?php endif; ?> 20 20 </div> … … 42 42 echo ' - '; 43 43 the_author_posts_link(); 44 echo ' (' . xpress_post_views_count( $post->ID,__('Views :%d', 'xpress'),false) . ')';44 echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 45 45 echo ' | '; 46 46 // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | '); … … 59 59 <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 60 60 <?php else : ?> 61 <div class="alignleft"><?php xpress_left_arrow_posts_link( true); ?></div>62 <div class="alignright"><?php xpress_right_arrow_posts_link( true); ?></div>61 <div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div> 62 <div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div> 63 63 <?php endif; ?> 64 64 </div> -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/single.php
r253 r272 13 13 <?php while (have_posts()) : the_post(); ?> 14 14 <div class="xpress-navi-bar"> 15 <div class="alignleft"><?php xpress_left_arrow_post_link( true); ?></div>16 <div class="alignright"><?php xpress_right_arrow_post_link( true); ?></div>15 <div class="alignleft"><?php xpress_left_arrow_post_link('echo=1'); ?></div> 16 <div class="alignright"><?php xpress_right_arrow_post_link('echo=1'); ?></div> 17 17 </div> 18 18 … … 40 40 echo ' - '; 41 41 the_author_posts_link(); 42 echo ' (' . xpress_post_views_count( $post->ID,__('Views :%d', 'xpress'),false) . ')';42 echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 43 43 echo ' | '; 44 44 // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | '); … … 51 51 52 52 <div id ="xpress-pings-block"> 53 <h3><?php xpress_pings_number( __('No Trackback/Pingback', 'xpress'),__('One Trackback/Pingback', 'xpress'),__('% TrackBack/Pingback', 'xpress')) ?></h3>53 <h3><?php xpress_pings_number('zero=' . __('No Trackback/Pingback', 'xpress'). '&one='. __('One Trackback/Pingback', 'xpress'). '&more=' . __('% TrackBack/Pingback', 'xpress')) ?></h3> 54 54 <p class="xpress_pings_status"><small> 55 55 <?php … … 61 61 ?> 62 62 </small></p> 63 <?php xpress_pings_list( true) ?>63 <?php xpress_pings_list('echo=1') ?> 64 64 </div> 65 65 … … 75 75 76 76 <div class="xpress-navi-bar"> 77 <div class="alignleft"><?php xpress_left_arrow_post_link( true) ?></div>78 <div class="alignright"><?php xpress_right_arrow_post_link( true) ?></div>77 <div class="alignleft"><?php xpress_left_arrow_post_link('echo=1') ?></div> 78 <div class="alignright"><?php xpress_right_arrow_post_link('echo=1') ?></div> 79 79 </div> 80 80 … … 86 86 <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 87 87 <?php else : ?> 88 <div class="alignleft"><?php xpress_left_arrow_posts_link( true); ?></div>89 <div class="alignright"><?php xpress_right_arrow_posts_link( true); ?></div>88 <div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div> 89 <div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div> 90 90 <?php endif; ?> 91 91 </div>
Note: See TracChangeset
for help on using the changeset viewer.