projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move event ical icons to iCalLinks.tpl and supply URLs centrally
[civicrm-core.git]
/
CRM
/
Event
/
Form
/
Registration
/
ThankYou.php
diff --git
a/CRM/Event/Form/Registration/ThankYou.php
b/CRM/Event/Form/Registration/ThankYou.php
index d186528e1877f414de3449af464e138cb2f25024..4f9898b540065ff07aff5cfb1a5d8678f0ea0d0d 100644
(file)
--- a/
CRM/Event/Form/Registration/ThankYou.php
+++ b/
CRM/Event/Form/Registration/ThankYou.php
@@
-175,6
+175,8
@@
class CRM_Event_Form_Registration_ThankYou extends CRM_Event_Form_Registration {
$this->assign('friendURL', $url);
}
+ $this->assign('iCal', CRM_Event_BAO_Event::getICalLinks($this->_eventId));
+
$this->freeze();
//lets give meaningful status message, CRM-4320.