git-svn-id: https://192.168.0.254/svn/Proyectos.ConstruccionesCNJ_Web/trunk@5 a1d75475-e439-6a4c-b115-a3aab481e8ec
67 lines
1.9 KiB
Smarty
67 lines
1.9 KiB
Smarty
{*<h2>{$theme.item.title|markup}</h2>*}
|
|
|
|
{foreach from=$theme.children item=child}
|
|
{if !$child.canContainChildren}
|
|
<div class="banner-cabeceras">
|
|
{if $user.isRegisteredUser}
|
|
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">
|
|
{/if}
|
|
|
|
{if isset($child.thumbnail)}
|
|
{g->image item=$child image=$child.thumbnail}
|
|
{/if}
|
|
|
|
{if $user.isRegisteredUser}
|
|
</a>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
<h3>CNJ Estudio de cocina y baño</h3>
|
|
<p>Avenida de los Reyes Católicos, 8<br/>
|
|
28220 Majadahonda - Madrid</p>
|
|
|
|
<p>Teléfono: 91 638 63 11<br/>
|
|
Fax: 91 638 64 97</p>
|
|
<div id="plano">
|
|
|
|
{literal}
|
|
<script src="http://maps.google.com/maps?file=api&v=2&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.870374, 40.477427), 1);
|
|
map.addOverlay(new GMarker(new GPoint(-3.871100, 40.477015)));
|
|
}
|
|
//]]>
|
|
</script>
|
|
{/literal}
|
|
</div>
|
|
|
|
<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"}
|
|
|