Mercurial > mxd2map
annotate website/template_header.m4 @ 219:f13f51627f07
Adopted Makefiles to build documentation as well
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Wed, 27 Jul 2011 09:16:00 +0200 |
parents | bdf58d5b7d92 |
children |
rev | line source |
---|---|
155 | 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 | |
163
8f9196c9c7e8
Added mxd2map-content to website
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
7 I18N(`EN',`MXD2map')`'m4_dnl |
8f9196c9c7e8
Added mxd2map-content to website
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
8 I18N(`DE',`MXD2map')) |
155 | 9 |
163
8f9196c9c7e8
Added mxd2map-content to website
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
10 m4_ifdef(`__TMPL_PAGE_TITLE',,`m4_define(`__TMPL_PAGE_TITLE',`MXD2map - 'TITLE)') |
155 | 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"> | |
163
8f9196c9c7e8
Added mxd2map-content to website
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
20 <meta name="keywords" content="I18N(`EN', `MXD, ESRI, MapServer, OGC') I18N(`DE', `;XD, ESRI, MapServer, OGC')"> |
155 | 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"> | |
211
bdf58d5b7d92
Added an english translation of the website.
Stephan Holl <stephan.holl@intevation.de>
parents:
163
diff
changeset
|
30 <img src="img/english.png"> LANG_LINK(`EN',`English', EN_FILE) | |
155 | 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> | |
162
dd4bb5869f86
replaced mapWOC with MXD2map
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
40 MENU(`about', `�ber MXD2map', `About MXD2map', `about', MAIN, LANG_DE) |
155 | 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> | |
162
dd4bb5869f86
replaced mapWOC with MXD2map
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
68 m4_ifelse(LANG_DE, `1', `�ber MXD2map', `About MXD2map') |
155 | 69 </b></li> |
162
dd4bb5869f86
replaced mapWOC with MXD2map
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
70 MENU(`about', `�ber MXD2map', `About MXD2map', `about', MAIN, LANG_DE) |
155 | 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 |