From 6d31b0fe91b51d3e855c9d3b2a4051b6abdae952 Mon Sep 17 00:00:00 2001 From: Matthieu Marcillaud <marcimat@rezo.net> Date: Wed, 24 May 2023 17:41:12 +0200 Subject: [PATCH] remove: JS jqueryui.tabs inutile depuis la refonte en bootstrap il y a 3 ans --- plugins/tradlang_skel/paquet.xml | 1 - .../tradlang_skel/tradlang_skel_pipelines.php | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/plugins/tradlang_skel/paquet.xml b/plugins/tradlang_skel/paquet.xml index 01c265f..added39 100644 --- a/plugins/tradlang_skel/paquet.xml +++ b/plugins/tradlang_skel/paquet.xml @@ -14,7 +14,6 @@ <pipeline nom="insert_head" inclure="tradlang_skel_pipelines.php" /> <pipeline nom="insert_head_css" inclure="tradlang_skel_pipelines.php" /> - <pipeline nom="jqueryui_plugins" inclure="tradlang_skel_pipelines.php" /> <necessite nom="tradlang" compatibilite="[3.0.0;[" /> <necessite nom="revisions" compatibilite="[1.4.1;[" /> diff --git a/plugins/tradlang_skel/tradlang_skel_pipelines.php b/plugins/tradlang_skel/tradlang_skel_pipelines.php index 8f57ddd..a741cbc 100644 --- a/plugins/tradlang_skel/tradlang_skel_pipelines.php +++ b/plugins/tradlang_skel/tradlang_skel_pipelines.php @@ -25,22 +25,6 @@ function tradlang_skel_insert_head($flux) { return $flux; } -/** - * Insertion dans le pipeline jqueryui_forcer (plugin jQueryUI) - * - * On ajoute le chargement des js pour les tabs - * - * @param array $plugins - * Un tableau des scripts déjà demandé au chargement - * @return array $plugins - * Le tableau complété avec les scripts que l'on souhaite - */ -function tradlang_skel_jqueryui_plugins($plugins) { - if (!test_espace_prive()) { - $plugins[] = 'jquery.ui.tabs'; - } - return $plugins; -} /** * Insertion dans le pipeline insert_head_css (SPIP) * -- GitLab