assign('columnHeaders', $columnHeaders); $template->assign('rows', $rows); $preMessage = !empty($rows) ? ts('The following records have been processed. Membership records with action = Un-linked have been disconnected from the listed contribution record:') : ts('Could not find any records to process.'); $template->assign('preMessage', $preMessage); $postMessage = ts('You can click here to try running the 4.2 upgrade script again. (Review upgrade documentation)', array( 1 => CRM_Utils_System::url('civicrm/upgrade', 'reset=1'), 2 => 'http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades', )); $template->assign('postMessage', $postMessage); $content = $template->fetch('CRM/common/upgradeCleanup.tpl'); echo CRM_Utils_System::theme($content, FALSE, TRUE); } }