From 1b5b5f1bc77896147f202492e00318ac31b15d56 Mon Sep 17 00:00:00 2001 From: Sergiusz Paprzycki Date: Thu, 10 Sep 2015 15:26:19 +0100 Subject: [PATCH] Settings page for Worldmap widget --- html/includes/common/worldmap.inc.php | 137 ++++++++++++++++++-------- 1 file changed, 94 insertions(+), 43 deletions(-) diff --git a/html/includes/common/worldmap.inc.php b/html/includes/common/worldmap.inc.php index dea7224e7..493bd0ab1 100644 --- a/html/includes/common/worldmap.inc.php +++ b/html/includes/common/worldmap.inc.php @@ -23,19 +23,72 @@ */ if ($config['map']['engine'] == 'leaflet') { - -$temp_output = ' + if ((defined('show_settings') || empty($widget_settings)) && $config['front_page'] == "pages/front/tiles.php") { + $temp_output = ' +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+
+ '; + } + else { + $temp_output = '
'; - -} else { + } +} +else { $temp_output = 'Mapael engine not supported here'; }