Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Added support for linking to a Discord server #13

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions pre-index.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,19 @@
<a href="#nav"><span class="label">Options</span></a>

<h1><a href="#"><?= $title ?></a></h1>
<?php if ($paypalUrl != "") {
<?php
if ($discordUrl != "") {
echo '<a href="' . $discordUrl . '" target="_blank" style="margin-bottom: 5px; vertical-align: middle;">
<img src="static/images/discord.png" border="0" style="float: right;">
</a>';
}
if ($paypalUrl != "") {
echo '<a href="' . $paypalUrl . '" target="_blank" style="margin-bottom: 5px; vertical-align: middle;">
<img src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit"
title="PayPal - The safer, easier way to pay online!" alt="Donate" style="float: right;">
</a>';
} ?>
}
?>
<a href="#stats" id="statsToggle" class="statsNav" style="float: right;"><span class="label">Stats</span></a>
</header>
<!-- NAV -->
Expand Down
Binary file added static/images/discord.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.