fix: vrai drapeau catalan 🏴 dans le sélecteur de langue
Deploy to Pacha Family / deploy (push) Failing after 3s
Deploy to Pacha Family / deploy (push) Failing after 3s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
6acda4ab25
commit
472d6ac7fd
+1
-1
@@ -114,7 +114,7 @@ require __DIR__ . '/header.php';
|
|||||||
<form method="post" style="display:flex;gap:10px;flex-wrap:wrap">
|
<form method="post" style="display:flex;gap:10px;flex-wrap:wrap">
|
||||||
<input type="hidden" name="action" value="set_lang">
|
<input type="hidden" name="action" value="set_lang">
|
||||||
<?php
|
<?php
|
||||||
$langs = ['fr' => '🇫🇷 Français', 'en' => '🇬🇧 English', 'ca' => '🏴 Català'];
|
$langs = ['fr' => '🇫🇷 Français', 'en' => '🇬🇧 English', 'ca' => '🏴 Català'];
|
||||||
$currentLang = $_SESSION['app_lang'] ?? 'fr';
|
$currentLang = $_SESSION['app_lang'] ?? 'fr';
|
||||||
foreach ($langs as $code => $label):
|
foreach ($langs as $code => $label):
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user