From f889f52fa0241533918133ef5890aa41fc2d7e1b Mon Sep 17 00:00:00 2001 From: DarkNoon <13015521+darknoon29@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:47:43 +0200 Subject: [PATCH] Sonar Fixes --- includes/chart_js.php | 2 +- includes/config.php | 1 + includes/galaxy.php | 8 +- install/index.php | 6 +- install/install.php | 12 ++- install/upgrade_to_latest.php | 2 +- lang/bs/lang_message.php | 7 +- lang/lang_main.php | 5 +- views/about_ogsteam.php | 1 + views/admin.php | 6 +- views/admin_affichage.php | 116 ++++++++++---------- views/admin_helper.php | 2 +- views/admin_members.php | 114 ++++++++++---------- views/admin_members_group.php | 119 +++++++++++---------- views/admin_mod.php | 88 +++++++-------- views/admin_parameters.php | 194 +++++++++++++++++----------------- views/admin_viewer.php | 80 +++++++------- views/cartography.php | 4 +- views/galaxy.php | 83 +++++++-------- views/galaxy_obsolete.php | 134 +++++++++++------------ views/galaxy_sector.php | 2 +- views/home.php | 20 ++-- views/home_empire.php | 9 +- views/home_simulation.php | 2 +- views/home_spy.php | 48 ++++----- views/home_stat.php | 166 ++++++++++++++--------------- views/login.php | 8 +- 27 files changed, 619 insertions(+), 620 deletions(-) diff --git a/includes/chart_js.php b/includes/chart_js.php index 0feb631e..bfb83284 100644 --- a/includes/chart_js.php +++ b/includes/chart_js.php @@ -250,7 +250,7 @@ function create_curves($_player, $_date_min, $_date_max, $_comp) { $retour = ""; - // todo quel est ce $contenur ? + // TODO quel est ce $contenur ? if (!isset($_player)) { $retour .= affiche_error($conteneur, 'erreur 3'); return $retour; diff --git a/includes/config.php b/includes/config.php index 8f7bb8f6..16c588c6 100644 --- a/includes/config.php +++ b/includes/config.php @@ -1,4 +1,5 @@