mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Bugfix: Always display the footer message at the bottom of the page.
This commit is contained in:
parent
73a09e8365
commit
4dffd8d1cd
4 changed files with 7 additions and 6 deletions
|
@ -13,6 +13,7 @@
|
||||||
### Fixed
|
### Fixed
|
||||||
- The login session lifetime is now configurable (defaults to 24 hours), so you won't keep getting logged out all the time (in theory). (#113)
|
- The login session lifetime is now configurable (defaults to 24 hours), so you won't keep getting logged out all the time (in theory). (#113)
|
||||||
- Recent changes made on different days are now displayed separately, as they should be (#112)
|
- Recent changes made on different days are now displayed separately, as they should be (#112)
|
||||||
|
- Always display footer message at the bottom of the page.
|
||||||
- Fxed huge issue with `contentonly` display mode.
|
- Fxed huge issue with `contentonly` display mode.
|
||||||
|
|
||||||
## v0.12.1
|
## v0.12.1
|
||||||
|
|
|
@ -4767,7 +4767,7 @@ register_module([
|
||||||
|
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Page viewer",
|
"name" => "Page viewer",
|
||||||
"version" => "0.16.1",
|
"version" => "0.16.2",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Allows you to view pages. You really should include this one.",
|
"description" => "Allows you to view pages. You really should include this one.",
|
||||||
"id" => "page-view",
|
"id" => "page-view",
|
||||||
|
@ -4913,7 +4913,7 @@ register_module([
|
||||||
time() - $pageindex->{$env->page}->lastmodified < $settings->delayed_indexing_time)
|
time() - $pageindex->{$env->page}->lastmodified < $settings->delayed_indexing_time)
|
||||||
header("x-robots-tag: noindex");
|
header("x-robots-tag: noindex");
|
||||||
|
|
||||||
$settings->footer_message = "Last edited at " . date('h:ia T \o\n j F Y', $pageindex->{$env->page}->lastmodified) . ".</p>\n<p>"; // Add the last edited time to the footer
|
$settings->footer_message = "Last edited at " . date('h:ia T \o\n j F Y', $pageindex->{$env->page}->lastmodified) . ".</p>\n<p>" . $settings->footer_message; // Add the last edited time to the footer
|
||||||
|
|
||||||
switch(strtolower(trim($_GET["mode"])))
|
switch(strtolower(trim($_GET["mode"])))
|
||||||
{
|
{
|
||||||
|
|
|
@ -181,11 +181,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Page viewer",
|
"name": "Page viewer",
|
||||||
"version": "0.16.1",
|
"version": "0.16.2",
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Allows you to view pages. You really should include this one.",
|
"description": "Allows you to view pages. You really should include this one.",
|
||||||
"id": "page-view",
|
"id": "page-view",
|
||||||
"lastupdate": 1476813024,
|
"lastupdate": 1476813955,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Page viewer",
|
"name" => "Page viewer",
|
||||||
"version" => "0.16.1",
|
"version" => "0.16.2",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Allows you to view pages. You really should include this one.",
|
"description" => "Allows you to view pages. You really should include this one.",
|
||||||
"id" => "page-view",
|
"id" => "page-view",
|
||||||
|
@ -147,7 +147,7 @@ register_module([
|
||||||
time() - $pageindex->{$env->page}->lastmodified < $settings->delayed_indexing_time)
|
time() - $pageindex->{$env->page}->lastmodified < $settings->delayed_indexing_time)
|
||||||
header("x-robots-tag: noindex");
|
header("x-robots-tag: noindex");
|
||||||
|
|
||||||
$settings->footer_message = "Last edited at " . date('h:ia T \o\n j F Y', $pageindex->{$env->page}->lastmodified) . ".</p>\n<p>"; // Add the last edited time to the footer
|
$settings->footer_message = "Last edited at " . date('h:ia T \o\n j F Y', $pageindex->{$env->page}->lastmodified) . ".</p>\n<p>" . $settings->footer_message; // Add the last edited time to the footer
|
||||||
|
|
||||||
switch(strtolower(trim($_GET["mode"])))
|
switch(strtolower(trim($_GET["mode"])))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue