+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2017
*/
class CRM_Contribute_Page_PaymentInfo extends CRM_Core_Page {
public function preProcess() {
$this->assign('id', $this->_id);
$this->assign('context', $this->_context);
$this->assign('component', $this->_component);
+ if ($this->_component != 'event') {
+ $this->assign('hideButtonLinks', TRUE);
+ }
}
public function browse() {
}
/**
- * This function takes care of all the things common to all
- * pages. This typically involves assigning the appropriate
+ * Run page.
+ *
+ * This typically involves assigning the appropriate
* smarty variable :)
*
* @return string
* The content generated by running this page
*/
- /**
- * @return string
- */
public function run() {
$this->preProcess();
if ($this->_action) {