XPressME Integration Kit

Trac

Changeset 113 for trunk/wp-content


Ignore:
Timestamp:
Mar 18, 2009, 5:50:52 PM (16 years ago)
Author:
toemon
Message:

ConfigFromXoopsクラスにxoops_versions.phpからversion情報と、codename情報を取得する処理を追加

File:
1 edited

Legend:

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

    r96 r113  
    33function xpress_credit($show = false) 
    44{ 
    5         global $wp_version , $modversion; 
    6          
    7         $xpress_version = $modversion['version']; 
    8         $xpress_codename = $modversion['codename']; 
     5        global $wp_version , $xoops_config; 
     6         
     7        $xpress_version = $xoops_config->module_version; 
     8        $xpress_codename = $xoops_config->module_codename; 
    99        $ret = '<a href="http://www.toemon.com"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 
    1010        if (strstr($wp_version,'ME')){ 
Note: See TracChangeset for help on using the changeset viewer.