Merge pull request #3110 from R1BLH/dashboard_map_fix
Fixed the behavior of the dashboard map according to the appearance settings
这个提交包含在:
当前提交
2f8d476c03
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -213,7 +213,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc)
|
|||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->config->item('option_dashboard_map ') != "false" && $this->config->item('option_dashboard_map ') != "map_at_right") { ?>
|
||||
<?php if (($this->optionslib->get_option('dashboard_map') != "false") && ($this->optionslib->get_option('dashboard_map') != "map_at_right")) { ?>
|
||||
<!-- Map -->
|
||||
<div id="map" class="map-leaflet" style="width: 100%; height: 350px"></div>
|
||||
<?php } ?>
|
||||
|
|
@ -226,7 +226,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc)
|
|||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
<?php if ($this->config->item('dashboard_map') == "map_at_right") { ?>
|
||||
<?php if ($this->optionslib->get_option('dashboard_map') == "map_at_right") { ?>
|
||||
<!-- Map -->
|
||||
<div id="map" class="map-leaflet" style="width: 100%; height: 350px; margin-bottom: 15px;"></div>
|
||||
<?php } ?>
|
||||
|
|
|
|||
正在加载…
在新工单中引用