1 | {* $Id: header.tpl 2381 2008-06-01 19:19:46Z vdigital $ *} |
---|
2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
---|
3 | "http://www.w3.org/TR/html4/strict.dtd"> |
---|
4 | <html lang="{$LANG}" dir="{$DIR}"> |
---|
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}/default-colors.css"> |
---|
33 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css"> |
---|
34 | {$themeconf.local_head} |
---|
35 | {if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if} |
---|
36 | |
---|
37 | {if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} |
---|
38 | |
---|
39 | <script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script> |
---|
40 | <!--[if lt IE 7]> |
---|
41 | <style> |
---|
42 | {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *} |
---|
43 | BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); } |
---|
44 | A IMG, .button, .icon {ldelim} |
---|
45 | behavior:url("{$ROOT_URL}template-common/tooltipfix.htc"); |
---|
46 | } |
---|
47 | FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); } |
---|
48 | </style> |
---|
49 | <script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script> |
---|
50 | <![endif]--> |
---|
51 | |
---|
52 | |
---|
53 | {if not empty($head_elements)} |
---|
54 | {foreach from=$head_elements item=elt}{$elt}{/foreach} |
---|
55 | {/if} |
---|
56 | |
---|
57 | </head> |
---|
58 | |
---|
59 | <body id="{$BODY_ID}"> |
---|
60 | <div id="the_page"> |
---|
61 | |
---|
62 | {if not empty($header_msgs)} |
---|
63 | <div class="header_msgs"> |
---|
64 | {foreach from=$header_msgs item=elt} |
---|
65 | <p>{$elt}</p> |
---|
66 | {/foreach} |
---|
67 | </div> |
---|
68 | {/if} |
---|
69 | |
---|
70 | {if not empty($PAGE_BANNER) or isset($pwgmenu) or not empty($header_notes)} |
---|
71 | <div id="theHeader"> |
---|
72 | {$PAGE_BANNER} |
---|
73 | {if isset($pwgmenu)} |
---|
74 | <ul class="pwgmenu"> |
---|
75 | <li><a href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'WIKI / DOC'|@translate}</span></a></li> |
---|
76 | <li><a href="{$pwgmenu.FORUM}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'FORUM'|@translate}</span></a></li> |
---|
77 | </ul> |
---|
78 | {/if} |
---|
79 | {if not empty($header_notes)} |
---|
80 | <div class="header_notes"> |
---|
81 | {foreach from=$header_notes item=elt} |
---|
82 | <p>{$elt}</p> |
---|
83 | {/foreach} |
---|
84 | </div> |
---|
85 | {/if} |
---|
86 | </div> |
---|
87 | {/if} |
---|