diff options
author | Nick Sweeting <git@sweeting.me> | 2021-03-26 23:43:42 -0400 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-03-29 16:17:16 +0000 |
commit | e7aefc34244c3d0e826c40775ebe1536e8c8d44f (patch) | |
tree | 002841560b55aea61f14f854a6a1ae4c1b404ea3 /apps/dav/lib/CalDAV | |
parent | a956c53e04e41a78b25959a60a00dcda2f0b08b6 (diff) | |
download | nextcloud-server-e7aefc34244c3d0e826c40775ebe1536e8c8d44f.tar.gz nextcloud-server-e7aefc34244c3d0e826c40775ebe1536e8c8d44f.zip |
change calendar invite emails to use pngs instead of svgs
Signed-off-by: Nick Sweeting <git@sweeting.me>
Diffstat (limited to 'apps/dav/lib/CalDAV')
-rw-r--r-- | apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index bfc82c0ee90..4cdac3cb44f 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -531,16 +531,16 @@ class IMipPlugin extends SabreIMipPlugin { private function addBulletList(IEMailTemplate $template, IL10N $l10n, $vevent) { if ($vevent->SUMMARY) { $template->addBodyListItem($vevent->SUMMARY, $l10n->t('Title:'), - $this->getAbsoluteImagePath('caldav/title.svg'),'','',self::IMIP_INDENT); + $this->getAbsoluteImagePath('caldav/title.png'),'','',self::IMIP_INDENT); } $meetingWhen = $this->generateWhenString($l10n, $vevent); if ($meetingWhen) { $template->addBodyListItem($meetingWhen, $l10n->t('Time:'), - $this->getAbsoluteImagePath('caldav/time.svg'),'','',self::IMIP_INDENT); + $this->getAbsoluteImagePath('caldav/time.png'),'','',self::IMIP_INDENT); } if ($vevent->LOCATION) { $template->addBodyListItem($vevent->LOCATION, $l10n->t('Location:'), - $this->getAbsoluteImagePath('caldav/location.svg'),'','',self::IMIP_INDENT); + $this->getAbsoluteImagePath('caldav/location.png'),'','',self::IMIP_INDENT); } if ($vevent->URL) { $url = $vevent->URL->getValue(); @@ -548,7 +548,7 @@ class IMipPlugin extends SabreIMipPlugin { htmlspecialchars($url), htmlspecialchars($url)), $l10n->t('Link:'), - $this->getAbsoluteImagePath('caldav/link.svg'), + $this->getAbsoluteImagePath('caldav/link.png'), $url,'',self::IMIP_INDENT); } @@ -557,7 +557,7 @@ class IMipPlugin extends SabreIMipPlugin { /* Put description last, like an email body, since it can be arbitrarily long */ if ($vevent->DESCRIPTION) { $template->addBodyListItem($vevent->DESCRIPTION->getValue(), $l10n->t('Description:'), - $this->getAbsoluteImagePath('caldav/description.svg'),'','',self::IMIP_INDENT); + $this->getAbsoluteImagePath('caldav/description.png'),'','',self::IMIP_INDENT); } } @@ -603,7 +603,7 @@ class IMipPlugin extends SabreIMipPlugin { } } $template->addBodyListItem($organizerHTML, $l10n->t('Organizer:'), - $this->getAbsoluteImagePath('caldav/organizer.svg'), + $this->getAbsoluteImagePath('caldav/organizer.png'), $organizerText,'',self::IMIP_INDENT); } @@ -632,7 +632,7 @@ class IMipPlugin extends SabreIMipPlugin { } $template->addBodyListItem(implode('<br/>',$attendeesHTML), $l10n->t('Attendees:'), - $this->getAbsoluteImagePath('caldav/attendees.svg'), + $this->getAbsoluteImagePath('caldav/attendees.png'), implode("\n",$attendeesText),'',self::IMIP_INDENT); } |