Revert "Add links to SAPO maps."
authorJan Schneider <jan@horde.org>
Thu, 4 Nov 2010 13:12:19 +0000 (14:12 +0100)
committerJan Schneider <jan@horde.org>
Thu, 4 Nov 2010 13:12:19 +0000 (14:12 +0100)
This reverts commit 29f075ea42c47a3a29c764074ee9120351e4ddf9.

kronolith/templates/itip/notification.html.php
kronolith/templates/itip/notification.plain.php

index eaf5d77..b0119b1 100644 (file)
     <?php if (strlen($this->event->location)): ?>
     <tr>
       <td style="font-weight:bold;vertical-align:top"><?php echo _("Location:") ?></td>
-      <td><?php echo $this->h($this->event->location) ?>
-      <?php if (strtolower($GLOBALS['conf']['maps']['driver']) == 'sapo'): ?>
-        <?php if ($this->event->geoLocation['lat'] != null && $this->event->geoLocation['lon'] != null): ?>
-            <?php echo "<a href='http://mapas.sapo.pt/?ll=".$this->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")."</a>"; ?>
-        <? endif; ?>
-      <? endif; ?>      
-      </td>
+      <td><?php echo $this->h($this->event->location) ?></td>
     </tr>
     <?php endif; ?>
     <?php if (strlen($this->event->description)): ?>
index 0c65294..402f864 100644 (file)
@@ -3,11 +3,6 @@
 <?php if (strlen($this->event->location)): ?>
 <?php echo _("Location:") ?> <?php echo $this->event->location ?>
 
-    <?php if (strtolower($GLOBALS['conf']['maps']['driver']) == 'sapo'): ?>
-        <?php if ($this->event->geoLocation['lat'] != null && $this->event->geoLocation['lon'] != null): ?>
-            <?php echo _("Ver no Mapa:"); ?> <?= "http://mapas.sapo.pt/?ll=".$this->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; ?>
-        <? endif; ?>
-     <? endif; ?>
 
 <?php endif; ?>
 <?php if ($this->attendees): ?>