Skip to content
Permalink
Browse files

Hide 'Become a Patron' button if already one

  • Loading branch information
NEMS Linux
NEMS Linux committed Dec 12, 2019
1 parent e4171ec commit 99f823c5dacf453d204e5ed38f3c0b264472d3aa
Showing with 7 additions and 3 deletions.
  1. +7 −3 index.php
@@ -102,10 +102,14 @@
</div>

</div><!--/end row-->

<p align="center"><a href="https://www.patreon.com/bePatron?u=8543379" class="btn btn-u btn-u-red" target="_blank"><img src="/img/fa-patreon.png" align="bottom" style="max-height:14px; margin-right: 8px;" class="pull-left img-responsive" /> Become a Patron</a></p>

<br />
<?php
if ($cloudauth == 1) {
echo '<p align="center" style="font-size: 12px;">Thank you for supporting NEMS Linux.</p>';
} else {
echo '<p align="center"><a href="https://www.patreon.com/bePatron?u=8543379" class="btn btn-u btn-u-red" target="_blank"><img src="/img/fa-patreon.png" align="bottom" style="max-height:14px; margin-right: 8px;" class="pull-left img-responsive" /> Become a Patron</a></p>';
}

$sponsor_ratio = 1;
if (file_exists('/var/www/html/vendor/logo.png')) {
echo '<div class="text-center img-center"><p style="font-size: 0.5em; color:#aaa; margin: 30px 0 0px 0; padding: 0 !important;">Distributed By:</p>';

0 comments on commit 99f823c

Please sign in to comment.
You can’t perform that action at this time.