1 | {* $ Id: header.tpl 2010-04-03 Par Gotcha pour son thème "Sobre" $ *} |
---|
2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
---|
3 | <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> |
---|
6 | <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> |
---|
7 | {if isset($meta_ref) } |
---|
8 | {if isset($INFO_AUTHOR)} |
---|
9 | <meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}"> |
---|
10 | {/if} |
---|
11 | {if isset($related_tags)} |
---|
12 | <meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}"> |
---|
13 | {/if} |
---|
14 | {if isset($COMMENT_IMG)} |
---|
15 | <meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> |
---|
16 | {else} |
---|
17 | <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> |
---|
18 | {/if} |
---|
19 | {/if} |
---|
20 | |
---|
21 | {if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))} |
---|
22 | <title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else} |
---|
23 | <title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if} |
---|
24 | <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> |
---|
25 | |
---|
26 | <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" > |
---|
27 | <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" > |
---|
28 | {if isset($first.U_IMG) }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if} |
---|
29 | {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if} |
---|
30 | {if isset($next.U_IMG) }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if} |
---|
31 | {if isset($last.U_IMG) }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if} |
---|
32 | {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} |
---|
33 | |
---|
34 | {foreach from=$themes item=theme} |
---|
35 | {if $theme.load_css} |
---|
36 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css"> |
---|
37 | {/if} |
---|
38 | {if isset($theme.local_head)}{include file=$theme.local_head}{/if} |
---|
39 | {/foreach} |
---|
40 | |
---|
41 | {if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if} |
---|
42 | |
---|
43 | {if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} |
---|
44 | |
---|
45 | <script type="text/javascript" src="{$ROOT_URL}themes/default/js/scripts.js"></script> |
---|
46 | <!--[if lt IE 7]> |
---|
47 | <script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> |
---|
48 | <![endif]--> |
---|
49 | |
---|
50 | {if not empty($head_elements)} |
---|
51 | {foreach from=$head_elements item=elt}{$elt} |
---|
52 | {/foreach} |
---|
53 | {/if} |
---|
54 | |
---|
55 | |
---|
56 | <script type="text/javascript" src="themes/sobre/CSS.js"></script> |
---|
57 | <script type="text/javascript"> |
---|
58 | <!-- |
---|
59 | Name_motor = navigator.product; |
---|
60 | Version_Motor = navigator.productSub; |
---|
61 | |
---|
62 | if ((Name_motor=="Gecko" && Version_Motor>="20100115") |
---|
63 | || (BrowserDetect.browser=="Firefox" && BrowserDetect.version>=3.5) |
---|
64 | || (BrowserDetect.browser=="Safari" && BrowserDetect.version>=3.1) |
---|
65 | || (BrowserDetect.browser=="Opera" && BrowserDetect.version>=10) |
---|
66 | || (BrowserDetect.browser=="Chrome" && BrowserDetect.version>=4)) |
---|
67 | document.write('<link rel="stylesheet" type="text/css" href="themes/sobre/CSS3.css">'); |
---|
68 | // --> |
---|
69 | </script> |
---|
70 | |
---|
71 | {known_script id="jquery" src=$ROOT_URL|cat:"themes/default/js/jquery.packed.js"} |
---|
72 | |
---|
73 | |
---|
74 | </head> |
---|
75 | |
---|
76 | <body id="{$BODY_ID}"> |
---|
77 | <div id="the_page"> |
---|
78 | |
---|
79 | {if not empty($header_msgs)} |
---|
80 | <div class="header_msgs"> |
---|
81 | {foreach from=$header_msgs item=elt} |
---|
82 | {$elt}<br /> |
---|
83 | {/foreach} |
---|
84 | </div> |
---|
85 | {/if} |
---|
86 | |
---|
87 | <div id="theHeader">{$PAGE_BANNER}</div> |
---|
88 | {if isset($theSwiftHeader)}{$theSwiftHeader}{/if} |
---|
89 | {if not empty($header_notes)} |
---|
90 | <div class="header_notes"> |
---|
91 | {foreach from=$header_notes item=elt} |
---|
92 | <p>{$elt}</p> |
---|
93 | {/foreach} |
---|
94 | </div> |
---|
95 | {/if} |
---|