diff --git a/index.php b/index.php index 5dd95f5..4b768dc 100644 --- a/index.php +++ b/index.php @@ -63,6 +63,7 @@ $BMD = $api->bmd; $CLP = $api->clp; $CZK = $api->czk; $DKK = $api->dkk; +$MXN = $api->mxn; // Lädt die Sprachdatei, nach der Sprache die im Browser eingestellt wurde $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); @@ -160,6 +161,8 @@ if(isset($_GET["in"])) { $xmr_in_fiat = number_format($INR, 2); }elseif($xmr_in == 'IDR'){ $xmr_in_fiat = number_format($IDR, 2); + }elseif($xmr_in == 'MXN'){ + $xmr_in_fiat = number_format($MXN, 2); }elseif($xmr_in == 'BTC'){ $xmr_in_fiat = number_format($BTC, 8); }elseif($xmr_in == 'LTC'){ @@ -244,6 +247,7 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); margin-bottom: 5px; font-size: 0.8rem; font-weight: bold; + min-width: 38px; } @media only screen and (max-width: 475px) { .btn{ @@ -268,44 +272,45 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); | | | - |
+ | + | + | + |
| | | | | - |
+ | + | + | + |
| | - | | - | - | | | - |
- - | - | - | - | - | - | - |
- - | - | - | - | - | + | + | | |
- + + | + | + | + | + | + | + | + | + |
+ + | + | | | - | | | | @@ -338,6 +343,9 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); + + + @@ -345,36 +353,34 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); + + + - - - - + + + - - + - - - - + + - @@ -552,6 +558,9 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); } else if (selectBox == "DKK") { var value = fiatAmount / ; xmrValue.value = value.toFixed(12); + } else if (selectBox == "MXN") { + var value = fiatAmount / ; + xmrValue.value = value.toFixed(12); } } @@ -707,9 +716,12 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); } else if (selectBox == "CLP") { var value = xmrAmount * ; fiatValue.value = value.toFixed(2); - } else if (selectBox == "DKK") { + } else if (selectBox == "DKK") { var value = xmrAmount * ; fiatValue.value = value.toFixed(2); + } else if (selectBox == "MXN") { + var value = xmrAmount * ; + fiatValue.value = value.toFixed(2); } } diff --git a/lang/de.php b/lang/de.php index e1700fb..d508d39 100644 --- a/lang/de.php +++ b/lang/de.php @@ -61,6 +61,7 @@ $l_bmd = "Bermuda-Dollar"; $l_czk = "Tschechische Krone"; $l_dkk = "Dänische Krone"; $l_clp = "Chilenischer Peso"; +$l_mxn = "Mexikanischer Peso"; // Weitere Monero Links $getmonero = 'Offizielle Webseite | Community Crowdfunding System (CCS) | Monero Ecosystem | Monero Observer | Monero Talk | Telegram - Monero Germany'; diff --git a/lang/en.php b/lang/en.php index adf1292..732536f 100644 --- a/lang/en.php +++ b/lang/en.php @@ -61,6 +61,7 @@ $l_bmd = "Bermudan Dollar"; $l_czk = "Czech Koruna"; $l_dkk = "Danish Krone"; $l_clp = "Chilean Peso"; +$l_mxn = "Mexican Peso"; // Weitere Monero Links $getmonero = 'Official website | Community Crowdfunding System (CCS) | Monero Ecosystem | Monero Observer | Monero Talk | Telegram - Monero XMR'; diff --git a/lang/es.php b/lang/es.php index ab52e8e..654bbc2 100644 --- a/lang/es.php +++ b/lang/es.php @@ -61,6 +61,7 @@ $l_bmd = "Dólar de Bermudas"; $l_czk = "Corona checa"; $l_dkk = "Corona danesa"; $l_clp = "Peso chileno"; +$l_mxn = "Peso mexicano"; // Weitere Monero Links $getmonero = 'Página oficial | Community Crowdfunding System (CCS) | Monero Ecosystem | Monero Observer | El Monero Podcast | Telegram - Monero en español'; diff --git a/lang/it.php b/lang/it.php index 5719f87..a53be6a 100644 --- a/lang/it.php +++ b/lang/it.php @@ -61,6 +61,7 @@ $l_bmd = "Dollaro delle Bermuda"; $l_czk = "Corona Ceca"; $l_dkk = "Corona Danese"; $l_clp = "Peso cileno"; +$l_mxn = "Peso messicano"; // Link di Monero $getmonero = 'Sito ufficiale | Community Crowdfunding System (CCS) | Ecosistema Monero | Monero Observer | Monero Talk | Telegram - Monero Italia'; diff --git a/lang/zh-cn.php b/lang/zh-cn.php index 347d5b9..6807424 100644 --- a/lang/zh-cn.php +++ b/lang/zh-cn.php @@ -61,6 +61,7 @@ $l_bmd = "百慕大元"; $l_czk = "捷克克朗"; $l_dkk = "丹麦克朗"; $l_clp = "智利比索"; +$l_mxn = "墨西哥比索"; // Weitere Monero Links $getmonero = '官方网站 | 社区众筹系统 (CCS) | 门罗币生态圈 | 门罗浏览器 | Monero Talk播客'; diff --git a/lang/zh.php b/lang/zh.php index 347d5b9..6807424 100644 --- a/lang/zh.php +++ b/lang/zh.php @@ -61,6 +61,7 @@ $l_bmd = "百慕大元"; $l_czk = "捷克克朗"; $l_dkk = "丹麦克朗"; $l_clp = "智利比索"; +$l_mxn = "墨西哥比索"; // Weitere Monero Links $getmonero = '官方网站 | 社区众筹系统 (CCS) | 门罗币生态圈 | 门罗浏览器 | Monero Talk播客';