moved filters div in php + small changes in docker version

This commit is contained in:
lenovo
2022-11-11 12:12:50 +01:00
parent 06683fa4dc
commit 692650da3e
6 changed files with 106 additions and 61 deletions

View File

@@ -0,0 +1,38 @@
<?php
function mp_create_div(&$filters) {
$mp_map_div = '
<div id="ljdp_map_wrapper">
<div id="ljdp_map_filters">
';
foreach ($filters as $key => $filter) {
$mp_map_div .= '
<div class="filter_menu">
<div class="filter_menu_title" tabindex=0>
<p>'.$key.'</p>
</div>
<div class="filter_menu_drop" tabindex=0>
<p>TOUT DESELECTIONNER</p>
';
foreach ($filter as $value) {
$mp_map_div .= '
<p>'.$value->_name.'</p>
';
}
$mp_map_div .= '
</div>
</div>
';
};
$mp_map_div .= '
</div>
<div id="ljdp_map"></div>
</div>
';
return $mp_map_div;
}
?>