XPressME Integration Kit

Trac

Changeset 490 for trunk


Ignore:
Timestamp:
Dec 15, 2009, 4:54:37 PM (15 years ago)
Author:
toemon
Message:

クレジット表示部分のコードをWPMUと供給出来るように変更

File:
1 edited

Legend:

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

    r477 r490  
    161161        $xpress_codename = $xoops_config->module_codename; 
    162162        if ($no_link){ 
    163                 $output = 'XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename); 
    164163                if ($xoops_config->is_wpmu) { 
     164                        $output = 'XPressMU Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename); 
    165165                        $output .= '(included WordPress MU ' . $wpmu_version. ')'; 
    166166                } else { 
     167                        $output = 'XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename); 
    167168                        if (strstr($wp_version,'ME')){ 
    168169                                $output .= '(included WordPress ' . $wp_version . ')'; 
     
    172173                } 
    173174        } else { 
    174                 $output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 
    175175                if ($xoops_config->is_wpmu) { 
     176                        $output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressMU Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 
    176177                        $output .= '(included <a href="http://mu.wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress MU ' . $wpmu_version . '</a>)'; 
    177178                } else { 
     179                        $output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 
    178180                        if (strstr($wp_version,'ME')){ 
    179181                                $output .= '(included <a href="http://wpme.sourceforge.jp/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 
Note: See TracChangeset for help on using the changeset viewer.