diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-23 10:34:42 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-23 17:30:04 +0200 |
commit | 801b4403732cc3f568122d88b95f139ec47b930f (patch) | |
tree | 3dc9bba1aa26ea290f159556f559e36937581f94 | |
parent | 94eb4cb60f4da34481b83b9686664c89e9b4bf44 (diff) | |
download | website-core-801b4403732cc3f568122d88b95f139ec47b930f.tar.gz website-core-801b4403732cc3f568122d88b95f139ec47b930f.zip |
Improve position of the donation page link
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | donate.php | 3 | ||||
-rw-r--r-- | tde-head-and-foot.php | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -3,7 +3,7 @@ // All Rights Reserved include("tde-head-and-foot.php"); -doHeader("Support Trinity", "Development", "Donations"); +doHeader("Support Trinity", "Donate", "_"); ?> <h2>The Trinity project needs your support!</h2> @@ -81,6 +81,7 @@ doHeader("Support Trinity", "Development", "Donations"); echo " </p>\n"; } echo " <p>Every little bit helps and is much appreciated!</p>\n"; + echo " <a href=\"https://floss.social/@tde\" rel=\"me\" />\n"; } ?> diff --git a/tde-head-and-foot.php b/tde-head-and-foot.php index 7d1642d..e39a9fe 100644 --- a/tde-head-and-foot.php +++ b/tde-head-and-foot.php @@ -41,7 +41,7 @@ </DIV> </DIV> <?php - if ($navItem != "Donations") { + if ($navItem != "Donations" && $navCategory != "Donate") { echo "<DIV ID=\"titlenotif\">\n"; echo " <P CLASS=\"notifhead\"><A HREF=\"" . $maindir . "donate.php\">Help Keep TDE Alive - Donate Now!</A>\n"; echo "</DIV>\n"; @@ -68,7 +68,8 @@ "Features" => $GLOBALS['maindir'] . "features.php", "Screenshots" => $GLOBALS['maindir'] . "screenshots.php", "Get Involved" => $GLOBALS['maindir'] . "helpwanted.php", - "Donations" => $GLOBALS['maindir'] . "donate.php", + ), + "Donate" => array("_" => $GLOBALS['maindir'] . "donate.php", ), "Get Trinity" => array("_" => $GLOBALS['maindir'] . "releases.php", "Packages" => $GLOBALS['maindir'] . "releases.php", |