X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCampaign%2FForm%2FSurveyType.php;h=cfa5a9630a63729744a7fdc1e1140653a152f175;hb=309462c14f316ede57c8a7cfd107dd7f6bcc44ba;hp=20f4bcab4caad58f32c69360bff5b587f83ec7b8;hpb=04d2e082924ee167fa35b78dfaacfaef07c8cd8a;p=civicrm-core.git diff --git a/CRM/Campaign/Form/SurveyType.php b/CRM/Campaign/Form/SurveyType.php index 20f4bcab4c..cfa5a9630a 100644 --- a/CRM/Campaign/Form/SurveyType.php +++ b/CRM/Campaign/Form/SurveyType.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id$ * */ @@ -62,7 +62,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { protected $_action; /** - * Set variables up before form is built + * Set variables up before form is built. * * @return void */ @@ -111,7 +111,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { } /** - * Build the form object + * Build the form object. * * @return void */ @@ -124,7 +124,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { $this->applyFilter('__ALL__', 'trim'); $this->add('text', 'label', ts('Title'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_OptionValue', 'label'), TRUE); - $this->addWysiwyg('description', + $this->add('wysiwyg', 'description', ts('Description'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_OptionValue', 'description') ); @@ -142,7 +142,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { } /** - * Process the form submission + * Process the form submission. * * * @return void