2009-12-18 20:57:41 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @copyright 2009 City of Bloomington, Indiana
|
2011-06-14 13:29:37 +00:00
|
|
|
* @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE.txt
|
2009-12-18 20:57:41 +00:00
|
|
|
* @param Interment $this->interment
|
|
|
|
*/
|
2010-01-04 20:54:01 +00:00
|
|
|
$mapURL = BASE_URL.'/interments/maps.php?interment_id='.$this->interment->getId();
|
2009-12-18 20:57:41 +00:00
|
|
|
$cemetery = $this->interment->getCemetery();
|
|
|
|
$name = View::escape($cemetery->getName());
|
|
|
|
?>
|
|
|
|
<div id="burialLinks">
|
|
|
|
<table>
|
|
|
|
<tr><td><a href="<?php echo $mapURL; ?>">
|
|
|
|
<img src="<?php echo $cemetery->getMap('thumb'); ?>"
|
|
|
|
alt="<?php echo $name; ?>" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td><a href="<?php echo $mapURL; ?>">
|
|
|
|
View Maps of Cemetery and Section
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td><a href="<?php echo $cemetery->getGoogleMapURL(); ?>">
|
|
|
|
<img src="<?php echo BASE_URL; ?>/images/car.png"
|
|
|
|
alt="Direction map to <?php echo $name ?>" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td><a href="<?php echo $cemetery->getGoogleMapURL(); ?>">
|
|
|
|
Get driving directions to <?php echo $name ?>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|