From ad8e7a3833d5ed362098a3850174e1cf74f3c960 Mon Sep 17 00:00:00 2001
From: Boris Paing <boris.paing@laposte.net>
Date: Sun, 15 Mar 2020 15:24:09 +0100
Subject: [PATCH] Update Cesium link

---
 cesiumDownloads.php | 20 ++++++++++----------
 cesiumVersions.php  |  4 +++-
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/cesiumDownloads.php b/cesiumDownloads.php
index d7da89e..a978b8e 100644
--- a/cesiumDownloads.php
+++ b/cesiumDownloads.php
@@ -38,11 +38,11 @@ $cesiumDownloads =
 		'desc' => _('Version web fonctionnant sous Mac'), 
 		'extra' => _('Décompressez le fichier .zip et ouvrez le fichier index.html')
 	], 
-	'yunohost' => [
-		'title' => 'Yunohost', 
-		'url' => 'https://github.com/duniter/cesium_ynh', 
-		'img' => 'yunohost.png', 
-		'desc' => _('Paquet pour Yunohost'), 
+	'Firefox_Add-on' => [
+		'title' => _('Firefox Add-on'), 
+		'url' => sprintf('https://glibre.org/cesium/cesium-%s-an+fx.xpi', $cesiumVersions['firefox']), 
+		'img' => 'firefox2019.png', 
+		'desc' => _('Expérimental Firefox Add-on'), 
 		'extra' => ''
 	], 
 	'web' => [
@@ -52,11 +52,11 @@ $cesiumDownloads =
 		'desc' => _('Pour une installation sur un serveur web'), 
 		'extra' => ''
 	], 
-	'Firefox_Add-on' => [
-		'title' => _('Firefox Add-on'), 
-		'url' => 'https://addons.mozilla.org/fr/firefox/addon/cesium/', 
-		'img' => 'firefox2019.png', 
-		'desc' => _('Expérimental Firefox Add-on'), 
+	'yunohost' => [
+		'title' => 'Yunohost', 
+		'url' => 'https://github.com/duniter/cesium_ynh', 
+		'img' => 'yunohost.png', 
+		'desc' => _('Paquet pour Yunohost'), 
 		'extra' => ''
 	], 
 	'livrables' => [
diff --git a/cesiumVersions.php b/cesiumVersions.php
index d1a9823..7228b0b 100644
--- a/cesiumVersions.php
+++ b/cesiumVersions.php
@@ -5,7 +5,9 @@ $cesiumVersions = [
 	'android' => '1.3.11', 
 	  'linux' => '1.3.11', 
 	'windows' => '1.3.11', 
+	'firefox' => '1.3.11', 
 	    'mac' => '1.3.11', 
-	    'web' => '1.3.11'
+	    'web' => '1.3.11', 
+	
 ];
 	   
-- 
GitLab