X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FOptions.php;h=8282796976e620bf665b06fb1ce225ba558192c9;hb=2c7601f6753e9f5e06ae0324b4d8aeef677e4792;hp=ffced7de5f1a69a17690ad6979597c043a1f9864;hpb=61ac5f959d775677c6eadffed193fde1d815eac4;p=civicrm-core.git diff --git a/CRM/Admin/Form/Options.php b/CRM/Admin/Form/Options.php index ffced7de5f..8282796976 100644 --- a/CRM/Admin/Form/Options.php +++ b/CRM/Admin/Form/Options.php @@ -150,6 +150,8 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { */ public function buildQuickForm() { parent::buildQuickForm(); + $this->setPageTitle(ts('%1 Option', array(1 => $this->_gLabel))); + if ($this->_action & CRM_Core_Action::DELETE) { return; } @@ -197,7 +199,8 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { $financialAccount = CRM_Contribute_PseudoConstant::financialAccount(NULL, key($accountType)); $this->add('select', 'financial_account_id', ts('Financial Account'), - array('' => ts('- select -')) + $financialAccount + array('' => ts('- select -')) + $financialAccount, + TRUE ); } @@ -284,6 +287,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { 'payment_instrument', 'communication_style', 'soft_credit_type', + 'website_type', ); if (in_array($this->_gName, $showIsDefaultGroups)) { @@ -435,4 +439,5 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { CRM_Core_Session::setStatus(ts('The %1 \'%2\' has been saved.', array(1 => $this->_gLabel, 2 => $optionValue->label)), ts('Saved'), 'success'); } } + }