diff --git a/htdocs/blockedlog/admin/filecheck.php b/htdocs/blockedlog/admin/filecheck.php index cbea069bbf7..894e65e58db 100644 --- a/htdocs/blockedlog/admin/filecheck.php +++ b/htdocs/blockedlog/admin/filecheck.php @@ -39,6 +39,7 @@ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/blockedlog/lib/blockedlog.lib.php'; $langs->load("admin"); @@ -95,6 +96,28 @@ print ' '.$form->textwithpicto('', $htmltooltip); print ''."\n"; print ''; print ''; + +// Version +$versionbadge = ''.DOL_VERSION.''; + +$infotoshow = ''; +if ($mysoc->country_code == 'FR') { + $islne = isALNEQualifiedVersion(1, 1); + if ($islne) { + if (preg_match('/\-/', DOL_VERSION)) { + // This is an alpha or beta version + $infotoshow = $langs->trans("LNECandidateVersionForCertificationFR", $versionbadge); + } else { + $infotoshow = $langs->trans("LNECertifiedVersionFR", $versionbadge); + } + } else { + $infotoshow = $langs->trans("NotCertifiedVersionFR", $versionbadge); + } +} +if ($infotoshow) { + print info_admin($infotoshow, 0, 0, 'info'); +} + print '

';