summaryrefslogtreecommitdiff
path: root/modules/title.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/title.module')
-rw-r--r--modules/title.module6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/title.module b/modules/title.module
index 9206f3605..8de104f93 100644
--- a/modules/title.module
+++ b/modules/title.module
@@ -57,14 +57,16 @@ function title_page() {
$output .= theme("table", $header, $rows);
$output .= "</div>";
+ drupal_set_title(t("Matching Posts"));
print theme("header");
- print theme("box", t("Matching Posts"), $output);
+ print $output;
print theme("footer");
}
}
else {
+ drupal_set_title(t("Access denied"));
print theme("header");
- print theme("box", t("Access denied"), message_access());
+ print message_access();
print theme("footer");
}
}