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 /tde-head-and-foot.php | |
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>
Diffstat (limited to 'tde-head-and-foot.php')
-rw-r--r-- | tde-head-and-foot.php | 5 |
1 files changed, 3 insertions, 2 deletions
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", |