From 52d0e359a6c4f9152e5382eca17196017c2ee6f2 Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 7 Feb 2023 15:47:59 +0100 Subject: [PATCH] SonarQube code smells resolve Num41 --- Source/Config/config.php | 4 ++++ Source/Model/ModelAdmin.php | 1 - Source/Views/HTML/admin.php | 9 ++++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Source/Config/config.php b/Source/Config/config.php index 161d220..bf2ad3a 100644 --- a/Source/Config/config.php +++ b/Source/Config/config.php @@ -6,3 +6,7 @@ $rep = __DIR__ . '/../'; // Vues $views['form'] = 'Views/HTML/form.php'; $views['admin'] = 'Views/HTML/admin.php'; + +$googleApis = "https://fonts.googleapis.com"; +$googleStatic = "https://fonts.gstatic.com"; +$poppins = "https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap"; diff --git a/Source/Model/ModelAdmin.php b/Source/Model/ModelAdmin.php index 3162056..aa0921b 100644 --- a/Source/Model/ModelAdmin.php +++ b/Source/Model/ModelAdmin.php @@ -6,7 +6,6 @@ use API\script\Gateway\GatewayForm; use API\script\Gateway\GatewayKeyword; use API\script\Gateway\GatewayQuestion; use BusinessClass\Form; -use BusinessClass\ListBoxQuestion; class ModelAdmin { diff --git a/Source/Views/HTML/admin.php b/Source/Views/HTML/admin.php index 7cf6c90..08ee521 100644 --- a/Source/Views/HTML/admin.php +++ b/Source/Views/HTML/admin.php @@ -1,11 +1,14 @@ + - - - + + + Formulaire de témoignage