- Timestamp:
- May 26, 2009, 5:01:59 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/for_wordpress_mu/wp-content/themes/xpress_mu_home/header.php
r213 r237 42 42 <div class="xpress-operation-link"> 43 43 <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a> 44 <?php if( is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?>44 <?php if(xpress_is_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 45 45 </div> 46 46 </div> -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
r232 r237 442 442 } 443 443 444 function is_xpress_contributor()444 function xpress_is_contributor() 445 445 { 446 446 global $current_user; … … 586 586 } 587 587 588 function get_xpress_calendar($sun_color = '#DB0000' ,$sat_color = '#004D99' ,$initial = true) {588 function xpress_get_calendar($sun_color = '#DB0000' ,$sat_color = '#004D99' ,$initial = true) { 589 589 global $wpdb, $m, $monthnum, $year, $wp_locale, $posts; 590 590 -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/calender_block_theme.php
r232 r237 9 9 $mydirpath = get_xpress_dir_path(); 10 10 11 $block['calender'] = get_xpress_calendar($sun_color,$sat_color);11 $block['calender'] = xpress_get_calendar($sun_color,$sat_color); 12 12 return $block ; 13 13 } -
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/header.php
r232 r237 45 45 <?php endif; ?> 46 46 <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a> 47 <?php if( is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?>47 <?php if(xpress_is_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 48 48 </div> 49 49 </div>
Note: See TracChangeset
for help on using the changeset viewer.