X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FTask%2FAddToOrganization.php;h=68c26ae719ec3fd3002676276c93bd4f35d9a660;hb=7a86e9ede3a83491f1e831da64537304e37ee837;hp=d9451591e8032b13640c6e9a89e7da67b1534c0a;hpb=6628866da4eb17b8ff190928d8afdbee11526ae6;p=civicrm-core.git diff --git a/CRM/Contact/Form/Task/AddToOrganization.php b/CRM/Contact/Form/Task/AddToOrganization.php index d9451591e8..68c26ae719 100644 --- a/CRM/Contact/Form/Task/AddToOrganization.php +++ b/CRM/Contact/Form/Task/AddToOrganization.php @@ -39,7 +39,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { /** - * Build the form + * Build the form object * * @access public * @@ -51,7 +51,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { } /** - * Function to build the form + * Build the form object * * @access public * @@ -93,8 +93,8 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { $this->assign('searchCount', $searchCount); $this->assign('searchDone', $this->get('searchDone')); $this->assign('contact_type_display', ts('Organization')); - $this->addElement('submit', $this->getButtonName('refresh'), ts('Search'), array('class' => 'form-submit')); - $this->addElement('submit', $this->getButtonName('cancel'), ts('Cancel'), array('class' => 'form-submit')); + $this->addElement('submit', $this->getButtonName('refresh'), ts('Search'), array('class' => 'crm-form-submit')); + $this->addElement('submit', $this->getButtonName('cancel'), ts('Cancel'), array('class' => 'crm-form-submit')); $this->addButtons(array( @@ -112,7 +112,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { } /** - * process the form after the input has been submitted and validated + * Process the form after the input has been submitted and validated * * @access public * @@ -170,7 +170,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task { $status[] = ts('%count relationship was not created because the contact is not of the right type for this relationship', array('count' => $invalid, 'plural' => '%count relationships were not created because the contact is not of the right type for this relationship')); } $status = ''; - CRM_Core_Session::setStatus($status, ts('Relationship Created', array('count' => $valid, 'plural' => 'Relationships Created')), 'success', array('expires' => 0)); + CRM_Core_Session::setStatus($status, ts('Relationship created.', array('count' => $valid, 'plural' => 'Relationships created.')), 'success', array('expires' => 0)); } }