1 | {* $Id: header.tpl 2651 2008-10-04 09:50:02Z rub $ *} |
---|
2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
---|
3 | "http://www.w3.org/TR/html4/strict.dtd"> |
---|
4 | <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> |
---|
5 | <head> |
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> |
---|
7 | <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> |
---|
8 | <title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title> |
---|
9 | <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico"> |
---|
10 | |
---|
11 | <link rel="start" title="{'home'|@translate}" href="{$U_HOME}" > |
---|
12 | <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" > |
---|
13 | {if isset($first.U_IMG) }<link rel="first" title="{'first_page'|@translate}" href="{$first.U_IMG}" >{/if} |
---|
14 | {if isset($previous.U_IMG)}<link rel="prev" title="{'previous_page'|@translate}" href="{$previous.U_IMG}" >{/if} |
---|
15 | {if isset($next.U_IMG) }<link rel="next" title="{'next_page'|@translate}" href="{$next.U_IMG}" >{/if} |
---|
16 | {if isset($last.U_IMG) }<link rel="last" title="{'last_page'|@translate}" href="{$last.U_IMG}" >{/if} |
---|
17 | {if isset($U_UP) }<link rel="up" title="{'thumbnails'|@translate}" href="{$U_UP}" >{/if} |
---|
18 | |
---|
19 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/layout.css"> |
---|
20 | {* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *} |
---|
21 | <link rel="stylesheet" type="text/nonsense" href="{$ROOT_URL}template/{$themeconf.template}/fix-khtml.css"> |
---|
22 | <!--[if lt IE 7]> |
---|
23 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie5-ie6.css"> |
---|
24 | <![endif]--> |
---|
25 | <!--[if gt IE 6]> |
---|
26 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie7.css"> |
---|
27 | <![endif]--> |
---|
28 | <!--[if !IE]> <--> |
---|
29 | <link rel="stylesheet" href="{$ROOT_URL}template/{$themeconf.template}/not-ie.css" type="text/css"> |
---|
30 | <!--> <![endif]--> |
---|
31 | <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}template/{$themeconf.template}/print.css"> |
---|
32 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css"> |
---|
33 | {$themeconf.local_head} |
---|
34 | {if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if} |
---|
35 | |
---|
36 | {if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} |
---|
37 | |
---|
38 | <script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script> |
---|
39 | <!--[if lt IE 7]> |
---|
40 | <style> |
---|
41 | {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *} |
---|
42 | BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); } |
---|
43 | A IMG, .button, .icon {ldelim} |
---|
44 | behavior:url("{$ROOT_URL}template-common/tooltipfix.htc"); |
---|
45 | } |
---|
46 | FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); } |
---|
47 | </style> |
---|
48 | <script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script> |
---|
49 | <![endif]--> |
---|
50 | |
---|
51 | {if not empty($head_elements)} |
---|
52 | {foreach from=$head_elements item=elt}{$elt}{/foreach} |
---|
53 | {/if} |
---|
54 | |
---|
55 | </head> |
---|
56 | |
---|
57 | <body id="{$BODY_ID}"> |
---|
58 | <div id="the_page"> |
---|
59 | |
---|
60 | {if not empty($header_msgs)} |
---|
61 | <div class="header_msgs"> |
---|
62 | {foreach from=$header_msgs item=elt} |
---|
63 | {$elt}<br /> |
---|
64 | {/foreach} |
---|
65 | </div> |
---|
66 | {/if} |
---|
67 | |
---|
68 | <div id="theHeader">{$PAGE_BANNER}</div> |
---|
69 | {if isset($theSwiftHeader)}{$theSwiftHeader}{/if} |
---|
70 | {if not empty($header_notes)} |
---|
71 | <div class="header_notes"> |
---|
72 | {foreach from=$header_notes item=elt} |
---|
73 | <p>{$elt}</p> |
---|
74 | {/foreach} |
---|
75 | </div> |
---|
76 | {/if} |
---|