From 29f075ea42c47a3a29c764074ee9120351e4ddf9 Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 8 Jul 2010 09:37:29 +0100 Subject: [PATCH] Add links to SAPO maps. --- kronolith/templates/itip/notification.html.php | 8 +++++++- kronolith/templates/itip/notification.plain.php | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) 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): ?> -- 2.11.0