add sticky thead to index, langues, and mots-clés tables

This commit is contained in:
Pontoporeia
2026-05-19 21:00:40 +02:00
parent bcf3140aa2
commit c6199525f9
10 changed files with 155 additions and 21 deletions

View File

@@ -54,6 +54,16 @@ try {
$db->deleteLanguage($id);
break;
case 'delete_bulk':
$sourceIds = isset($_POST['selected_langs']) && is_array($_POST['selected_langs'])
? array_map('intval', $_POST['selected_langs'])
: [];
if (empty($sourceIds)) throw new Exception("Aucune langue sélectionnée.");
foreach ($sourceIds as $sid) {
$db->deleteLanguage($sid);
}
break;
default:
throw new Exception("Action inconnue.");
}