From: Jan Date: Thu, 8 Jul 2010 08:37:29 +0000 (+0100) Subject: Add links to SAPO maps. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=29f075ea42c47a3a29c764074ee9120351e4ddf9;p=horde.git Add links to SAPO maps. --- diff --git a/kronolith/templates/itip/notification.html.php b/kronolith/templates/itip/notification.html.php index 9f0c951c3..b125fd2d7 100644 --- a/kronolith/templates/itip/notification.html.php +++ b/kronolith/templates/itip/notification.html.php @@ -16,7 +16,13 @@ event->location)): ?> - h($this->event->location) ?> + h($this->event->location) ?> + + event->geoLocation['lat'] != null && $this->event->geoLocation['lon'] != null): ?> + event->geoLocation['lon'].",".$this->event->geoLocation['lat']."&z=6&t=m&mks=".$this->event->geoLocation['lon'].",".$this->event->geoLocation['lat'].",1,".urlencode($this->event->getTitle()).$_descr."'>"._("Ver no Mapa").""; ?> + + + event->description)): ?> diff --git a/kronolith/templates/itip/notification.plain.php b/kronolith/templates/itip/notification.plain.php index 402f864c1..0c65294f0 100644 --- a/kronolith/templates/itip/notification.plain.php +++ b/kronolith/templates/itip/notification.plain.php @@ -3,6 +3,11 @@ event->location)): ?> event->location ?> + + event->geoLocation['lat'] != null && $this->event->geoLocation['lon'] != null): ?> + event->geoLocation['lon'].",".$this->event->geoLocation['lat']."&z=6&t=m&mks=".$this->event->geoLocation['lon'].",".$this->event->geoLocation['lat'].",1,".urlencode($this->event->getTitle()).$_descr; ?> + + attendees): ?>