ConstruccionesCNJ_Web/Source/gallery2/themes/CNJ/templates/theme.tpl

125 lines
4.6 KiB
Smarty

{*
* $Revision: 15342 $
* If you want to customize this file, do not edit it directly since future upgrades
* may overwrite it. Instead, copy it into a new directory called "local" and edit that
* version. Gallery will look for that file first and use it if it exists.
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="{g->language}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
{* Let Gallery print out anything it wants to put into the <head> element *}
{g->head}
{* If Gallery doesn't provide a header, we use the album/photo title (or filename) *}
{if (empty($theme.parents) && $theme.pageType == 'album')}
<title>CNJ Estudio de Cocina y Ba&ntilde;o</title>
{elseif empty($head.title)}
<title>CNJ Estudio de Cocina y Ba&ntilde;o - {$theme.item.title|markup:strip|default:$theme.item.pathComponent}</title>
{/if}
<meta name="keywords" content="armarios, cocinas, puertas, tarimas, carpinteria, vestidores, auximobel, tarima, campanas, encimeras, lavavajillas, electrodom貴icos, hogar, reforma" />
<meta name="description" content="Especialistas en armarios, cocinas, mobiliario, muebles de ba&ntilde;o y tarima" />
<meta name="robots" content="index, follow" />
{* Include this theme's style sheet *}
<link rel="stylesheet" type="text/css" href="{g->theme url="theme.css"}"/>
<link rel="stylesheet" type="text/css" href="{g->theme url="lightbox.css"}"/>
<link rel="stylesheet" type="text/css" href="{g->theme url="jd.gallery.css"}"/>
{literal}
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-297093-8";
urchinTracker();
</script>
{/literal}
</head>
<body class="gallery">
<div {g->mainDivAttributes}>
{*
* Some module views (eg slideshow) want the full screen. So for those, we don't draw
* a header, footer, navbar, etc. Those views are responsible for drawing everything.
*}
{if $theme.useFullScreen}
{include file="gallery:`$theme.moduleTemplate`" l10Domain=$theme.moduleL10Domain}
{elseif $theme.pageType == 'progressbar'}
{g->theme include="header.tpl"}
<div class="content">
{g->theme include="progressbar.tpl"}
</div>
{else}
{g->theme include="header.tpl"}
<div class="content">
{*if !((empty($theme.parents) && $theme.pageType == 'album'))*}
{* <div class="breadcrumb">*}
{*g->block type="core.BreadCrumb" skipRoot=true separator="/"*}
{*</div> *}
{*/if*}
{* Include the appropriate content type for the page we want to draw. *}
{if (empty($theme.parents) && $theme.pageType == 'album')}
{g->theme include="frontpage.tpl"}
{elseif ($theme.pageType == 'album') && ($theme.item.id == 97)}
{g->theme include="contacto.tpl"}
{elseif ($theme.pageType == 'album') && ($theme.item.id == 144)}
{g->theme include="album_catalogo.tpl"}
{elseif ($theme.pageType == 'album') && ($theme.item.id == 345)}
{g->theme include="album_cocinas.tpl"}
{elseif ($theme.pageType == 'album') && ($theme.item.id == 346)}
{g->theme include="album_banos.tpl"}
{elseif ($theme.pageType == 'album') && ($theme.item.id == 363)}
{g->theme include="album_complementos.tpl"}
{elseif $theme.pageType == 'album'}
{g->theme include="album.tpl"}
{elseif $theme.pageType == 'photo'}
{g->theme include="photo.tpl"}
{elseif $theme.pageType == 'admin'}
{g->theme include="admin.tpl"}
{elseif $theme.pageType == 'module'}
{g->theme include="module.tpl"}
{/if}
{if $user.isRegisteredUser}
{* System Links *}
{if empty($theme.parents)}
<div class="gbSystemLinks">
{g->block type="core.SystemLinks"
order="core.SiteAdmin core.YourAccount core.Login core.Logout"
othersAt=4}
</div>
{/if}
{/if}
<div class="footer">
<div class="text-footer">
<p>Copyright 2007 - Construcciones CNJ S.A.</p>
<p>Disenado por <a href="http://www.rodax-software.com">Rodax Software S.L.</a></p>
</div>
<div class="clear"></div>
{if !$user.isRegisteredUser}
<div class="login">
<p><a href="/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin">Iniciar sesi&oacute;n</a></p>
</div>
{/if}
<div class="clear"></div>
</div>
</div>
{/if} {* end of full screen check *}
</div>
{*
* Give Gallery a chance to output any cleanup code, like javascript that needs to be run
* at the end of the <body> tag. If you take this out, some code won't work properly.
*}
{g->trailer}
{* Put any debugging output here, if debugging is enabled *}
{g->debug}
</body>
</html>