// we do not want to display recently viewed items, so turn off
$this->assign('displayRecent', FALSE);
- // Contribution page values are cleared from session, so can't use normal Printer Friendly view.
- // Use Browser Print instead.
- $this->assign('browserPrint', TRUE);
// action
$this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'add');
CRM_Utils_Array::value('cancelSubscriptionUrl', $this->_values)
);
- $this->setTitle(($this->_pcpId ? $this->_pcpInfo['title'] : $this->_values['title']));
+ $title = !empty($this->_values['frontend_title']) ? $this->_values['frontend_title'] : $this->_values['title'];
+
+ $this->setTitle(($this->_pcpId ? $this->_pcpInfo['title'] : $title));
$this->_defaults = [];
$this->_amount = $this->get('amount');
// we do not want to display recently viewed items on Registration pages
$this->assign('displayRecent', FALSE);
- // Registration page values are cleared from session, so can't use normal Printer Friendly view.
- // Use Browser Print instead.
- $this->assign('browserPrint', TRUE);
$isShowLocation = CRM_Utils_Array::value('is_show_location', $this->_values['event']);
$this->assign('isShowLocation', $isShowLocation);
* Handle process after the confirmation of payment by User.
*
* @param int $contactID
- * @param null $contribution
- * @param null $payment
+ * @param \CRM_Contribute_BAO_Contribution $contribution
*/
- public function confirmPostProcess($contactID = NULL, $contribution = NULL, $payment = NULL) {
+ public function confirmPostProcess($contactID = NULL, $contribution = NULL) {
// add/update contact information
- $fields = array();
unset($this->_params['note']);
//to avoid conflict overwrite $this->_params
}
$this->set('value', $value);
- $this->confirmPostProcess($contactID, NULL, NULL);
+ $this->confirmPostProcess($contactID, NULL);
//lets get additional participant id to cancel.
if ($this->_allowConfirmation && is_array($cancelledIds)) {
/* Set/alter ICONS */
- #crm-container div#printer-friendly {
- float: right;
- position: relative;
- margin: -2em 0.5em 0 0;
- }
- /* For Joomla, margin 0 works correctly */
- #crm-container table#crm-content div#printer-friendly {
- margin: 0;
- }
-
#crm-container .order-icon {
height: 15px;
width: 10px;
}
.crm-container.crm-public .select2-container .select2-choice {
padding: 5px 5px 5px 8px;
+ height: 35px;
}
.crm-container.crm-public .select2-container-multi .select2-choices {
padding: 4px;