src/Webtrees/Module/CertificatesModule.php
protected function getDisplay_ACT(Certificate $certificate, $sid = null){    
        $html = '';
        if($certificate){
            $certificate->setSource($sid);
            $html = $certificate->displayImage('icon');
        }
        return $html;
    }
protected function getDisplay_ACT(Certificate $certificate, $sid = null){    
        $html = '';
        if($certificate){
            $certificate->setSource($sid);
            $html = $certificate->displayImage('icon');
        }
        return $html;
    }
protected function getDisplay_ACT ( Certificate $ certificate , $ sid = null ) { $ html = '' ; if ( $ certificate ) { $ certificate -> setSource ( $ sid ) ; $ html = $ certificate -> displayImage ( 'icon' ) ; } return $ html ; }
Return the HTML code for custom simple tag _ACT

@param Certificate $certificatePath Certificate (as per the GEDCOM)
@param string|null $sid Linked Source ID, if it exists
Return the HTML code for custom simple tag _ACT