Mercurial > mxd2map
comparison template_header.m4 @ 155:5a882b5773c9
initial website.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Wed, 30 Mar 2011 15:51:06 +0200 |
parents | |
children | c4fa8e2cb5f7 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 155:5a882b5773c9 |
---|---|
1 m4_dnl -*-html-*- | |
2 m4_dnl THIS IS INCLUDED BY `template.m4' | |
3 m4_dnl DONT USE THIS FILE DIRECTLY | |
4 m4_ifdef(`__TMPL_ROOT',,`m4_define(`__TMPL_ROOT',`')') | |
5 | |
6 m4_define(`__TITLE',m4_dnl | |
7 I18N(`EN',`Webseiten-Integritätsprüfung')`'m4_dnl | |
8 I18N(`DE',`Website Integrity Check')) | |
9 | |
10 m4_ifdef(`__TMPL_PAGE_TITLE',,`m4_define(`__TMPL_PAGE_TITLE',`mapWOC - 'TITLE)') | |
11 | |
12 m4_define(`LINK', | |
13 `m4_ifelse($1, NO_LINK_FOR, | |
14 `$2', | |
15 `<a href="$1">$2</a>')') | |
16 | |
17 <html xmlns="http://www.w3.org/1999/xhtml"> | |
18 <head> | |
19 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
20 <meta name="keywords" content="I18N(`EN', `Security, secure') I18N(`DE', `Sicherheit, sicher')"> | |
21 <link rel="stylesheet" type="text/css" href="__TMPL_ROOT`'style.css"> | |
22 <link rel="shortcut icon" href="__TMPL_ROOT`'favicon.png" type="image/png" /> | |
23 <title>__TMPL_PAGE_TITLE</title> | |
24 </head> | |
25 <body> | |
26 <a name="top"></a> | |
27 <div class="wrapper"> | |
28 <div class="header"> | |
29 <div class="language_select"> | |
30 <img src="img/english.png"> LANG_LINK(`EN',`English', EN_FILE) | | |
31 <img src="img/german.png"> LANG_LINK(`DE',`Deutsch', DE_FILE) | |
32 </div> | |
33 </div> | |
34 m4_ifdef(`EN_FILE', `m4_define(`LANG_DE', `1')', `m4_define(`LANG_DE', `0')') | |
35 <div id="menu"> | |
36 <ul> | |
37 <li class="mlogo"> | |
38 m4_ifelse(LANG_DE, `1', `<a href="index-de.html" title="Startseite"></a>', `<a href="index.html" title="Home"></a>') | |
39 </li> | |
40 MENU(`about', `Über mapWOC', `About mapWOC', `about', MAIN, LANG_DE) | |
41 </li> | |
42 MENU(`download', `Download', `Download', `download', MAIN, LANG_DE) | |
43 </li> | |
44 MENU(`development', `Entwicklung', `Development', `development', MAIN, LANG_DE) | |
45 </li> | |
46 MENU(`contact', `Kontakt', `Contact', `contact', MAIN, LANG_DE) | |
47 </li> | |
48 <li class="mdonate"> | |
49 m4_ifelse(LANG_DE, `1', `<a href="donate-de.html">Spenden!</a>', `<a href="donate.html">Donate</a>') | |
50 </li> | |
51 </ul> | |
52 </div> | |
53 m4_include(`header.m4') | |
54 <div class="content"> | |
55 m4_divert(999) | |
56 <br clear="all" /> | |
57 </div> | |
58 </div> | |
59 | |
60 <div id="footer"> | |
61 <br> | |
62 <div id="sitemap"> | |
63 <ul> | |
64 <li><a href="index-de.html"><img src="img/logo_single_100.png" alt="" /></a></li> | |
65 </ul> | |
66 <ul> | |
67 <li><b> | |
68 m4_ifelse(LANG_DE, `1', `Über mapWOC', `About mapWOC') | |
69 </b></li> | |
70 MENU(`about', `Über mapWOC', `About mapWOC', `about', MAIN, LANG_DE) | |
71 </ul> | |
72 <ul> | |
73 <li><b> | |
74 m4_ifelse(LANG_DE, `1', `Download', `Download') | |
75 </b></li> | |
76 MENU(`download', `Download', `Download', `download', SUB, LANG_DE) | |
77 </ul> | |
78 <ul> | |
79 <li><b> | |
80 m4_ifelse(LANG_DE, `1', `Entwicklung', `Development') | |
81 </b></li> | |
82 MENU(`development', `Entwicklung', `Development', `development', SUB, LANG_DE) | |
83 </ul> | |
84 <ul> | |
85 <li><b> | |
86 m4_ifelse(LANG_DE, `1', `Kontakt', `Contact') | |
87 </b></li> | |
88 MENU(`contact', `Kontakt', `Contact', `contact', MAIN, LANG_DE) | |
89 </ul> | |
90 <ul> | |
91 <li><b> | |
92 m4_ifelse(LANG_DE, `1', `Diverses', `Misc') | |
93 </b></li> | |
94 MENU(`donate', `Spenden', `Donate', `donate', SUB, LANG_DE) | |
95 MENU(`license', `Lizenz', `License', `license', SUB, LANG_DE) | |
96 MENU(`impressum', `Impressum', `Impressum', `impressum', SUB, LANG_DE) | |
97 </ul> | |
98 </div> | |
99 </div> | |
100 | |
101 </body> | |
102 </html> | |
103 m4_divert |