mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
add sticky thead to index, langues, and mots-clés tables
This commit is contained in:
1 parent
bcf3140aa2
commit
c6199525f9
10 files changed
+155
-21
No files matched your search
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user