diff --git a/html/css/styles.css b/html/css/styles.css index a51e22a4cf..fb0b49f5cf 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -1958,13 +1958,13 @@ label { } .page-availability-title-left { - width:50%; + width:40%; float:left; height:40px; } .page-availability-title-right { - width:50%; + width:60%; float:left; text-align:right; } diff --git a/html/includes/common/availability-map.inc.php b/html/includes/common/availability-map.inc.php index 423cfa18e6..483e090044 100644 --- a/html/includes/common/availability-map.inc.php +++ b/html/includes/common/availability-map.inc.php @@ -18,7 +18,7 @@ $widget_mode = json_decode($sql['settings'], true); if (isset($_SESSION["map_view"]) && is_numeric($_SESSION["map_view"])) { $mode = $_SESSION["map_view"]; } else { - $mode = $widget_mode->{'mode'}; + $mode = $widget_mode['mode']; } $select_modes = array( @@ -28,15 +28,17 @@ $select_modes = array( ); if ($config['webui']['availability_map_compact'] == 1) { - $compact_tile = $widget_mode->{'tile_width'}; + $compact_tile = $widget_mode['tile_width']; } +$show_disabled_ignored = $widget_mode['show_disabled_and_ignored']; + if (defined('SHOW_SETTINGS')) { $common_output[] = '