From 26735ac5dd06c064bb816bcf264fbeb44ac3b0b7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 23 Nov 2003 10:41:04 +0000 Subject: - Committed phase 3 of JonBob's menu changes. Adds an API for modules to define titles and breadcrumbs for their pages, and updates the theme system to display them. --- modules/comment/comment.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 7141d3da8..6b71fd388 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -883,8 +883,9 @@ function comment_page() { case t("Post comment"): list($error_title, $error_body) = comment_post($edit); if ($error_body) { + drupal_set_title($error_title); print theme("header"); - print theme("box", $error_title, $error_body); + print $error_body; print theme("footer"); } else { -- cgit v1.2.3