Loading patches/015-email-mail-template.patch +11 −11 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ + } + if ($selectedEvent->LOCATION) { + if(trim($selectedEvent->LOCATION)==trim($parentevent->LOCATION)){ + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL) === TRUE) { + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL)) { + $template->addBodyListItem($selectedEvent->LOCATION, $l10n->t('Location:'), + $this->getAbsoluteImagePath('caldav/videocall.png'),'','',self::IMIP_INDENT); + }else{ Loading @@ -130,7 +130,7 @@ + $this->getAbsoluteImagePath('caldav/location.png'),'','',self::IMIP_INDENT); + } + }else{ + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL) === TRUE) { + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL)) { + $template->addBodyListItemModified($selectedEvent->LOCATION, $l10n->t('Updated Location:'), + $this->getAbsoluteImagePath('caldav/videocall.png'),'','',self::IMIP_INDENT); + }else{ Loading Loading
patches/015-email-mail-template.patch +11 −11 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ + } + if ($selectedEvent->LOCATION) { + if(trim($selectedEvent->LOCATION)==trim($parentevent->LOCATION)){ + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL) === TRUE) { + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL)) { + $template->addBodyListItem($selectedEvent->LOCATION, $l10n->t('Location:'), + $this->getAbsoluteImagePath('caldav/videocall.png'),'','',self::IMIP_INDENT); + }else{ Loading @@ -130,7 +130,7 @@ + $this->getAbsoluteImagePath('caldav/location.png'),'','',self::IMIP_INDENT); + } + }else{ + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL) === TRUE) { + if (filter_var(trim($selectedEvent->LOCATION), FILTER_VALIDATE_URL)) { + $template->addBodyListItemModified($selectedEvent->LOCATION, $l10n->t('Updated Location:'), + $this->getAbsoluteImagePath('caldav/videocall.png'),'','',self::IMIP_INDENT); + }else{ Loading