X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCampaign%2FForm%2FSurvey.php;h=a3357b49a34607ef36c0e47934dfee7cf040b8d0;hb=f212d37d5ee36a991eb5529211b692dee29378c0;hp=238a989a54e9486ce34f0917303ba9cd6ecd23af;hpb=d44a51e500618f1d9abfad4cc6de65cf20226c10;p=civicrm-core.git diff --git a/CRM/Campaign/Form/Survey.php b/CRM/Campaign/Form/Survey.php index 238a989a54..a3357b49a3 100644 --- a/CRM/Campaign/Form/Survey.php +++ b/CRM/Campaign/Form/Survey.php @@ -122,7 +122,7 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form { $buttons = array( array( 'type' => 'upload', - 'name' => ts('Continue >>'), + 'name' => ts('Continue'), 'spacing' => '                 ', 'isDefault' => TRUE, ), @@ -158,7 +158,7 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form { if ($this->controller->getButtonName('submit') == "_qf_{$className}_upload_done") { CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/campaign', 'reset=1&subPage=survey')); } - else if ($this->controller->getButtonName('submit') == "_qf_{$className}_upload_next") { + elseif ($this->controller->getButtonName('submit') == "_qf_{$className}_upload_next") { $subPage = CRM_Campaign_Form_Survey_TabHeader::getNextTab($this); CRM_Utils_System::redirect(CRM_Utils_System::url("civicrm/survey/configure/{$subPage}", "action=update&reset=1&id={$this->_surveyId}")); @@ -174,7 +174,7 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form { * @return string */ public function getTemplateFileName() { - if ($this->controller->getPrint() || $this->getVar('_surveyId') <= 0 ) { + if ($this->controller->getPrint() || $this->getVar('_surveyId') <= 0) { return parent::getTemplateFileName(); } else {