diff --git a/classes/Display.php b/classes/Display.php index d9b7a25..9ed086d 100644 --- a/classes/Display.php +++ b/classes/Display.php @@ -1,11 +1,10 @@ $file line $line ($class$type$function)"; + $list .= '\n
'.$file.' line '.$line.' '."($class$type$function)".''; } return $list . '

'; } @@ -68,7 +67,7 @@ class Display */ public function __construct(&$contents) { - $this -> contents = $contents; + $this->contents = $contents; } /** @@ -78,13 +77,12 @@ class Display { $header = new TemplateIndexer(GLOBAL_HEADER); $footer = new TemplateIndexer(GLOBAL_FOOTER); - $output = $header -> __toString() . $this -> contents; + $output = $header->__toString() . $this->contents; if (DEBUG) { $output .= self::get_trace(); } - return $output . $footer -> __toString(); + return $output . $footer->__toString(); } } - -?> \ No newline at end of file +?>