$this->assign('context', 'activity');
// also create the form element for the activity filter box
- $controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_ActivityFilter',
- ts('Activity Filter'), NULL
+ $controller = new CRM_Core_Controller_Simple(
+ 'CRM_Activity_Form_ActivityFilter',
+ ts('Activity Filter'),
+ NULL,
+ FALSE, FALSE, TRUE
);
$controller->set('contactId', $this->_contactId);
$controller->setEmbedded(TRUE);
$this->assign('action', $this->_action);
// also create the form element for the activity links box
- $controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_ActivityLinks',
- ts('Activity Links'), NULL
+ $controller = new CRM_Core_Controller_Simple(
+ 'CRM_Activity_Form_ActivityLinks',
+ ts('Activity Links'),
+ NULL,
+ FALSE, FALSE, TRUE
);
$controller->setEmbedded(TRUE);
$controller->run();
}
function delete() {
- $controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_Activity',
+ $controller = new CRM_Core_Controller_Simple(
+ 'CRM_Activity_Form_Activity',
ts('Activity Record'),
$this->_action
);