XPressME Integration Kit

Trac

Changeset 237 for trunk


Ignore:
Timestamp:
May 26, 2009, 5:01:59 PM (15 years ago)
Author:
toemon
Message:

カスタムテンプレート関数名変更
is_xpress_contributor() -> xpress_is_contributor()
get_xpress_calendar() -> xpress_get_calendar()

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/external/for_wordpress_mu/wp-content/themes/xpress_mu_home/header.php

    r213 r237  
    4242        <div class="xpress-operation-link"> 
    4343                <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')); }?> 
    4545        </div> 
    4646</div> 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php

    r232 r237  
    442442} 
    443443 
    444 function is_xpress_contributor() 
     444function xpress_is_contributor() 
    445445{ 
    446446        global $current_user; 
     
    586586} 
    587587 
    588 function get_xpress_calendar($sun_color = '#DB0000' ,$sat_color = '#004D99' ,$initial = true) { 
     588function xpress_get_calendar($sun_color = '#DB0000' ,$sat_color = '#004D99' ,$initial = true) { 
    589589        global $wpdb, $m, $monthnum, $year, $wp_locale, $posts; 
    590590 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/calender_block_theme.php

    r232 r237  
    99        $mydirpath = get_xpress_dir_path(); 
    1010 
    11         $block['calender'] = get_xpress_calendar($sun_color,$sat_color); 
     11        $block['calender'] = xpress_get_calendar($sun_color,$sat_color); 
    1212        return $block ;  
    1313} 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/header.php

    r232 r237  
    4545                <?php endif; ?> 
    4646                <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')); }?> 
    4848        </div> 
    4949</div> 
Note: See TracChangeset for help on using the changeset viewer.