phpcs correction
This commit is contained in:
parent
de5095a9bd
commit
2fdf097eb9
1 changed files with 14 additions and 17 deletions
|
|
@ -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,7 +45,7 @@ $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; ?>
|
||||
|
|
@ -77,11 +77,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 +97,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 +112,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 +131,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 +140,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-->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue