From 9aceb7ec9e20c59a5c89868891e348f64152afe2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 14 Mar 2015 18:49:46 +0000 Subject: [PATCH] Added update link & version number to help / credits pages --- core.php | 7 +++++-- index.php | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/core.php b/core.php index 9ae647e..4ec8e50 100644 --- a/core.php +++ b/core.php @@ -656,7 +656,8 @@ switch($_GET["action"])

Administrator Actions

By default, the delete and move actions are shown on the nav bar. These can be used by administrators to delete or move pages.

-

The other thing admininistrators can do is update the wiki (provided they know the site's secret). This page can be found here: Update $sitename.

"; +

The other thing admininistrators can do is update the wiki (provided they know the site's secret). This page can be found here: Update $sitename.

+

$sitename is currently running on Pepperminty Wiki $version

"; exit(renderpage($title, $content)); break; @@ -761,7 +762,9 @@ switch($_GET["action"]) $content = "

$sitename credits

$sitename is powered by Pepperminty Wiki - an entire wiki packed inside a single file, which was built by Starbeamrainbowlabs, and can be found on github.

A slightly modified version of slimdown is used to parse text source into HTML. Slimdown is by Johnny Broadway, which can be found on github.

-

The default favicon is from Open Clipart by bluefrog23, and can be found here.

"; +

The default favicon is from Open Clipart by bluefrog23, and can be found here.

+

Administrators can update $sitename here: Update $sitename.

+

$sitename is currently running on Pepperminty Wiki $version

"; exit(renderpage($title, $content)); break; diff --git a/index.php b/index.php index 865c01e..9e16fc1 100755 --- a/index.php +++ b/index.php @@ -276,6 +276,7 @@ function renderpage($title, $content, $minimal = false) $title + "; if(preg_match("/^[^\/]*\/\/|^\//", $css)) { @@ -777,7 +778,8 @@ switch($_GET["action"])

Administrator Actions

By default, the delete and move actions are shown on the nav bar. These can be used by administrators to delete or move pages.

-

The other thing admininistrators can do is update the wiki (provided they know the site's secret). This page can be found here: Update $sitename.

"; +

The other thing admininistrators can do is update the wiki (provided they know the site's secret). This page can be found here: Update $sitename.

+

$sitename is currently running on Pepperminty Wiki $version

"; exit(renderpage($title, $content)); break; @@ -882,7 +884,9 @@ switch($_GET["action"]) $content = "

$sitename credits

$sitename is powered by Pepperminty Wiki - an entire wiki packed inside a single file, which was built by Starbeamrainbowlabs, and can be found on github.

A slightly modified version of slimdown is used to parse text source into HTML. Slimdown is by Johnny Broadway, which can be found on github.

-

The default favicon is from Open Clipart by bluefrog23, and can be found here.

"; +

The default favicon is from Open Clipart by bluefrog23, and can be found here.

+

Administrators can update $sitename here: Update $sitename.

+

$sitename is currently running on Pepperminty Wiki $version

"; exit(renderpage($title, $content)); break;