addStyleFile('civicrm', 'css/admin.css'); CRM_Utils_System::setTitle(ts("Configuration Checklist")); $this->assign('recentlyViewed', FALSE); $destination = CRM_Utils_System::url('civicrm/admin/configtask', 'reset=1', FALSE, NULL, FALSE ); $destination = urlencode($destination); $this->assign('destination', $destination); $this->assign('registerSite', htmlspecialchars('https://civicrm.org/register-your-site?src=iam&sid=' . CRM_Utils_System::getSiteID())); //Provide ability to optionally display some component checklist items when components are on $result = civicrm_api3('Setting', 'get', [ 'sequential' => 1, 'return' => ["enable_components"], ]); $enabled = array(); foreach ($result['values'][0]['enable_components'] as $component) { $enabled[$component] = 1; } $this->assign('enabledComponents', $enabled); return parent::run(); } }