This commit updates the CSS styles for the footer's social links, ensuring a more consistent and user-friendly layout. Changes include adjustments to the display properties and margins of social link elements, enhancing their alignment and visual appeal. Additionally, the font size of the cookie management icon has been refined for better integration within the footer design.
376 lines
15 KiB
PHP
376 lines
15 KiB
PHP
<?php
|
|
global $strLangue, $strCode, $vDomaine, $vClient, $strTermesModal, $strTeamBibModal, $strHintModal;
|
|
|
|
if (!isset($strTeamBibModal)) {
|
|
$strTeamBibModal = '';
|
|
}
|
|
if (!isset($strHintModal)) {
|
|
$strHintModal = '';
|
|
}
|
|
// MSIN-1083
|
|
$blnCacherLogo = true;
|
|
if (isset($_SERVER['SCRIPT_URL'])) {
|
|
if ($strLangue == 'en')
|
|
if(stripos($_SERVER['SCRIPT_URL'], '/fees') == false) { // patch MSIN-1018
|
|
$blnCacherLogo = false;
|
|
}
|
|
if($strLangue == 'fr')
|
|
if(stripos($_SERVER['SCRIPT_URL'], '/frais') == false) { // patch MSIN-1018
|
|
$blnCacherLogo = false;
|
|
}
|
|
}
|
|
|
|
// MSIN-1083
|
|
|
|
if (isset($tabEvenement) && $tabEvenement['general']['eve_commanditaires'] == "1") {
|
|
if ($blnCacherLogo == false) { // MSIN-1083
|
|
?>
|
|
<div id="sponsors">
|
|
<div class="box_top"><span></span></div>
|
|
<div class="box_repeat">
|
|
|
|
<?php
|
|
// récupérer les images des commanditaires
|
|
$tabSponsors = fxGetSponsors($strLangue,$tabEvenement['general']['eve_id']);
|
|
|
|
if (count((array)$tabSponsors) > 0) {
|
|
?>
|
|
<ul>
|
|
<?php
|
|
for ($intCtr = 1; $intCtr <= count($tabSponsors); $intCtr++) {
|
|
?>
|
|
<li><a href="<?php echo $tabSponsors[$intCtr]['com_url_' . $strLangue]; ?>" <?php echo tcheckevents($tabSponsors[$intCtr]['com_stat_category'],$tabSponsors[$intCtr]['com_stat_action'],$tabSponsors[$intCtr]['com_stat_label']);?> <?php if ($tabSponsors[$intCtr]['com_target'] == 1) { ?>target="_blank"<?php } ?> title="<?php echo $tabSponsors[$intCtr]['com_titre_' . $strLangue]; ?>"><img src="<?php echo $vDomaine; ?>/images/commanditaires/<?php echo $tabSponsors[$intCtr]['com_image_' . $strLangue]; ?>" alt="<?php echo $tabSponsors[$intCtr]['com_titre_' . $strLangue]; ?>"></a></li>
|
|
<?php
|
|
}
|
|
?>
|
|
</ul>
|
|
<?php
|
|
} else {
|
|
?>
|
|
<br>
|
|
<?php
|
|
}
|
|
?>
|
|
<div class="clearer"><span></span></div>
|
|
</div>
|
|
<div class="box_bottom"><span></span></div>
|
|
</div>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
<footer<?php echo (defined('MS1_INSCR_GESTION_ENTRY') && MS1_INSCR_GESTION_ENTRY) ? ' class="inscr-gestion-entry-footer"' : ''; ?>>
|
|
<?php if (!(defined('MS1_INSCR_GESTION_ENTRY') && MS1_INSCR_GESTION_ENTRY)) { ?>
|
|
<div class="ms1-footer-top">
|
|
<div class="container">
|
|
<div class="row py-4">
|
|
<div class="col-lg-6 text-center text-lg-left">
|
|
<div class="ms1-contact-client text-break">
|
|
<?php
|
|
if (isset($tabEvenement['general']['eve_contact_footer_' . $strLangue])) {
|
|
if (isset($_GET['step']))
|
|
$strStep = $_GET['step'];
|
|
else
|
|
$strStep = '';
|
|
|
|
if ($strStep != 'resultat') {
|
|
if (trim($tabEvenement['general']['eve_contact_footer_' . $strLangue]) != "") {
|
|
echo($tabEvenement['general']['eve_contact_footer_' . $strLangue]);
|
|
} else {
|
|
echo('<br> <br> <br> <br>');
|
|
}
|
|
} else {
|
|
echo('<br> <br> <br> <br>');
|
|
}
|
|
} else {
|
|
echo('<br> <br> <br> <br>');
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6 text-center text-lg-right">
|
|
<ul class="list-inline mb-0 text-uppercase">
|
|
<?php
|
|
$recMenus = fxGetMenus($strLangue);
|
|
|
|
if (count($recMenus) > 0) {
|
|
for ($intCtr = 1; $intCtr <= count($recMenus); $intCtr++) {
|
|
if ($intCtr != 1) {
|
|
?>
|
|
<li class="list-inline-item"><span>|</span></li>
|
|
<?php
|
|
}
|
|
?>
|
|
<li class="list-inline-item">
|
|
<a<?php if ($strCode == $recMenus[$intCtr]['pag_code']) { ?> class="active"<?php } ?> href="<?php echo $vDomaine; ?>/page/<?php echo $recMenus[$intCtr]['pag_code'] . '/' . $strLangue; ?>">
|
|
<?php echo $recMenus[$intCtr]['pag_label_' . $strLangue]; ?>
|
|
</a>
|
|
</li>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
</ul>
|
|
<div class="social">
|
|
<a href="http://www.facebook.com/pages/Ms1timing/387594717971765" target="_blank"><i class="fa fa-facebook-square"></i></a>
|
|
<a href="https://twitter.com/ms1timing" target="_blank"><i class="fa fa-twitter-square"></i></a>
|
|
<a href="#" class="cookie-manage-link" data-cookie-manage title="<?php echo ($strLangue === 'fr') ? 'Gérer les témoins' : 'Manage cookies'; ?>">
|
|
<i class="fa cookie-manage-icon" aria-hidden="true">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" focusable="false">
|
|
<path d="M247.2 17c-22.1-3.1-44.6 .9-64.4 11.4l-74 39.5C89.1 78.4 73.2 94.9 63.4 115L26.7 190.6c-9.8 20.1-13 42.9-9.1 64.9l14.5 82.8c3.9 22.1 14.6 42.3 30.7 57.9l60.3 58.4c16.1 15.6 36.6 25.6 58.7 28.7l83 11.7c22.1 3.1 44.6-.9 64.4-11.4l74-39.5c19.7-10.5 35.6-27 45.4-47.2l36.7-75.5c9.8-20.1 13-42.9 9.1-64.9l-14.6-82.8c-3.9-22.1-14.6-42.3-30.7-57.9L388.9 57.5c-16.1-15.6-36.6-25.6-58.7-28.7L247.2 17zM208 144a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM144 336a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm224-64a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/>
|
|
</svg>
|
|
</i>
|
|
<span class="sr-only"><?php echo ($strLangue === 'fr') ? 'Gérer les témoins' : 'Manage cookies'; ?></span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php } ?>
|
|
<div class="ms1-footer-bottom">
|
|
<div class="container">
|
|
<div class="row align-items-center">
|
|
<div class="col-lg-4 text-center text-lg-left order-lg-first order-last py-2">
|
|
<div>
|
|
Copyright © <?php echo $vClient; ?> 2013-<?php echo date('Y'); ?><br>
|
|
<?php if ($strLangue == 'fr') {
|
|
?>Réalisation<?php
|
|
} else {
|
|
?>Conception<?php
|
|
} ?>:
|
|
<a href="http://www.progiweb.ca/" target="_blank">progiweb</a><br>
|
|
bdd (v<?php echo fxGetVariable('version') . '.' . fxGetVariable('update'); ?>) - code (v<?php echo _VERSION_CODE. ' ' .PAYPAL_ENV_FOOTER ;?>)
|
|
<div class="sr-only">Programmeur Jean-Sébastien Proulx & Stephan Leitn</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-4 text-center py-2">
|
|
<div>
|
|
<img src="/images/canqueb.png" alt="Logo" style="max-height: 50px;">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-4 text-center text-lg-right py-2">
|
|
<div>
|
|
<?php
|
|
if ($strLangue == 'fr') {
|
|
?>Tous les prix affichés sur ce site sont en dollars canadiens.<?php
|
|
} else {
|
|
?>All prices on this website are in Canadian dollars.<?php
|
|
} ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
<?php echo $strTermesModal . $strTeamBibModal . $strHintModal; ?>
|
|
<div class="scroll-top-wrapper border">
|
|
<span class="scroll-top-inner">
|
|
<i class="fa fa-chevron-up"></i>
|
|
</span>
|
|
</div>
|
|
<!-- /MSIN-3860 -->
|
|
<style>
|
|
footer .social {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
footer .social > a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin: 10px 0 10px 5px;
|
|
}
|
|
|
|
footer .social > a > i {
|
|
margin: 0;
|
|
}
|
|
|
|
footer .social a.cookie-manage-link {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer .social a.cookie-manage-link:hover {
|
|
color: #f3954a;
|
|
}
|
|
|
|
footer .social a.cookie-manage-link .cookie-manage-icon {
|
|
font-size: 30px;
|
|
line-height: 1;
|
|
width: 1em;
|
|
height: 1em;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-style: normal;
|
|
}
|
|
|
|
footer .social a.cookie-manage-link .cookie-manage-icon svg {
|
|
display: block;
|
|
width: 1em;
|
|
height: 1em;
|
|
fill: currentColor;
|
|
}
|
|
|
|
/* /MSIN-3860 */
|
|
.cookie-consent {
|
|
display: none; /* Initially hidden */
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: #f1f1f1;
|
|
padding: 20px;
|
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.cookie-consent-container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cookie-consent-container p {
|
|
flex: 1 1 100%;
|
|
max-width: 900px;
|
|
margin: 0 auto 8px;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.cookie-consent-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cookie-consent-links {
|
|
margin-top: 10px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.cookie-consent-links a {
|
|
color: #0066cc;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#acceptCookies, #rejectCookies {
|
|
background: #9dca3a; border-radius: 5px;
|
|
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#rejectCookies {
|
|
|
|
background: #ed1c24; border-radius: 5px;
|
|
}
|
|
|
|
#acceptCookies:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
#rejectCookies:hover {
|
|
background-color: #e53935;
|
|
}
|
|
|
|
#cookiePreferencesPanel {
|
|
max-width: 640px;
|
|
margin: 12px auto 0;
|
|
padding: 12px 16px;
|
|
background: #fff;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
text-align: left;
|
|
}
|
|
|
|
.cookie-pref-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.cookie-pref-row label {
|
|
margin: 0;
|
|
font-weight: normal;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.cookie-pref-row input[type="checkbox"] {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
#customizeCookies, #saveCookiePreferences {
|
|
background: #666;
|
|
border-radius: 5px;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#saveCookiePreferences {
|
|
background: #333;
|
|
}
|
|
|
|
</style>
|
|
|
|
<!-- MSIN-3860 -->
|
|
|
|
<div id="cookieConsent" class="cookie-consent">
|
|
<div class="cookie-consent-container">
|
|
<p class="mb-2 mb-md-0"><?php echo fxCookieConsentText('experience_cookies', $strLangue); ?></p>
|
|
<div class="cookie-consent-actions">
|
|
<button type="button" id="acceptCookies"><?php echo fxCookieConsentText('bouton_acceper_cookies', $strLangue); ?></button>
|
|
<button type="button" id="rejectCookies"><?php echo fxCookieConsentText('bouton_refuser_cookies', $strLangue); ?></button>
|
|
<button type="button" id="customizeCookies"><?php echo fxCookieConsentText('bouton_personnaliser_cookies', $strLangue); ?></button>
|
|
</div>
|
|
</div>
|
|
<div id="cookiePreferencesPanel" class="cookie-consent-container d-none">
|
|
<p><strong><?php echo fxCookieConsentText('cookie_pref_titre', $strLangue); ?></strong></p>
|
|
<div class="cookie-pref-row">
|
|
<input type="checkbox" id="cookiePrefEssential" checked disabled>
|
|
<label for="cookiePrefEssential"><?php echo fxCookieConsentText('cookie_pref_essentiels', $strLangue); ?></label>
|
|
</div>
|
|
<div class="cookie-pref-row">
|
|
<input type="checkbox" id="cookiePrefAnalytics">
|
|
<label for="cookiePrefAnalytics"><?php echo fxCookieConsentText('cookie_pref_analytique', $strLangue); ?></label>
|
|
</div>
|
|
<div class="cookie-pref-row">
|
|
<input type="checkbox" id="cookiePrefMarketing">
|
|
<label for="cookiePrefMarketing"><?php echo fxCookieConsentText('cookie_pref_marketing', $strLangue); ?></label>
|
|
</div>
|
|
<div class="cookie-consent-actions">
|
|
<button type="button" id="saveCookiePreferences"><?php echo fxCookieConsentText('bouton_enregistrer_cookies', $strLangue); ?></button>
|
|
</div>
|
|
</div>
|
|
<div class="cookie-consent-links">
|
|
<a href="<?php echo $vDomaine; ?>/page/cookie/<?php echo $strLangue; ?>"><?php echo fxCookieConsentText('politique_cookie', $strLangue); ?></a>
|
|
|
|
|
<a href="<?php echo $vDomaine; ?>/page/confidentialite/<?php echo $strLangue; ?>"><?php echo fxCookieConsentText('politique_confidentialite', $strLangue); ?></a>
|
|
</div>
|
|
</div>
|
|
|
|
<?php require_once 'inc_footer_scripts.php'; ?>
|
|
|
|
<script src="<?php echo $vDomaine; ?>/js/cookie-consent.js?version=v<?php echo _VERSION_CODE; ?>"></script>
|
|
|
|
</body>
|
|
</html>
|