Skip to content

Commit

Permalink
Fixed footer error.
Browse files Browse the repository at this point in the history
  • Loading branch information
whotooktwarden committed Mar 15, 2016
1 parent 0fcc81f commit 97979a8
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 424 deletions.
12 changes: 4 additions & 8 deletions footer.php
@@ -1,8 +1,4 @@
<?php <?php?>
$tos = '<footer><p>&copy; <?php include "include.php"; echo $gatewayName; ?> 20XX ~~~ Please read our <a href="tos.php">Terms of Service</a>.</p>'; <p>&copy; <?php include "include.php"; echo $gatewayName; ?> 20XX ~~~ Please read our <a href="tos.php">Terms of Service</a>.</p>
$borLink = 'This web-kit is built to run on the <a href="https://www.ripple.com">Ripple protocol<br /><img src="bor.png"></a></footer>'; <p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/InteractiveResource" property="dct:title" rel="dct:type">QuickGatewayKit</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/whotooktwarden/QuickGatewayKit" property="cc:attributionName" rel="cc:attributionURL">Taylor Warden</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/verekia/initializr-website" rel="dct:source">https://github.com/verekia/initializr-website</a>.</p>
$licenseLink = '<p>QuickGatewayKit by Taylor Warden is licensed under a <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</p>
<p>Based on a work at <a href="https://github.com/verekia/initializr-website">https://github.com/verekia/initializr-website</a>.</p>
<p>Based on a work at <a href="https://github.com/whotooktwarden/QuickGatewayKit">https://github.com/whotooktwarden/QuickGatewayKit</a>.</p>';
$footerText = "$tos $licenseLink $borLink";
?>
5 changes: 0 additions & 5 deletions header.php
@@ -1,9 +1,4 @@
<?php?> <?php?>
$blogLink = "<a class="navbar-brand" href="http://quickgatewaykit.org/blog">The QuickGatewayKit Blog</a>";
$masterLink = "<a class="navbar-brand" href="QuickGatewayKit">QuickGatewayKit Master Branch Demo</a>"; $masterLink = "<a class="navbar-brand" href="QuickGatewayKit">QuickGatewayKit Master Branch Demo</a>";


$headerText = "$bloglink $lastMinorPrerelease";

return $blogLink;
return masterLink; return masterLink;
return $headerText;
11 changes: 0 additions & 11 deletions include.php
Expand Up @@ -71,17 +71,6 @@
$withdrawalDeliveryEstimate['maxHours'] = 24; // int value $withdrawalDeliveryEstimate['maxHours'] = 24; // int value
$withdrawalDeliveryEstimate['asset'] = 'BTC'; // string value $withdrawalDeliveryEstimate['asset'] = 'BTC'; // string value


/*
$blogLink = '<a class="navbar-brand" href="http://quickgatewaykit.org/blog">The QuickGatewayKit Blog</a>';
$masterLink = '<a class="navbar-brand" href="QuickGatewayKit">QuickGatewayKit Master Branch Demo</a>';
$headerText = "$bloglink $masterLink";
return blogLink;
return masterLink;
return $lastMajorPrerelease;
return $lastMinorPrerelease;
return $headerText;
*/
return $withdrawalDeliveryEstimate['maxHours']; return $withdrawalDeliveryEstimate['maxHours'];
return $withdrawalDeliveryEstimate['asset']; return $withdrawalDeliveryEstimate['asset'];
return $depositDeliveryEstimate['maxHours']; return $depositDeliveryEstimate['maxHours'];
Expand Down
4 changes: 2 additions & 2 deletions index.php
Expand Up @@ -141,7 +141,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="index.php"><?php include "include.php"; echo $gatewayName; ?></a><!-- YOUR HOMEPAGE LINK--> <a class="navbar-brand" href="index.php"><?php include "include.php"; echo $gatewayName; ?></a><!-- YOUR HOMEPAGE LINK-->
<?php include "header.php"; echo "$headerText"; ?> <?php include "header.php"; echo $headerText; ?>
</div> </div>
<div class="navbar-collapse collapse"> <div class="navbar-collapse collapse">
</div><!--/.navbar-collapse --> </div><!--/.navbar-collapse -->
Expand Down Expand Up @@ -262,7 +262,7 @@
</div> </div>
</div> </div>
<hr> <hr>
<?php include footer.php; echo $footerText; ?> <?php include "footer.php"; echo $footerText; ?>
</div> <!-- /container --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> </div> <!-- /container --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.0.min.js"><\/script>')</script> <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.0.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script> <script src="js/vendor/bootstrap.min.js"></script>
Expand Down
20 changes: 0 additions & 20 deletions mysql_setup.sh

This file was deleted.

6 changes: 0 additions & 6 deletions qgk_sql.sql

This file was deleted.

77 changes: 0 additions & 77 deletions ripple_servers.md

This file was deleted.

46 changes: 0 additions & 46 deletions setup.sh

This file was deleted.

0 comments on commit 97979a8

Please sign in to comment.