Mercurial > mxd2map
view website/template.m4 @ 163:8f9196c9c7e8
Added mxd2map-content to website
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Thu, 30 Jun 2011 14:56:05 +0200 |
parents | 579b94f442a9 |
children |
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> m4_dnl $Id: template.m4,v 1.3 2005/05/02 09:03:34 wilde Exp $ m4_dnl ------------------------------------------------------------ m4_dnl Macros to use in Pages m4_define(`I18N',`m4_ifdef(`$1',`$2')') m4_define(`LANG_LINK',`m4_ifdef(`$1',`$2',`m4_ifelse(`$3',`EN_FILE',`<strike>$2</strike>',`$3',`DE_FILE',`<strike>$2</strike>',`<a href="$3">$2</a>')')') m4_define(`MENU', `m4_ifelse(`$4',`$5', `m4_ifelse(`$6', `1', `<li class="active"><a href="$1-de.html">$2</a>', `<li class="active"><a href="$1.html">$3</a>')', `m4_ifelse(`$6', `1', `<li><a href="$1-de.html">$2</a>', `<li><a href="$1.html">$3</a>')')') m4_define(`PAGE_TITLE',`m4_define(`__TMPL_PAGE_TITLE',`$1')') m4_define(`PAGE_ROOT',`m4_define(`__TMPL_ROOT',`$1')') m4_define(`PAGE_START',`m4_include(`template_header.m4')')