Merge branch 'develop' into trunk

This commit is contained in:
Vincent BRIDIER 2024-01-10 11:17:56 +01:00
commit e911331fa2
No known key found for this signature in database
GPG key ID: 8571BFA20420D512
4 changed files with 2065 additions and 32 deletions

1
.gitignore vendored
View file

@ -1,5 +1,4 @@
.idea/
composer.lock
.env
content/uploads
*.log

2050
composer.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -54,7 +54,7 @@ function getContactsList()
'MessageTypeID' => 3, // La finance
'MessageLabel' => 'La finance',
'contacts' => [
'bernard.roinard@ldc.fr',
'olivier.frouin@ldc.fr',
'valerie.bernard@ldc.fr'
]
],

View file

@ -19,15 +19,15 @@ $chirkashi['right'] = '<svg id="Calque_1" data-name="Calque 1" xmlns="http://www
<meta charset="<?php bloginfo('charset'); ?>">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="alternate" href="<?= site_url(); ?>" hreflang="x-default" />
<link rel="alternate" href="<?= esc_url(site_url()); ?>" hreflang="x-default" />
<link rel="shortcut icon" href="<?= $tp; ?>/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="<?= esc_url($tp); ?>/favicon.ico" type="image/x-icon">
<script type="application/ld+json">
<?= esc_js(bcn_display_json_ld()); ?>
</script>
<script src="<?= get_template_directory_uri() . '/js/masonry.pkgd.min.js' ?>"></script>
<script scrc="<?= get_template_directory_uri() . '/js/chart.min.js' ?>"></script>
<script src="<?= esc_url(get_template_directory_uri()) . '/js/masonry.pkgd.min.js' ?>"></script>
<script scrc="<?= esc_url(get_template_directory_uri()) . '/js/chart.min.js' ?>"></script>
<?php wp_head(); ?>
</head>
@ -45,24 +45,11 @@ $chirkashi['right'] = '<svg id="Calque_1" data-name="Calque 1" xmlns="http://www
?>
<div class="top-menu__item top-menu__item_lang langs">
<?php echo language_selector_flags(); ?>
<?= esc_html(language_selector_flags()); ?>
</div>
</div>
<?php endif; ?>
<?php if (ICL_LANGUAGE_CODE === 'en') : ?>
<div style="text-align: center;padding: 30px; font-size: 110%;">
<p style="color: red;"><b>Important information / Information importante</b></p>
<br>
<p>
<b>Warning</b>: We are victims of identity theft. <b>Lambert Dodard Chancereul Group does not have any office in India.</b> If you are asked by people to download an application bearing the name of Lambert Dodard Chancereul it is a fraud.
<br><br>
<b>Attention</b>: Nous sommes victimes d’une usurpation d’identité. <b>Le groupe LDC n’a pas de bureau en Inde.</b> Si vous êtes sollicités par des personnes pour télécharger une application portant le nom de LDC il s’agit d’une fraude.
</p>
</div>
<?php endif; ?>
<header class="header fw">
<div class="header__wrapper wrapper">
<div class="header__menu-trigger menu-trigger"><i></i><i></i><i></i></div>
@ -77,11 +64,11 @@ $chirkashi['right'] = '<svg id="Calque_1" data-name="Calque 1" xmlns="http://www
?>
</div>
<div class="header__block header__block_middle">
<a class="header__logo" href="<?php echo home_url(); ?>" title="logo">
<a class="header__logo" href="<?= esc_url(home_url()); ?>" title="logo">
<?php if (ICL_LANGUAGE_CODE === 'fr') : ?>
<img src="<?php echo $tp; ?>/img/logo.png" alt="Logo" />
<img src="<?= esc_url($tp); ?>/img/logo.png" alt="Logo" />
<?php else : ?>
<img src="<?php echo $tp; ?>/img/logo_en.png" alt="Logo" />
<img src="<?= esc_url($tp); ?>/img/logo_en.png" alt="Logo" />
<?php endif; ?>
</a>
</div>
@ -97,7 +84,7 @@ $chirkashi['right'] = '<svg id="Calque_1" data-name="Calque 1" xmlns="http://www
?>
<div class="header__search-btn"></div>
<div class="header__search header-search sub-menu">
<form class="header__search-form header-search-form" method="get" action="<?php echo home_url('/'); ?>">
<form class="header__search-form header-search-form" method="get" action="<?= esc_url(home_url('/')); ?>">
<?php if (ICL_LANGUAGE_CODE === 'fr') : ?>
<input class="header-search-form__input form__input" type="text" name="s" placeholder="Votre recherche" value="<?= esc_attr(the_search_query()) ?>">
<?php else : ?>
@ -112,18 +99,16 @@ $chirkashi['right'] = '<svg id="Calque_1" data-name="Calque 1" xmlns="http://www
<div class="progress-bar" id="progress-bar"></div>
</header>
<!-- noindex -->
<div class="header__mobile-nav">
<div class="header__mobile-nav-button">
<span class="header__mobile-nav-button-element"></span>
</div>
<a class="header__mobile-logo" href="/" title="logo"><img src="<?php echo $tp; ?>/img/logo.png" alt="Logo" /></a>
<a class="header__mobile-logo" href="/" title="logo"><img src="<?= esc_url($tp); ?>/img/logo.png" alt="Logo" /></a>
<div class="header__mobile-icon-block">
<div class="header__search-btn"></div>
<div class="header__search header-search sub-menu">
<form class="header__search-form header-search-form" method="get" action="<?php echo home_url('/'); ?>">
<form class="header__search-form header-search-form" method="get" action="<?= esc_url(home_url('/')); ?>">
<?php if (ICL_LANGUAGE_CODE === 'fr') : ?>
<input class="header-search-form__input form__input" type="text" name="s" placeholder="Votre recherche" value="<?= esc_attr(the_search_query()) ?>">
<?php else : ?>
@ -133,7 +118,7 @@ $chirkashi['right'] = '<svg id="Calque_1" data-name="Calque 1" xmlns="http://www
</form>
</div>
<div class="top-menu__item top-menu__item_lang langs">
<?php echo language_selector_flags(); ?>
<?= esc_html(language_selector_flags()); ?>
</div>
</div>
</div>
@ -142,11 +127,10 @@ $chirkashi['right'] = '<svg id="Calque_1" data-name="Calque 1" xmlns="http://www
<div class="mobile-menu__wrapper">
<div class="mobile-menu__top">
<div class="mobile-menu__close"></div>
<div class="mobile-menu__logo"><img src="<?php echo $tp; ?>/img/logo.png" alt="Logo" /></div>
<div class="mobile-menu__logo"><img src="<?= esc_url($tp); ?>/img/logo.png" alt="Logo" /></div>
</div>
<?php custom_menu_output('mobile'); ?>
</div>
</div>
<!--/noindex-->
<!--/noindex-->