diff --git a/core/40-page-renderer.php b/core/40-page-renderer.php
index 851a49a..ba17065 100644
--- a/core/40-page-renderer.php
+++ b/core/40-page-renderer.php
@@ -523,7 +523,7 @@ class page_renderer
$result = "";
$result .= "";
if($settings->avatars_show)
- $result .= " ";
+ $result .= " ";
if(in_array($name, $settings->admins))
$result .= $settings->admindisplaychar;
$result .= htmlentities($name);
diff --git a/modules/page-view.php b/modules/page-view.php
index 3c5c339..8d6cbc7 100644
--- a/modules/page-view.php
+++ b/modules/page-view.php
@@ -5,7 +5,7 @@
register_module([
"name" => "Page viewer",
- "version" => "0.16.10",
+ "version" => "0.16.11",
"author" => "Starbeamrainbowlabs",
"description" => "Allows you to view pages. You really should include this one.",
"id" => "page-view",
@@ -53,7 +53,7 @@ register_module([
} else {
// Editing is disabled, show an error message
http_response_code(404);
- exit(page_renderer::render_main("404: Page not found - $env->page - $settings->sitename", " $env->page does not exist. Since editing is currently disabled on this wiki, you may not create this page. If you feel that this page should exist, try contacting this wiki's Administrator. $env->page_safe does not exist. Since editing is currently disabled on this wiki, you may not create this page. If you feel that this page should exist, try contacting this wiki's Administrator (see the bottom of this page for their contact details). (Revision saved by {$env->history->revision_data->editor} " . render_timestamp($env->history->revision_data->timestamp) . ". Jump to the current revision or see a list of all revisions for this page.) (Revision saved by ".htmlentities($env->history->revision_data->editor)." " . render_timestamp($env->history->revision_data->timestamp) . ". Jump to the current revision or see a list of all revisions for this page.) Redirected from " . $_GET["redirected_from"] . ". Redirected from " . htmlentities($_GET["redirected_from"]) . ".$env->page
\n";
else {
- $content .= "Revision #{$env->history->revision_number} of $env->page
\n";
- $content .= "Revision #{$env->history->revision_number} of $env->page_safe
\n";
+ $content .= "
" . $settings->footer_message; // Add the last edited time to the footer + $settings->footer_message = "$env->page_safe was last edited by {$pageindex->{$env->page}->lasteditor} at " . date('h:ia T \o\n j F Y', $pageindex->{$env->page}->lastmodified) . ".
\n" . $settings->footer_message; // Add the last edited time to the footer $mode = isset($_GET["mode"]) ? strtolower(trim($_GET["mode"])) : "normal"; switch($mode) {