XPressME Integration Kit

Trac

Changeset 214 for trunk


Ignore:
Timestamp:
May 19, 2009, 7:58:30 PM (16 years ago)
Author:
toemon
Message:

Bump r214 WordPressMU時のクレジットをWordPress MU になるように修正

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/include/custom_functions.php

    r198 r214  
    8383{ 
    8484        global $wp_version , $xoops_config; 
     85        if ($xoops_config->is_wpmu) { 
     86                global $wpmu_version; 
     87        } 
    8588         
    8689        $xpress_version = $xoops_config->module_version; 
    8790        $xpress_codename = $xoops_config->module_codename; 
    8891        $ret = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 
    89         if (strstr($wp_version,'ME')){ 
    90                 $ret .= '(included <a href="http://wpme.sourceforge.jp/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 
    91         } else { 
    92                 $ret .= '(included <a href="http://ja.wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 
    93         } 
    94  
     92        if ($xoops_config->is_wpmu) { 
     93                $ret .= '(included <a href="http://mu.wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress MU ' . $wpmu_version . '</a>)'; 
     94        } else { 
     95                if (strstr($wp_version,'ME')){ 
     96                        $ret .= '(included <a href="http://wpme.sourceforge.jp/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 
     97                } else { 
     98                        $ret .= '(included <a href="http://wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 
     99                } 
     100        } 
    95101        if (empty($show)) 
    96102                return $ret; 
  • trunk/xoops_version.php

    r207 r214  
    4040 
    4141// status 
    42 $modversion['codename'] = "RC1(r207)"; 
     42$modversion['codename'] = "RC1(r214)"; 
    4343 
    4444// onInstall, onUpdate, onUninstall 
Note: See TracChangeset for help on using the changeset viewer.