diff --git a/htdocs/blockedlog/admin/blockedlog.php b/htdocs/blockedlog/admin/blockedlog.php index 3c143b70b83..f77c6e9edd8 100644 --- a/htdocs/blockedlog/admin/blockedlog.php +++ b/htdocs/blockedlog/admin/blockedlog.php @@ -101,20 +101,20 @@ print $block_static->getSignature(); print ''; - -// Example with a yes / no select -$var=!$var; -print '
| '.dol_print_date($block->tms,'dayhour').' | '; print ''.$block->ref_object.' | '; print ''.$langs->trans('log'.$block->action).' | '; - print ''.$block->getObject().' | '; + print ''.$block->getObject().''.img_info($langs->trans('ShowDetails')).' | '; print ''.price($block->amounts).' | '; print ''.$block->getUser().' | '; print ''.$block->signature.' | '; print ''; - print $block->checkSignature() ? img_picto('OkCheckPaymentValidity', 'on') : img_picto($langs->trans('KoCheckPaymentValidity'), 'off'); - print ' '.($block->certified ? img_picto($langs->trans('AddedByAuthority'), 'info') : img_picto($langs->trans('NotAddedByAuthorityYet'), 'info_black') ); - + 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 ''; @@ -113,6 +114,54 @@ foreach($blocks as &$block) { print '