diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index 57ed97c9b20..8bea1c6dcb7 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -865,6 +865,7 @@ if ($mode == 'deploy')
print '
';
}
+ print '
';
if ($allowfromweb >= 0)
{
@@ -885,12 +886,20 @@ if ($mode == 'deploy')
if ($allowfromweb == 1)
{
print $langs->trans("UnpackPackageInModulesRoot",$dirins).'
';
- print '
';
print '';
@@ -92,24 +143,30 @@ print ' | ';
print '
';
foreach($blocks as &$block) {
+
+ $checksignature = $block->checkSignature();
+ $object_link = $block->getObjectLink();
- print '';
- print '| '.dol_print_date($block->tms,'dayhour').' | ';
- print ''.$block->ref_object.' | ';
- print ''.$langs->trans('log'.$block->action).' | ';
- print ''.$block->getObject().''.img_info($langs->trans('ShowDetails')).' | ';
- print ''.price($block->amounts).' | ';
- print ''.$block->getUser().' | ';
- print ''.$block->signature.' | ';
- print '';
-
- print $block->checkSignature() ? img_picto($langs->trans('OkCheckFingerprintValidity'), 'on') : img_picto($langs->trans('KoCheckFingerprintValidity'), 'off');
- if(!empty($conf->global->BLOCKEDLOG_USE_REMOTE_AUTHORITY) && !empty($conf->global->BLOCKEDLOG_AUTHORITY_URL)) {
- print ' '.($block->certified ? img_picto($langs->trans('AddedByAuthority'), 'info') : img_picto($langs->trans('NotAddedByAuthorityYet'), 'info_black') );
- }
- print ' | ';
- print '
';
-
+ if(!$showonlyerrors || $block->error>0) {
+
+ print '';
+ print '| '.dol_print_date($block->tms,'dayhour').' | ';
+ print ''.$block->ref_object.' | ';
+ print ''.$langs->trans('log'.$block->action).' | ';
+ print ''.$object_link.''.img_info($langs->trans('ShowDetails')).' | ';
+ print ''.price($block->amounts).' | ';
+ print ''.$block->getUser().' | ';
+ print ''.$block->signature.' | ';
+ print '';
+
+ print $block->error == 0 ? img_picto($langs->trans('OkCheckFingerprintValidity'), 'on') : img_picto($langs->trans('KoCheckFingerprintValidity'), 'off');
+ if(!empty($conf->global->BLOCKEDLOG_USE_REMOTE_AUTHORITY) && !empty($conf->global->BLOCKEDLOG_AUTHORITY_URL)) {
+ print ' '.($block->certified ? img_picto($langs->trans('AddedByAuthority'), 'info') : img_picto($langs->trans('NotAddedByAuthorityYet'), 'info_black') );
+ }
+ print ' | ';
+ print '
';
+
+ }
}
print '
';
@@ -121,7 +178,7 @@ $('a[rel=show-info]').click(function() {
$pop = $('