This repository has been archived on 2024-12-02. You can view files and clone it, but cannot push or open issues or pull requests.
AbetoArmarios_Web/Source/www/gallery2/themes/abeto/templates/contacto.tpl

55 lines
1.7 KiB
Smarty

<div class="breadcrumb">
{g->block type="core.BreadCrumb" skipRoot=true separator="/"}
</div>
{*<h2>{$theme.item.title|markup}</h2>*}
<h3>Abeto Armarios</h3>
<p>Plaza de San Juan de la Cruz, 8<br/>
28003 MADRID</p>
<p>Tlf: 91 533 18 00<br/>
Fax: 91 533 18 09</p>
<div id="plano"></div>
{literal}
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAMN4drdDdihDdBoiOaTXX6hRMuYnJ7oTwWupf9eI3_LlDsyLZQhRL7n6UaMI3I0YI0RSMw-MhqiWW6Q" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
window.onload = showMap;
function showMap()
{
var map = new GMap(document.getElementById("plano"));
map.addControl(new GLargeMapControl());
map.centerAndZoom(new GPoint(-3.6950862407684326, 40.44124784392341), 1);
map.addOverlay(new GMarker(new GPoint(-3.6950862407684326, 40.44124784392341)));
map.openInfoWindow(map.getCenter(), document.createTextNode(Hello, world));
}
//]]>
</script>
{/literal}
<div class="clear"></div>
{if $user.isRegisteredUser}
{* Show any other album blocks (comments, etc) *}
{foreach from=$theme.params.albumBlocks item=block}
{g->block type=$block.0 params=$block.1}
{/foreach}
{* System Links *}
<div class="gbSystemLinks">
{g->block type="core.SystemLinks"
order="core.SiteAdmin core.YourAccount core.Login core.Logout"
othersAt=4}
</div>
{/if}
{* Guest preview mode *}
{g->block type="core.GuestPreview" class="gbBlock"}
{* Our emergency edit link, if the user removes all blocks containing edit links *}
{g->block type="core.EmergencyEditItemLink" class="gbBlock" checkBlocks="album"}