static function &tasks() {
if (!(self::$_tasks)) {
self::$_tasks = array(
- 1 => array('title' => ts('Delete Activities'),
+ 1 => array(
+ 'title' => ts('Delete Activities'),
'class' => 'CRM_Activity_Form_Task_Delete',
'result' => FALSE,
),
- 2 => array('title' => ts('Print Selected Rows'),
+ 2 => array(
+ 'title' => ts('Print Selected Rows'),
'class' => 'CRM_Activity_Form_Task_Print',
'result' => FALSE,
),
- 3 => array('title' => ts('Export Activities'),
+ 3 => array(
+ 'title' => ts('Export Activities'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
),
'result' => FALSE,
),
- 4 => array('title' => ts('Batch Update Activities Via Profile'),
+ 4 => array(
+ 'title' => ts('Batch Update Activities Via Profile'),
'class' => array(
'CRM_Activity_Form_Task_PickProfile',
'CRM_Activity_Form_Task_Batch',
),
'result' => FALSE,
),
- 5 => array('title' => ts('Send Email to Contacts'),
+ 5 => array(
+ 'title' => ts('Send Email to Contacts'),
'class' => array(
'CRM_Activity_Form_Task_PickOption',
'CRM_Activity_Form_Task_Email',
),
'result' => FALSE,
),
- 6 => array('title' => ts('Send Reply SMS To Contacts'),
+ 6 => array(
+ 'title' => ts('Send Reply SMS To Contacts'),
'class' => 'CRM_Activity_Form_Task_SMS',
'result' => FALSE,
),
if (in_array('CiviCase', $config->enableComponents)) {
if ( CRM_Core_Permission::check('access all cases and activities') ||
CRM_Core_Permission::check('access my cases and activities') ) {
- self::$_tasks[6] = array('title' => ts('File on Case'),
+ self::$_tasks[6] = array(
+ 'title' => ts('File on Case'),
'class' => 'CRM_Activity_Form_Task_FileOnCase',
'result' => FALSE,
);
*/
static function &tasks() {
if (!(self::$_tasks)) {
- self::$_tasks = array(1 => array('title' => ts('Record Respondents Interview'),
+ self::$_tasks = array(1 => array(
+ 'title' => ts('Record Respondents Interview'),
'class' => array(
'CRM_Campaign_Form_Task_Interview',
'CRM_Campaign_Form_Task_Release',
),
'result' => FALSE,
),
- 2 => array('title' => ts('Reserve Respondents'),
+ 2 => array(
+ 'title' => ts('Reserve Respondents'),
'class' => array(
'CRM_Campaign_Form_Task_Reserve',
'CRM_Campaign_Form_Task_Interview',
),
'result' => FALSE,
),
- 3 => array('title' => ts('Release Respondents'),
+ 3 => array(
+ 'title' => ts('Release Respondents'),
'class' => 'CRM_Campaign_Form_Task_Release',
'result' => FALSE,
),
- 4 => array('title' => ts('Print Respondents'),
+ 4 => array(
+ 'title' => ts('Print Respondents'),
'class' => 'CRM_Campaign_Form_Task_Print',
'result' => FALSE,
),
static function &tasks() {
if (!self::$_tasks) {
self::$_tasks = array(
- 1 => array('title' => ts('Delete Cases'),
+ 1 => array(
+ 'title' => ts('Delete Cases'),
'class' => 'CRM_Case_Form_Task_Delete',
'result' => FALSE,
),
- 2 => array('title' => ts('Print Selected Rows'),
+ 2 => array(
+ 'title' => ts('Print Selected Rows'),
'class' => 'CRM_Case_Form_Task_Print',
'result' => FALSE,
),
- 3 => array('title' => ts('Export Cases'),
+ 3 => array(
+ 'title' => ts('Export Cases'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
),
'result' => FALSE,
),
- 4 => array('title' => ts('Restore Cases'),
+ 4 => array(
+ 'title' => ts('Restore Cases'),
'class' => 'CRM_Case_Form_Task_Restore',
'result' => FALSE,
),
static function &tasks() {
if (!(self::$_tasks)) {
self::$_tasks = array(
- 1 => array('title' => ts('Delete Contributions'),
+ 1 => array(
+ 'title' => ts('Delete Contributions'),
'class' => 'CRM_Contribute_Form_Task_Delete',
'result' => FALSE,
),
- 2 => array('title' => ts('Print Selected Rows'),
+ 2 => array(
+ 'title' => ts('Print Selected Rows'),
'class' => 'CRM_Contribute_Form_Task_Print',
'result' => FALSE,
),
- 3 => array('title' => ts('Export Contributions'),
+ 3 => array(
+ 'title' => ts('Export Contributions'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
),
'result' => FALSE,
),
- 4 => array('title' => ts('Batch Update Contributions Via Profile'),
+ 4 => array(
+ 'title' => ts('Batch Update Contributions Via Profile'),
'class' => array(
'CRM_Contribute_Form_Task_PickProfile',
'CRM_Contribute_Form_Task_Batch',
),
'result' => TRUE,
),
- 5 => array('title' => ts('Send Email to Contacts'),
+ 5 => array(
+ 'title' => ts('Send Email to Contacts'),
'class' => 'CRM_Contribute_Form_Task_Email',
'result' => TRUE,
),
- 6 => array('title' => ts('Update Pending Contribution Status'),
+ 6 => array(
+ 'title' => ts('Update Pending Contribution Status'),
'class' => 'CRM_Contribute_Form_Task_Status',
'result' => TRUE,
),
- 7 => array('title' => ts('Print or Email Contribution Receipts'),
+ 7 => array(
+ 'title' => ts('Print or Email Contribution Receipts'),
'class' => 'CRM_Contribute_Form_Task_PDF',
'result' => FALSE,
),
- 8 => array('title' => ts('Thank-you Letters for Contributions'),
+ 8 => array(
+ 'title' => ts('Thank-you Letters for Contributions'),
'class' => 'CRM_Contribute_Form_Task_PDFLetter',
'result' => FALSE,
),
*/
static function &tasks() {
if (!(self::$_tasks)) {
- self::$_tasks = array(1 => array('title' => ts('Delete Participants'),
+ self::$_tasks = array(1 => array(
+ 'title' => ts('Delete Participants'),
'class' => 'CRM_Event_Form_Task_Delete',
'result' => FALSE,
),
- 2 => array('title' => ts('Print Selected Rows'),
+ 2 => array(
+ 'title' => ts('Print Selected Rows'),
'class' => 'CRM_Event_Form_Task_Print',
'result' => FALSE,
),
- 3 => array('title' => ts('Export Participants'),
+ 3 => array(
+ 'title' => ts('Export Participants'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
),
'result' => FALSE,
),
- 4 => array('title' => ts('Batch Update Participants Via Profile'),
+ 4 => array(
+ 'title' => ts('Batch Update Participants Via Profile'),
'class' => array(
'CRM_Event_Form_Task_PickProfile',
'CRM_Event_Form_Task_Batch',
),
'result' => TRUE,
),
- 5 => array('title' => ts('Cancel Registration'),
+ 5 => array(
+ 'title' => ts('Cancel Registration'),
'class' => 'CRM_Event_Form_Task_Cancel',
'result' => FALSE,
),
- 6 => array('title' => ts('Send Email to Contacts'),
+ 6 => array(
+ 'title' => ts('Send Email to Contacts'),
'class' => 'CRM_Event_Form_Task_Email',
'result' => TRUE,
),
- 13 => array('title' => ts('New Smart Group'),
+ 13 => array(
+ 'title' => ts('New Smart Group'),
'class' => 'CRM_Event_Form_Task_SaveSearch',
'result' => TRUE,
),
- 14 => array('title' => ts('Update Smart Group'),
+ 14 => array(
+ 'title' => ts('Update Smart Group'),
'class' => 'CRM_Event_Form_Task_SaveSearch_Update',
'result' => TRUE,
),
- 15 => array('title' => ts('Change Participant Status'),
+ 15 => array(
+ 'title' => ts('Change Participant Status'),
'class' => 'CRM_Event_Form_Task_ParticipantStatus',
'result' => TRUE,
),
- 16 => array('title' => ts('Print Event Name Badges'),
+ 16 => array(
+ 'title' => ts('Print Event Name Badges'),
'class' => 'CRM_Event_Form_Task_Badge',
'result' => FALSE,
),
*/
static function &tasks() {
if (!(self::$_tasks)) {
- self::$_tasks = array(1 => array('title' => ts('Delete Grants'),
+ self::$_tasks = array(1 => array(
+ 'title' => ts('Delete Grants'),
'class' => 'CRM_Grant_Form_Task_Delete',
'result' => FALSE,
),
- 2 => array('title' => ts('Print Selected Rows'),
+ 2 => array(
+ 'title' => ts('Print Selected Rows'),
'class' => 'CRM_Grant_Form_Task_Print',
'result' => FALSE,
),
- 3 => array('title' => ts('Export Grants'),
+ 3 => array(
+ 'title' => ts('Export Grants'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
),
'result' => FALSE,
),
- 4 => array('title' => ts('Update Grants'),
+ 4 => array(
+ 'title' => ts('Update Grants'),
'class' => 'CRM_Grant_Form_Task_Update',
'result' => FALSE,
),
static function &tasks() {
if (!(self::$_tasks)) {
self::$_tasks = array(
- 1 => array('title' => ts('Print Mailing Recipients'),
+ 1 => array(
+ 'title' => ts('Print Mailing Recipients'),
'class' => 'CRM_Mailing_Form_Task_Print',
'result' => FALSE,
),
static function &tasks() {
if (!(self::$_tasks)) {
self::$_tasks = array(
- 1 => array('title' => ts('Delete Members'),
+ 1 => array(
+ 'title' => ts('Delete Members'),
'class' => 'CRM_Member_Form_Task_Delete',
'result' => FALSE,
),
- 2 => array('title' => ts('Print Selected Rows'),
+ 2 => array(
+ 'title' => ts('Print Selected Rows'),
'class' => 'CRM_Member_Form_Task_Print',
'result' => FALSE,
),
- 3 => array('title' => ts('Export Members'),
+ 3 => array(
+ 'title' => ts('Export Members'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
),
'result' => FALSE,
),
- 4 => array('title' => ts('Send Email to Contacts'),
+ 4 => array(
+ 'title' => ts('Send Email to Contacts'),
'class' => 'CRM_Member_Form_Task_Email',
'result' => TRUE,
),
- 5 => array('title' => ts('Batch Update Members Via Profile'),
+ 5 => array(
+ 'title' => ts('Batch Update Members Via Profile'),
'class' => array(
'CRM_Member_Form_Task_PickProfile',
'CRM_Member_Form_Task_Batch',
),
'result' => TRUE,
),
- 6 => array('title' => ts('Mailing Labels'),
+ 6 => array(
+ 'title' => ts('Mailing Labels'),
'class' => array(
'CRM_Member_Form_Task_Label',
),
'result' => TRUE,
),
- 7 => array('title' => ts('Print PDF Letters for Memberships'),
+ 7 => array(
+ 'title' => ts('Print PDF Letters for Memberships'),
'class' => 'CRM_Member_Form_Task_PDFLetter',
'result' => FALSE,
),
*/
static function &tasks() {
if (!self::$_tasks) {
- self::$_tasks = array(1 => array('title' => ts('Delete Pledges'),
+ self::$_tasks = array(1 => array(
+ 'title' => ts('Delete Pledges'),
'class' => 'CRM_Pledge_Form_Task_Delete',
'result' => FALSE,
),
- 2 => array('title' => ts('Print Selected Rows'),
+ 2 => array(
+ 'title' => ts('Print Selected Rows'),
'class' => 'CRM_Pledge_Form_Task_Print',
'result' => FALSE,
),
- 3 => array('title' => ts('Export Pledges'),
+ 3 => array(
+ 'title' => ts('Export Pledges'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',