From be9b34acdede8cd9edc498eb18ef9948514b1ec5 Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 4 Nov 2010 13:46:14 +0000 Subject: [PATCH] Revert "Revert "Add links to SAPO maps."" This reverts commit 7a5ca5fa76ab04f88905ca40d1e33d2b6c51398d. --- 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 b0119b13b..eaf5d7788 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