From f245843610e899b9bc79b83580ee3f1bbaefb6ac Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 21 Jan 2006 21:00:36 +0000 Subject: [PATCH] You can now specify the width of an ISSO message --- kernel.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel.php b/kernel.php index 7aed66c..c6c22a0 100644 --- a/kernel.php +++ b/kernel.php @@ -653,10 +653,11 @@ class ISSO * @param integer Type of message to be printed * @param bool Return the output? * @param bool Show the debug stack? + * @param integer Message width * * @return mixed Output or null */ - function message($title, $message, $type, $return = false, $stack = true) + function message($title, $message, $type, $return = false, $stack = true, $width = 500) { switch ($type) { @@ -691,7 +692,7 @@ class ISSO $trace = $this->format_debug_trace($backtrace); - $output = "\n
\n"; + $output = "\n
\n
"; $output .= "\n\n\t\n"; $output .= "\n\n\t\n"; $output .= (($stack AND $GLOBALS['isso:null-framework']->debug) ? "\n\n\t\n" : ''); -- 2.43.5
$prefix: $title
$message
Debug Stack:
" . implode("\n", $trace) . "