From 88df865e30994c0259a22dc2ab8923d6ba387f87 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 12 Dec 2022 10:25:03 +0100 Subject: [PATCH] Debu v17 --- htdocs/admin/events.php | 10 +++++----- htdocs/admin/security.php | 8 ++++---- htdocs/admin/security_file.php | 18 ++++++++++-------- htdocs/core/class/conf.class.php | 2 +- htdocs/core/lib/admin.lib.php | 16 +++++++++++++--- htdocs/langs/en_US/admin.lang | 1 + 6 files changed, 34 insertions(+), 21 deletions(-) diff --git a/htdocs/admin/events.php b/htdocs/admin/events.php index 4085207642b..4b4bdf18974 100644 --- a/htdocs/admin/events.php +++ b/htdocs/admin/events.php @@ -110,11 +110,11 @@ print dol_get_fiche_head($head, 'audit', '', -1); print '
'; -print ''; -print ""; +print '
'; +print ''; print getTitleFieldOfList("TrackableSecurityEvents", 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, '')."\n"; print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; -print "\n"; +print ''."\n"; // Loop on each event type foreach ($eventstolog as $key => $arr) { if ($arr['id']) { @@ -129,12 +129,12 @@ foreach ($eventstolog as $key => $arr) { } print '
'; -print dol_get_fiche_end(); - print '
'; print ''; print '
'; +print dol_get_fiche_end(); + print "\n"; // End of page diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php index 063f1668d15..33344363cf7 100644 --- a/htdocs/admin/security.php +++ b/htdocs/admin/security.php @@ -271,8 +271,8 @@ print ''; print ''; -//if($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK == 1) -// Patter for Password Perso + +// Pattern for Password Perso if ($conf->global->USER_PASSWORD_GENERATED == "Perso") { print '
'; @@ -320,10 +320,10 @@ if ($conf->global->USER_PASSWORD_GENERATED == "Perso") { print ''; - print '
'; print '
'; print ''.$langs->trans("Save").''; print '
'; + print '

'; print '