function setDefaultValues() {
$defaults = parent::setDefaultValues();
$title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Contribution Amounts (%1)', array(1 => $title)));
+ CRM_Utils_System::setTitle(ts('Contribution Amounts') . " ($title)");
if (empty($defaults['pay_later_text'])) {
$defaults['pay_later_text'] = ts('I will send payment by check');
if ($this->_id) {
$title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Include Profiles (%1)', array(1 => $title)));
+ CRM_Utils_System::setTitle(ts('Include Profiles') . " ($title)");
}
$defaults = array();
if (isset($this->_id)) {
$title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Premiums (%1)', array(1 => $title)));
+ CRM_Utils_System::setTitle(ts('Premiums') . " ($title)");
$dao = new CRM_Contribute_DAO_Premium();
$dao->entity_table = 'civicrm_contribution_page';
$dao->entity_id = $this->_id;
$this->_id,
'title'
);
- CRM_Utils_System::setTitle(ts('Title and Settings (%1)',
- array(1 => $title)
- ));
+ CRM_Utils_System::setTitle(ts('Title and Settings') . " ($title)");
$ufJoinParams = array(
'module' => 'OnBehalf',
*/
function setDefaultValues() {
$title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Thank-you and Receipting (%1)', array(1 => $title)));
+ CRM_Utils_System::setTitle(ts('Thank-you and Receipting') . " ($title)");
return parent::setDefaultValues();
}
* @return void
*/
public function setDefaultValues() {
- // $title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title' );
- // CRM_Utils_System::setTitle(ts('Personal Campaign Page Settings (%1)', array(1 => $title)));
-
$defaults = array();
if (isset($this->_id)) {