diff --git a/include/template/detail-action.php b/include/template/detail-action.php index 52df9cfeb..0ecc3bd3f 100644 --- a/include/template/detail-action.php +++ b/include/template/detail-action.php @@ -246,15 +246,15 @@ for( $c=0;$c 0) { - $rmComment=sprintf("return confirm_box(null,'"._('Voulez-vous effacer ce commentaire')." ?',function() {remove_comment('%s','%s');});", - dossier::id(), - $acomment[$c]['agc_id']); - $js= ''.SMALLX.''; - $comment= h($m_desc.' '.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']." ".$acomment[$c]['str_agc_date'].')').$js. - '
 '.
-				" ".h($acomment[$c]['agc_comment']).'
' - ; - + $rmComment=sprintf("return confirm_box(null,'"._('Voulez-vous effacer ce commentaire')." ?',function() {remove_comment('%s','%s');});", + dossier::id(), + $acomment[$c]['agc_id']); + $js=Icon_Action::trash("accom".$acomment[$c]['agc_id'], $rmComment); + $comment= h($m_desc.' '.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']." ".$acomment[$c]['str_agc_date'].')').$js. + '
 '.
+                            " ".h($acomment[$c]['agc_comment']).'
' + ; + } else {