XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 7, 2009, 11:05:20 PM (15 years ago)
Author:
toemon
Message:

D3Forumのフォーラムリストボックスからコメント統合を選択するための設定画面を作成
設定値はXPressME_Classクラスの
is_use_d3forum;
d3forum_module_dir;
d3forum_forum_id;
d3forum_external_link_format;
プロパティーから取得できます。

File:
1 edited

Legend:

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

    r96 r99  
    11<?php 
     2global $xoops_config; 
     3if (!is_object($xoops_config)){ // is call other modules 
     4        require_once dirname( __FILE__ ) .'/config_from_xoops.class.php' ; 
     5        $xoops_config = new ConfigFromXoops; 
     6} 
     7 
    28// xoops db 
    39function get_xpress_dir_path() 
     
    2733        return $ret; 
    2834} 
     35 
     36function get_xoops_root_path() 
     37{ 
     38        global $xoops_config; 
     39        $ret =$xoops_config->xoops_root_path; 
     40        return $ret; 
     41} 
     42 
    2943function get_wp_prefix() 
    3044{ 
     
    118132                $blockID = $block->bid; 
    119133                $options = explode("|", $block->options); 
    120                                          
     134 
    121135                $block_theme_file = get_block_file_path($mydirname,$inc_theme_file_name); 
    122136                require_once $block_theme_file; 
Note: See TracChangeset for help on using the changeset viewer.