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'; }