mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Add footer message setting.
This commit is contained in:
parent
7a2da1d17e
commit
881418dded
3 changed files with 18 additions and 4 deletions
|
@ -130,6 +130,9 @@ $settings->nav_links_bottom = [
|
||||||
[ "Help", "index.php?action=help" ]
|
[ "Help", "index.php?action=help" ]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// A message that will appear at the bottom of every page. May contain HTML.
|
||||||
|
$settings->footer_message = "All content is under <a href='?page=License'>this license</a>.";
|
||||||
|
|
||||||
// A string of css to include. Will be included in the <head> of every page
|
// A string of css to include. Will be included in the <head> of every page
|
||||||
// inside a <style> tag. This may also be a url - urls will be referenced via a
|
// inside a <style> tag. This may also be a url - urls will be referenced via a
|
||||||
// <link rel='stylesheet' /> tag.
|
// <link rel='stylesheet' /> tag.
|
||||||
|
@ -581,6 +584,7 @@ class page_renderer
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
<p>{footer-message}</p>
|
||||||
<p>Powered by Pepperminty Wiki, which was built by <a href='//starbeamrainbowlabs.com/'>Starbeamrainbowlabs</a>. Send bugs to 'bugs at starbeamrainbowlabs dot com' or open an issue <a href='//github.com/sbrl/Pepperminty-Wiki'>on github</a>.</p>
|
<p>Powered by Pepperminty Wiki, which was built by <a href='//starbeamrainbowlabs.com/'>Starbeamrainbowlabs</a>. Send bugs to 'bugs at starbeamrainbowlabs dot com' or open an issue <a href='//github.com/sbrl/Pepperminty-Wiki'>on github</a>.</p>
|
||||||
<p>Your local friendly administrators are {admins-name-list}.
|
<p>Your local friendly administrators are {admins-name-list}.
|
||||||
<p>This wiki is managed by <a href='mailto:{admin-details-email}'>{admin-details-name}</a>.</p>
|
<p>This wiki is managed by <a href='mailto:{admin-details-email}'>{admin-details-name}</a>.</p>
|
||||||
|
@ -591,7 +595,8 @@ class page_renderer
|
||||||
<footer class='printable'>
|
<footer class='printable'>
|
||||||
<hr class='footerdivider' />
|
<hr class='footerdivider' />
|
||||||
<p><em>From {sitename}, which is managed by {admin-details-name}.</em></p>
|
<p><em>From {sitename}, which is managed by {admin-details-name}.</em></p>
|
||||||
<p><em>Timed at {generation-date}</em>
|
<p>{footer-message}</p>
|
||||||
|
<p><em>Timed at {generation-date}</em></p>
|
||||||
<p><em>Powered by Pepperminty Wiki.</em></p>
|
<p><em>Powered by Pepperminty Wiki.</em></p>
|
||||||
</footer>";
|
</footer>";
|
||||||
|
|
||||||
|
@ -643,7 +648,9 @@ class page_renderer
|
||||||
|
|
||||||
"{generation-date}" => date("l jS \of F Y \a\\t h:ia T"),
|
"{generation-date}" => date("l jS \of F Y \a\\t h:ia T"),
|
||||||
|
|
||||||
"{all-pages-datalist}" => self::generate_all_pages_datalist()
|
"{all-pages-datalist}" => self::generate_all_pages_datalist(),
|
||||||
|
|
||||||
|
"{footer-message}" => $settings->footer_message
|
||||||
];
|
];
|
||||||
|
|
||||||
// Pass the parts through the part processors
|
// Pass the parts through the part processors
|
||||||
|
|
8
core.php
8
core.php
|
@ -360,6 +360,7 @@ class page_renderer
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
<p>{footer-message}</p>
|
||||||
<p>Powered by Pepperminty Wiki, which was built by <a href='//starbeamrainbowlabs.com/'>Starbeamrainbowlabs</a>. Send bugs to 'bugs at starbeamrainbowlabs dot com' or open an issue <a href='//github.com/sbrl/Pepperminty-Wiki'>on github</a>.</p>
|
<p>Powered by Pepperminty Wiki, which was built by <a href='//starbeamrainbowlabs.com/'>Starbeamrainbowlabs</a>. Send bugs to 'bugs at starbeamrainbowlabs dot com' or open an issue <a href='//github.com/sbrl/Pepperminty-Wiki'>on github</a>.</p>
|
||||||
<p>Your local friendly administrators are {admins-name-list}.
|
<p>Your local friendly administrators are {admins-name-list}.
|
||||||
<p>This wiki is managed by <a href='mailto:{admin-details-email}'>{admin-details-name}</a>.</p>
|
<p>This wiki is managed by <a href='mailto:{admin-details-email}'>{admin-details-name}</a>.</p>
|
||||||
|
@ -370,7 +371,8 @@ class page_renderer
|
||||||
<footer class='printable'>
|
<footer class='printable'>
|
||||||
<hr class='footerdivider' />
|
<hr class='footerdivider' />
|
||||||
<p><em>From {sitename}, which is managed by {admin-details-name}.</em></p>
|
<p><em>From {sitename}, which is managed by {admin-details-name}.</em></p>
|
||||||
<p><em>Timed at {generation-date}</em>
|
<p>{footer-message}</p>
|
||||||
|
<p><em>Timed at {generation-date}</em></p>
|
||||||
<p><em>Powered by Pepperminty Wiki.</em></p>
|
<p><em>Powered by Pepperminty Wiki.</em></p>
|
||||||
</footer>";
|
</footer>";
|
||||||
|
|
||||||
|
@ -422,7 +424,9 @@ class page_renderer
|
||||||
|
|
||||||
"{generation-date}" => date("l jS \of F Y \a\\t h:ia T"),
|
"{generation-date}" => date("l jS \of F Y \a\\t h:ia T"),
|
||||||
|
|
||||||
"{all-pages-datalist}" => self::generate_all_pages_datalist()
|
"{all-pages-datalist}" => self::generate_all_pages_datalist(),
|
||||||
|
|
||||||
|
"{footer-message}" => $settings->footer_message
|
||||||
];
|
];
|
||||||
|
|
||||||
// Pass the parts through the part processors
|
// Pass the parts through the part processors
|
||||||
|
|
|
@ -127,6 +127,9 @@ $settings->nav_links_bottom = [
|
||||||
[ "Help", "index.php?action=help" ]
|
[ "Help", "index.php?action=help" ]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// A message that will appear at the bottom of every page. May contain HTML.
|
||||||
|
$settings->footer_message = "All content is under <a href='?page=License'>this license</a>.";
|
||||||
|
|
||||||
// A string of css to include. Will be included in the <head> of every page
|
// A string of css to include. Will be included in the <head> of every page
|
||||||
// inside a <style> tag. This may also be a url - urls will be referenced via a
|
// inside a <style> tag. This may also be a url - urls will be referenced via a
|
||||||
// <link rel='stylesheet' /> tag.
|
// <link rel='stylesheet' /> tag.
|
||||||
|
|
Loading…
Reference in a new issue