diff --git a/htdocs/admin/system/phpinfo.php b/htdocs/admin/system/phpinfo.php
index 5972894065e..f54dfd74521 100644
--- a/htdocs/admin/system/phpinfo.php
+++ b/htdocs/admin/system/phpinfo.php
@@ -105,37 +105,37 @@ $arrayphpminversionerror = array(5, 5, 0);
$arrayphpminversionwarning = array(5, 6, 0);
if (versioncompare(versionphparray(), $arrayphpminversionerror) < 0) {
- print '
'.$langs->trans("ErrorPHPVersionTooLow", versiontostring($arrayphpminversionerror));
+ print img_picto('Error', 'error').' '.$langs->trans("ErrorPHPVersionTooLow", versiontostring($arrayphpminversionerror));
} elseif (versioncompare(versionphparray(), $arrayphpminversionwarning) < 0) {
- print '
'.$langs->trans("ErrorPHPVersionTooLow", versiontostring($arrayphpminversionwarning));
+ print img_picto('Warning', 'warning').' '.$langs->trans("ErrorPHPVersionTooLow", versiontostring($arrayphpminversionwarning));
} else {
- print '
'.versiontostring(versionphparray());
+ print img_picto('Ok', 'tick').' '.versiontostring(versionphparray());
}
print '';
print '
| GET and POST support | ';
if (!isset($_GET["testget"]) && !isset($_POST["testpost"]) && !isset($_GET["mainmenu"])) { // We must keep $_GET and $_POST here. This is a specific test.
- print ' '.$langs->trans("PHPSupportPOSTGETKo");
+ print img_picto('Warning', 'warning').' '.$langs->trans("PHPSupportPOSTGETKo");
print ' ('.$langs->trans("Recheck").')';
} else {
- print ' '.$langs->trans("PHPSupportPOSTGETOk");
+ print img_picto('Ok', 'tick').' '.$langs->trans("PHPSupportPOSTGETOk");
}
print ' |
';
print '| Sessions support | ';
if (!function_exists("session_id")) {
- print ' '.$langs->trans("ErrorPHPDoesNotSupportSessions");
+ print img_picto('Error', 'error').' '.$langs->trans("ErrorPHPDoesNotSupportSessions");
} else {
- print ' '.$langs->trans("PHPSupportSessions");
+ print img_picto('Ok', 'tick').' '.$langs->trans("PHPSupportSessions");
}
print ' |
';
print '| UTF-8 support | ';
if (!function_exists("utf8_encode")) {
- print ' '.$langs->trans("ErrorPHPDoesNotSupport", "UTF8");
+ print img_picto('Warning', 'warning').' '.$langs->trans("ErrorPHPDoesNotSupport", "UTF8");
} else {
- print ' '.$langs->trans("PHPSupport", "UTF8");
+ print img_picto('Ok', 'tick').' '.$langs->trans("PHPSupport", "UTF8");
}
print ' |
';
diff --git a/htdocs/admin/system/security.php b/htdocs/admin/system/security.php
index 279f85becae..ed033626fcd 100644
--- a/htdocs/admin/system/security.php
+++ b/htdocs/admin/system/security.php
@@ -293,6 +293,8 @@ if (file_exists($installlock)) {
} else {
print img_warning().' '.$langs->trans("WarningLockFileDoesNotExists", DOL_DATA_ROOT);
}
+
+print '
';
print '
';
// Is upgrade unlocked
@@ -301,6 +303,7 @@ if (file_exists($installlock)) { // If install not locked, no need to show this.
print ''.$langs->trans("DolibarrUpgrade").': ';
print img_warning().' '.$langs->trans("WarningUpgradeHasBeenUnlocked", $upgradeunlock);
print '
';
+ print '
';
}
}
diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php
index ae9bca3828e..4592adcd7e5 100644
--- a/htdocs/categories/class/categorie.class.php
+++ b/htdocs/categories/class/categorie.class.php
@@ -1260,7 +1260,7 @@ class Categorie extends CommonObject
dol_syslog(get_class($this)."::get_full_arbo dol_sort_array", LOG_DEBUG);
- $this->cats = dol_sort_array($this->cats, 'fulllabel', 'asc', 1, 0, 1);
+ $this->cats = dol_sort_array($this->cats, 'fulllabel', 'asc', 1, 0, 1); // Sort on full label like "Label 1 >> Sublabel a >> Subsublabel"
return $this->cats;
}