summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-04-23 10:34:42 +0900
committerSlávek Banko <slavek.banko@axis.cz>2024-04-23 17:30:04 +0200
commit801b4403732cc3f568122d88b95f139ec47b930f (patch)
tree3dc9bba1aa26ea290f159556f559e36937581f94
parent94eb4cb60f4da34481b83b9686664c89e9b4bf44 (diff)
downloadwebsite-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.php3
-rw-r--r--tde-head-and-foot.php5
2 files changed, 5 insertions, 3 deletions
diff --git a/donate.php b/donate.php
index d30a19a..bcd2173 100644
--- a/donate.php
+++ b/donate.php
@@ -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",