is_admin==1){ include_once 'include/ECM/EcmDeleteDocument/EcmDeleteDocument.php'; $test= new EcmDeleteDocument($params['module'],$params['id']); $html.=' '; if($test->removeIsPossible()!=false){ $html.=' '; } $test2= new EcmDeleteDocument($params['module'],$params['id']); if($test2->cancelIsPossible()!=false){ $html.=''; } // } return $html; }