mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Added list of administrators to bottom of every normal page
This commit is contained in:
parent
a75e9e3100
commit
a4f753985d
2 changed files with 4 additions and 2 deletions
3
core.php
3
core.php
|
@ -136,7 +136,7 @@ if(makepathsafe($_GET["page"]) !== $_GET["page"])
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
function renderpage($title, $content, $minimal = false)
|
function renderpage($title, $content, $minimal = false)
|
||||||
{
|
{
|
||||||
global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex;
|
global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admins, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex;
|
||||||
|
|
||||||
$html = "<!DOCTYPE HTML>
|
$html = "<!DOCTYPE HTML>
|
||||||
<html><head>
|
<html><head>
|
||||||
|
@ -208,6 +208,7 @@ function renderpage($title, $content, $minimal = false)
|
||||||
<hr class='footerdivider' />
|
<hr class='footerdivider' />
|
||||||
<footer>
|
<footer>
|
||||||
<p>Powered by Pepperminty Wiki, which was built by <a href='//starbeamrainbowlabs'>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'>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 " . implode(", ", $admins) . ".
|
||||||
<p>This wiki is managed by <a href='mailto:" . hide_email($admindetails["email"]) . "'>" . $admindetails["name"] . "</a>.</p>
|
<p>This wiki is managed by <a href='mailto:" . hide_email($admindetails["email"]) . "'>" . $admindetails["name"] . "</a>.</p>
|
||||||
</footer>
|
</footer>
|
||||||
<datalist id='allpages'>\n";
|
<datalist id='allpages'>\n";
|
||||||
|
|
|
@ -246,7 +246,7 @@ if(makepathsafe($_GET["page"]) !== $_GET["page"])
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
function renderpage($title, $content, $minimal = false)
|
function renderpage($title, $content, $minimal = false)
|
||||||
{
|
{
|
||||||
global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex;
|
global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admins, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex;
|
||||||
|
|
||||||
$html = "<!DOCTYPE HTML>
|
$html = "<!DOCTYPE HTML>
|
||||||
<html><head>
|
<html><head>
|
||||||
|
@ -318,6 +318,7 @@ function renderpage($title, $content, $minimal = false)
|
||||||
<hr class='footerdivider' />
|
<hr class='footerdivider' />
|
||||||
<footer>
|
<footer>
|
||||||
<p>Powered by Pepperminty Wiki, which was built by <a href='//starbeamrainbowlabs'>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'>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 " . implode(", ", $admins) . ".
|
||||||
<p>This wiki is managed by <a href='mailto:" . hide_email($admindetails["email"]) . "'>" . $admindetails["name"] . "</a>.</p>
|
<p>This wiki is managed by <a href='mailto:" . hide_email($admindetails["email"]) . "'>" . $admindetails["name"] . "</a>.</p>
|
||||||
</footer>
|
</footer>
|
||||||
<datalist id='allpages'>\n";
|
<datalist id='allpages'>\n";
|
||||||
|
|
Loading…
Reference in a new issue