3
* If you want to customize this file, do not edit it directly since future upgrades
4
* may overwrite it. Instead, copy it into a new directory called "local" and edit that
5
* version. Gallery will look for that file first and use it if it exists.
7
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
10
{* Let Gallery print out anything it wants to put into the <head> element *}
13
{* If Gallery doesn't provide a header, we use the album/photo title (or filename) *}
14
{if empty($head.title)}
15
<title>{$theme.item.title|default:$theme.item.pathComponent|markup:strip}</title>
18
{* Include this theme's style sheet *}
19
<link rel="stylesheet" type="text/css" href="{g->theme url="theme.css"}"/>
21
<body class="gallery">
22
<div {g->mainDivAttributes}>
24
* Some module views (eg slideshow) want the full screen. So for those, we
25
* don't draw a header, footer, navbar, etc. Those views are responsible for
28
{if $theme.useFullScreen}
29
{include file="gallery:`$theme.moduleTemplate`" l10Domain=$theme.moduleL10Domain}
32
<img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
35
<div id="gsNavBar" class="gcBorder1">
36
<div class="gbSystemLinks">
37
{g->block type="core.SystemLinks"
38
order="core.SiteAdmin core.YourAccount core.Login core.Logout"
42
<div class="gbBreadCrumb">
43
{g->block type="core.BreadCrumb"}
47
{* Include the appropriate content type for the page we want to draw. *}
48
{if $theme.pageType == 'album'}
49
{g->theme include="album.tpl"}
50
{elseif $theme.pageType == 'photo'}
51
{g->theme include="photo.tpl"}
52
{elseif $theme.pageType == 'admin'}
53
{g->theme include="admin.tpl"}
54
{elseif $theme.pageType == 'module'}
55
{g->theme include="module.tpl"}
56
{elseif $theme.pageType == 'progressbar'}
57
{g->theme include="progressbar.tpl"}
61
{g->logoButton type="validation"}
62
{g->logoButton type="gallery2"}
63
{g->logoButton type="gallery2-version"}
64
{g->logoButton type="donate"}
66
{/if} {* end of full screen check *}
70
* Give Gallery a chance to output any cleanup code, like javascript that
71
* needs to be run at the end of the <body> tag. If you take this out, some
72
* code won't work properly.
76
{* Put any debugging output here, if debugging is enabled *}