static list of support currencies

This commit is contained in:
Michael Muré 2014-04-29 23:17:50 +02:00
parent 449e6b8632
commit 49f1f54869
3 changed files with 102 additions and 90 deletions

View file

@ -6143,7 +6143,23 @@ body { font-family: Arial; background-image: url('images/diamonds.png'); height:
<div class="supportedCurrenciesChecklist">
<b>Supported currencies :</b>
<div id="supportedcurrencies"></div>
<div id="supportedcurrencies">
<a href="?currency=Auroracoin">Auroracoin</a>
<a href="?currency=Bitcoin">Bitcoin</a>
<a href="?currency=Blackcoin">Blackcoin</a>
<a href="?currency=BBQcoin">BBQcoin</a>
<a href="?currency=Catcoin">Catcoin</a>
<a href="?currency=Dogecoin">Dogecoin</a>
<a href="?currency=Feathercoin">Feathercoin</a>
<a href="?currency=Litecoin">Litecoin</a>
<a href="?currency=Marscoin">Marscoin</a>
<a href="?currency=NameCoin">NameCoin</a>
<a href="?currency=Peercoin">Peercoin</a>
<a href="?currency=Primecoin">Primecoin</a>
<a href="?currency=Reddcoin">Reddcoin</a>
<a href="?currency=Topcoin">Topcoin</a>
<a href="?currency=Vertcoin">Vertcoin</a>
</div>
</div>
<div class="frontPageInstructions">
@ -9502,16 +9518,6 @@ for(i = 0; i < janin.currencies.length; i++) {
options += ">"+janin.currencies[i].name+"</option>";
}
select.innerHTML = options;
// populate supported currency list
var supportedcurrencies = document.getElementById("supportedcurrencies");
var currencieslist = "";
for(i = 0; i < janin.currencies.length; i++) {
if(janin.currencies[i].donate == null)
continue;
currencieslist += "<a href='?currency="+janin.currencies[i].name;
currencieslist += "'>"+janin.currencies[i].name+"</a> ";
}
supportedcurrencies.innerHTML = currencieslist;
// populate donate list
document.getElementById("donateqrcode").style.display = "none";
var donatelist = document.getElementById("donatelist");

View file

@ -176,7 +176,23 @@
<div class="supportedCurrenciesChecklist">
<b>Supported currencies :</b>
<div id="supportedcurrencies"></div>
<div id="supportedcurrencies">
<a href="?currency=Auroracoin">Auroracoin</a>
<a href="?currency=Bitcoin">Bitcoin</a>
<a href="?currency=Blackcoin">Blackcoin</a>
<a href="?currency=BBQcoin">BBQcoin</a>
<a href="?currency=Catcoin">Catcoin</a>
<a href="?currency=Dogecoin">Dogecoin</a>
<a href="?currency=Feathercoin">Feathercoin</a>
<a href="?currency=Litecoin">Litecoin</a>
<a href="?currency=Marscoin">Marscoin</a>
<a href="?currency=NameCoin">NameCoin</a>
<a href="?currency=Peercoin">Peercoin</a>
<a href="?currency=Primecoin">Primecoin</a>
<a href="?currency=Reddcoin">Reddcoin</a>
<a href="?currency=Topcoin">Topcoin</a>
<a href="?currency=Vertcoin">Vertcoin</a>
</div>
</div>
<div class="frontPageInstructions">

View file

@ -32,16 +32,6 @@ for(i = 0; i < janin.currencies.length; i++) {
options += ">"+janin.currencies[i].name+"</option>";
}
select.innerHTML = options;
// populate supported currency list
var supportedcurrencies = document.getElementById("supportedcurrencies");
var currencieslist = "";
for(i = 0; i < janin.currencies.length; i++) {
if(janin.currencies[i].donate == null)
continue;
currencieslist += "<a href='?currency="+janin.currencies[i].name;
currencieslist += "'>"+janin.currencies[i].name+"</a> ";
}
supportedcurrencies.innerHTML = currencieslist;
// populate donate list
document.getElementById("donateqrcode").style.display = "none";
var donatelist = document.getElementById("donatelist");