aboutsummaryrefslogtreecommitdiffstats
path: root/mod/help.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-27 08:57:16 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-27 08:57:16 +0200
commit939449602a58838f81045c9a0e9a205c8fa9e6bd (patch)
tree4d1889c9b2e762e5f361916d6c25d95d325c2f71 /mod/help.php
parent7f02617517f16b5a26a8de66792c7cd028f9b195 (diff)
parent8d93eefea87bd36904fcb1daabc239361dd95a27 (diff)
downloadvolse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.tar.gz
volse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.tar.bz2
volse-hubzilla-939449602a58838f81045c9a0e9a205c8fa9e6bd.zip
Merge remote-tracking branch 'fabrix/newui'
Diffstat (limited to 'mod/help.php')
-rw-r--r--mod/help.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/mod/help.php b/mod/help.php
index 495b4ccc2..af05bd47c 100644
--- a/mod/help.php
+++ b/mod/help.php
@@ -17,6 +17,7 @@ function load_doc_file($s) {
function help_content(&$a) {
+ nav_set_selected('help');
global $lang;
@@ -35,10 +36,12 @@ function help_content(&$a) {
if(! strlen($text)) {
header($_SERVER["SERVER_PROTOCOL"] . ' 404 ' . t('Not Found'));
- notice( t('Page not found.' ) . EOL);
- return;
+ $tpl = get_markup_template("404.tpl");
+ return replace_macros($tpl, array(
+ '$message' => t('Page not found.' )
+ ));
}
return Markdown($text);
-} \ No newline at end of file
+}