feat: add PayPal donation

This commit is contained in:
2025-09-28 20:39:47 +04:00
parent 1365953b97
commit 5bbc6f1c66
9 changed files with 737 additions and 0 deletions
+6
View File
@@ -21,6 +21,12 @@
<i class="fas fa-broadcast-tower" aria-hidden="true"></i> <span>Direct</span>
</a>
<?php if (defined('DONATIONS_ENABLED') && DONATIONS_ENABLED && !empty(PAYPAL_ME_URL)): ?>
<a href="dons.php" class="nav-item donation-nav-link <?php echo ($currentPage === 'dons.php') ? 'active' : ''; ?>" data-title="Soutenir" aria-current="<?php echo ($currentPage === 'dons.php') ? 'page' : 'false'; ?>">
<i class="fas fa-heart" aria-hidden="true"></i> <span>Soutenir</span>
</a>
<?php endif; ?>
<div class="nav-divider"></div>
<?php