]> git.mxchange.org Git - friendica.git/blobdiff - mod/help.php
make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php
[friendica.git] / mod / help.php
old mode 100644 (file)
new mode 100755 (executable)
index 59e062f..af05bd4
@@ -36,8 +36,10 @@ 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);