come back of the generated list of supported currency

This commit is contained in:
Michael Muré 2014-06-15 01:54:33 +02:00
parent fd83033bac
commit 3b138f2521
3 changed files with 22 additions and 66 deletions

View file

@ -9714,39 +9714,7 @@ h1 { margin: 0px; height: 91px; }
<div class="supportedCurrenciesChecklist"> <div class="supportedCurrenciesChecklist">
<b>Supported currencies :</b> <b>Supported currencies :</b>
<div id="supportedcurrencies"> <div id="supportedcurrencies"></div>
<a href="?currency=42coin">42coin</a>
<a href="?currency=Alphacoin">Alphacoin</a>
<a href="?currency=Anoncoin">Anoncoin</a>
<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=Corgicoin">Corgicoin</a>
<a href="?currency=Darkcoin">Darkcoin</a>
<a href="?currency=Devcoin">Devcoin</a>
<a href="?currency=Digitalcoin">Digitalcoin</a>
<a href="?currency=Dogecoin">Dogecoin</a>
<a href="?currency=Fastcoin">Fastcoin</a>
<a href="?currency=Feathercoin">Feathercoin</a>
<a href="?currency=Goodcoin">Goodcoin</a>
<a href="?currency=Gridcoin">Gridcoin</a>
<a href="?currency=HTMLcoin">HTMLcoin</a>
<a href="?currency=Litecoin">Litecoin</a>
<a href="?currency=MagicInternetMoney">MagicInternetMoney</a>
<a href="?currency=Marscoin">Marscoin</a>
<a href="?currency=Megacoin">Megacoin</a>
<a href="?currency=Monocle">Monocle</a>
<a href="?currency=Namecoin">Namecoin</a>
<a href="?currency=Novacoin">Novacoin</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=TreasureHuntCoin">TreasureHuntCoin</a>
<a href="?currency=Vertcoin">Vertcoin</a>
</div>
</div> </div>
<div class="frontPageInstructions"> <div class="frontPageInstructions">
@ -13209,6 +13177,16 @@ for(i = 0; i < janin.currencies.length; i++) {
options += ">"+janin.currencies[i].name+"</option>"; options += ">"+janin.currencies[i].name+"</option>";
} }
select.innerHTML = options; 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 // populate donate list
document.getElementById("donateqrcode").style.display = "none"; document.getElementById("donateqrcode").style.display = "none";
var donatelist = document.getElementById("donatelist"); var donatelist = document.getElementById("donatelist");

View file

@ -183,39 +183,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<div class="supportedCurrenciesChecklist"> <div class="supportedCurrenciesChecklist">
<b>Supported currencies :</b> <b>Supported currencies :</b>
<div id="supportedcurrencies"> <div id="supportedcurrencies"></div>
<a href="?currency=42coin">42coin</a>
<a href="?currency=Alphacoin">Alphacoin</a>
<a href="?currency=Anoncoin">Anoncoin</a>
<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=Corgicoin">Corgicoin</a>
<a href="?currency=Darkcoin">Darkcoin</a>
<a href="?currency=Devcoin">Devcoin</a>
<a href="?currency=Digitalcoin">Digitalcoin</a>
<a href="?currency=Dogecoin">Dogecoin</a>
<a href="?currency=Fastcoin">Fastcoin</a>
<a href="?currency=Feathercoin">Feathercoin</a>
<a href="?currency=Goodcoin">Goodcoin</a>
<a href="?currency=Gridcoin">Gridcoin</a>
<a href="?currency=HTMLcoin">HTMLcoin</a>
<a href="?currency=Litecoin">Litecoin</a>
<a href="?currency=MagicInternetMoney">MagicInternetMoney</a>
<a href="?currency=Marscoin">Marscoin</a>
<a href="?currency=Megacoin">Megacoin</a>
<a href="?currency=Monocle">Monocle</a>
<a href="?currency=Namecoin">Namecoin</a>
<a href="?currency=Novacoin">Novacoin</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=TreasureHuntCoin">TreasureHuntCoin</a>
<a href="?currency=Vertcoin">Vertcoin</a>
</div>
</div> </div>
<div class="frontPageInstructions"> <div class="frontPageInstructions">

View file

@ -32,6 +32,16 @@ for(i = 0; i < janin.currencies.length; i++) {
options += ">"+janin.currencies[i].name+"</option>"; options += ">"+janin.currencies[i].name+"</option>";
} }
select.innerHTML = options; 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 // populate donate list
document.getElementById("donateqrcode").style.display = "none"; document.getElementById("donateqrcode").style.display = "none";
var donatelist = document.getElementById("donatelist"); var donatelist = document.getElementById("donatelist");