NobuNobu
nobun****@users*****
2006年 6月 17日 (土) 00:51:21 JST
Index: xoops2jp/html/modules/base/class/DebuggerManager.class.php diff -u xoops2jp/html/modules/base/class/DebuggerManager.class.php:1.1.2.1 xoops2jp/html/modules/base/class/DebuggerManager.class.php:1.1.2.2 --- xoops2jp/html/modules/base/class/DebuggerManager.class.php:1.1.2.1 Fri Apr 28 15:46:06 2006 +++ xoops2jp/html/modules/base/class/DebuggerManager.class.php Sat Jun 17 00:51:21 2006 @@ -1,5 +1,5 @@ <?php -// $Id: DebuggerManager.class.php,v 1.1.2.1 2006/04/28 06:46:06 minahito Exp $ +// $Id: DebuggerManager.class.php,v 1.1.2.2 2006/06/16 15:51:21 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -127,11 +127,11 @@ function displayLog() { - echo $count . '<script type="text/javascript"> + echo '<script type="text/javascript"> <!--// debug_window = openWithSelfMain("", "xoops_debug", 680, 600, true); '; - $content = '<html><head><meta http-equiv="content-type" content="text/html; charset='._CHARSET.'" /><meta http-equiv="content-language" content="'._LANGCODE.'" /><title>'.htmlspecialchars($xoopsConfig['sitename']).'</title><link rel="stylesheet" type="text/css" media="all" href="'.getcss($xoopsConfig['theme_set']).'" /></head><body>'.$this->renderLog().'<div style="text-align:center;"><input class="formButton" value="'._CLOSE.'" type="button" onclick="javascript:window.close();" /></div></body></html>'; + $content = '<html><head><meta http-equiv="content-type" content="text/html; charset='._CHARSET.'" /><meta http-equiv="content-language" content="'._LANGCODE.'" /><title>'.htmlspecialchars($GLOBALS['xoopsConfig']['sitename']).'</title><link rel="stylesheet" type="text/css" media="all" href="'.getcss($GLOBALS['xoopsConfig']['theme_set']).'" /></head><body>'.$this->renderLog().'<div style="text-align:center;"><input class="formButton" value="'._CLOSE.'" type="button" onclick="javascript:window.close();" /></div></body></html>'; $lines = preg_split("/(\r\n|\r|\n)( *)/", $content); foreach ($lines as $line) { echo 'debug_window.document.writeln("'.str_replace('"', '\"', $line).'");';