From fe7df3b291db8fe4e4c3e2b38aad225657b3ffbd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 17 Aug 2005 04:57:42 +0000 Subject: [PATCH] r344: Finished errors and notices --- includes/class_message_reporter.php | 4 ---- templates/std_error.tpl | 16 +++++++++++++--- templates/std_message.tpl | 16 +++++++++++++--- 3 files changed, 26 insertions(+), 10 deletions(-) diff --git a/includes/class_message_reporter.php b/includes/class_message_reporter.php index a58832d..01db13e 100755 --- a/includes/class_message_reporter.php +++ b/includes/class_message_reporter.php @@ -35,8 +35,6 @@ class Message_Reporter $this->process = (($text) ? $text : $this->process); - $errormessage = $this->process; - eval('$bugsys->template->flush("' . $bugsys->template->fetch('std_error') . '");'); exit; } @@ -107,8 +105,6 @@ class Message_Reporter $this->process = (($text) ? $text : $this->process); - $message = $this->process; - eval('$bugsys->template->flush("' . $bugsys->template->fetch('std_message') . '");'); exit; } diff --git a/templates/std_error.tpl b/templates/std_error.tpl index 6016d42..91ff050 100644 --- a/templates/std_error.tpl +++ b/templates/std_error.tpl @@ -1,9 +1,19 @@ $doctype + + $headinclude + {$bugsys->options['trackertitle']} - Error + + $header - -$errormessage - +
+
+
Error
+
+ {$this->process} +
+
+
$footer \ No newline at end of file diff --git a/templates/std_message.tpl b/templates/std_message.tpl index f7067ba..09530ce 100644 --- a/templates/std_message.tpl +++ b/templates/std_message.tpl @@ -1,9 +1,19 @@ $doctype + + $headinclude + {$bugsys->options['trackertitle']} - Notice + + $header - -$message - +
+
+
Notice
+
+ {$this->process} +
+
+
$footer \ No newline at end of file -- 2.43.5