Changeset 214 for trunk/wp-content/plugins/xpressme
- Timestamp:
- May 19, 2009, 7:58:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r198 r214 83 83 { 84 84 global $wp_version , $xoops_config; 85 if ($xoops_config->is_wpmu) { 86 global $wpmu_version; 87 } 85 88 86 89 $xpress_version = $xoops_config->module_version; 87 90 $xpress_codename = $xoops_config->module_codename; 88 91 $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 } 95 101 if (empty($show)) 96 102 return $ret;
Note: See TracChangeset
for help on using the changeset viewer.