Changeset 104 for trunk/wp-content/plugins/xpressme/xpressme_class.php
- Timestamp:
- Mar 13, 2009, 10:25:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/xpressme_class.php
r99 r104 477 477 } 478 478 } 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 } 479 513 480 514 }
Note: See TracChangeset
for help on using the changeset viewer.