change architecture of files

+ hide filter before css is loaded
+ fusion categories 'autre' and arrow
+ put categorie 'autre' at bottom of list
This commit is contained in:
lenovo
2022-11-15 12:42:58 +01:00
parent 604cf884c6
commit b13f34ebd2
15 changed files with 154 additions and 143 deletions

View File

@@ -0,0 +1,23 @@
<?php
function mp_url_api() {
global $mp_api_key;
$mp_url = array(
'src' => 'https://maps.googleapis.com/maps/api/js',
'key' => $mp_api_key,
'callback' => 'mp_init_map',
);
$mp_src = "";
foreach ($mp_url as $url_key => $url_value) {
if ($url_key === 'src') {
$mp_src .= $url_value;
if (count($mp_url) > 1)
$mp_src .= "?";
}
else
$mp_src .= "&" . $url_key . "=" . $url_value;
};
return $mp_src;
}
?>