XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 13, 2009, 10:25:32 PM (15 years ago)
Author:
toemon
Message:

D3Forumコメント統合の途中 とりあえずD3Forum側からWP側への同期の部分だけ完了。
WPからD3フォーラム側への同期はバグ・エラーあり

File:
1 edited

Legend:

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

    r99 r104  
    477477                } 
    478478        }        
     479         
     480        function set_d3forum_external_link_format() 
     481        { 
     482                global $xoops_db; 
     483/*              var $is_use_d3forum; 
     484                var $d3forum_module_dir; 
     485                var $d3forum_forum_id; 
     486                var $d3forum_external_link_format; 
     487                if ($this->$is_use_d3forum){ 
     488                        $content = ''; 
     489                        $content .= '<html><head><meta http-equiv="content-type" content="text/html; charset='._CHARSET.'" />'; 
     490                        $content .= '<meta http-equiv="content-language" content="'._LANGCODE.'" />' ; 
     491                        $content .= '<title>XPressME SQL DEBUG</title>' ; 
     492                        $content .= '</head><body>'; 
     493                        $content .= $GLOBALS['XPress_SQL_Query']; 
     494                        $content .= '<div style="text-align:center;"><input class="formButton" value="CLOSE" type="button" onclick="javascript:window.close();" /></div></body></html>'; 
     495 
     496                        echo '<script type="text/javascript"> 
     497                                <!--// 
     498                                xpress_debug_window = window.open("", "xpress_debug", "width=680 , height=600 ,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no"); 
     499                                xpress_debug_window.document.clear(); 
     500                                xpress_debug_window.focus(); 
     501                                '; 
     502                        $lines = preg_split("/(\r\n|\r|\n)( *)/", $content); 
     503                        foreach ($lines as $line) { 
     504                                echo 'xpress_debug_window.document.writeln("'.str_replace('"', '\"', $line).'");'; 
     505                        } 
     506                        echo ' 
     507                                xpress_debug_window.document.close(); 
     508                                //--> 
     509                        </script>'; 
     510                } 
     511*/ 
     512        }        
    479513 
    480514} 
Note: See TracChangeset for help on using the changeset viewer.