Move link boxes into separate template files.
authorJan-Oliver Wagner <jan@intevation.de>
Wed, 8 Mar 2006 14:32:16 +0000 (14:32 +0000)
committerJan-Oliver Wagner <jan@intevation.de>
Wed, 8 Mar 2006 14:32:16 +0000 (14:32 +0000)
doc/website/index-de.htm4
doc/website/index.htm4
doc/website/template.m4
doc/website/template_link_boxes_de.m4 [new file with mode: 0644]
doc/website/template_link_boxes_en.m4 [new file with mode: 0644]

index f60fe84..0ad63ce 100644 (file)
@@ -153,32 +153,3 @@ Telefon: 02104/173855<br>
 
 
 PAGE_BOXES
-
-<div class="box">
-  <h1>Support</h1>
-  Mailinglisten:<br>
-  <a href="http://lists.wald.intevation.org/pipermail/gpg4win-users-de/">Archiv</a>
-  | <a href="http://lists.wald.intevation.org/mailman/listinfo/gpg4win-users-de">Abonnieren</a>
-  <p>Webforen:<br>
-  <a href="http://wald.intevation.org/forum/forum.php?forum_id=21">Hilfe</a>
-  | <a
-  href="http://wald.intevation.org/forum/forum.php?forum_id=20">Diskussion</a>
-  </p>
-  <p>Fehlermeldungen:<br>
-  <a
-  href="http://wald.intevation.org/tracker/?atid=126&amp;group_id=11&amp;func=browse">Bug 
-  Tracker</a>
-  </p>
-</div>
-<div class="box">
-  <h1>Mitmachen</h1>
-  <a href="http://wald.intevation.org/projects/gpg4win/">Projektseite</a>
-</div>
-<div class="box">
-  <h1>Ähnliche Projekte</h1>
-  <a href="http://www.equipmente.de/">GnuPT</a><br>
-  <a href="http://people.freenet.de/rose-indorf">GnuPG-Basics</a><br>
-  <a href="http://sourceforge.net/projects/winpt">Windows Privacy Tools</a> (veraltet)<br>
-  <a href="http://www.gnupp.de/start.html">GnuPP</a> (veraltet)<br>
-</div>
-
index 6735ca3..1078381 100644 (file)
@@ -151,31 +151,3 @@ Phone: +49 02104 173855<br>
 </p>
 
 PAGE_BOXES
-
-<div class="box">
-  <h1>Support</h1>
-  Mailinglists:<br>
-  <a href="http://lists.wald.intevation.org/pipermail/gpg4win-users-en/">Archive</a>
-  | <a href="http://lists.wald.intevation.org/mailman/listinfo/gpg4win-users-en">Subscribe</a>
-  <p>Web Forums:<br>
-  <a href="http://wald.intevation.org/forum/forum.php?forum_id=21">Help</a>
-  | <a
-  href="http://wald.intevation.org/forum/forum.php?forum_id=20">Discussion</a>
-  </p>
-  <p>Bug Reports:<br>
-  <a
-  href="http://wald.intevation.org/tracker/?atid=126&amp;group_id=11&amp;func=browse">Bug
-  Tracker</a>
-  </p>
-</div>
-<div class="box">
-  <h1>Getting involved</h1>
-  <a href="http://wald.intevation.org/projects/gpg4win/">Project Site</a>
-</div>
-<div class="box">
-  <h1>Similar Projects</h1>
-  <a href="http://www.equipmente.de/">GnuPT</a><br>
-  <a href="http://people.freenet.de/rose-indorf">GnuPG-Basics</a><br>
-  <a href="http://sourceforge.net/projects/winpt">Windows Privacy Tools</a> (outdated)<br>
-  <a href="http://www.gnupp.de/start.html">GnuPP</a> (outdated)<br>
-</div>
index 4c1bce6..6b57ef0 100644 (file)
@@ -13,4 +13,6 @@ m4_define(`I18N',`m4_ifdef(`$1',`$2')')
 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')')
-m4_define(`PAGE_BOXES',`m4_divert(1)</div><div id="boxes">')
\ No newline at end of file
+m4_define(`PAGE_BOXES',`m4_include(m4_dnl
+I18N(`DE', `template_link_boxes_de.m4')`'m4_dnl
+I18N(`EN', `template_link_boxes_en.m4'))')
diff --git a/doc/website/template_link_boxes_de.m4 b/doc/website/template_link_boxes_de.m4
new file mode 100644 (file)
index 0000000..254a51c
--- /dev/null
@@ -0,0 +1,34 @@
+m4_dnl -*-html-*-
+m4_dnl THIS IS INCLUDED BY `template.m4'
+m4_dnl DONT USE THIS FILE DIRECTLY
+
+</div>
+<div id="boxes">
+
+<div class="box">
+  <h1>Support</h1>
+  Mailinglisten:<br>
+  <a href="http://lists.wald.intevation.org/pipermail/gpg4win-users-de/">Archiv</a>
+  | <a href="http://lists.wald.intevation.org/mailman/listinfo/gpg4win-users-de">Abonnieren</a>
+  <p>Webforen:<br>
+  <a href="http://wald.intevation.org/forum/forum.php?forum_id=21">Hilfe</a>
+  | <a
+  href="http://wald.intevation.org/forum/forum.php?forum_id=20">Diskussion</a>
+  </p>
+  <p>Fehlermeldungen:<br>
+  <a
+  href="http://wald.intevation.org/tracker/?atid=126&amp;group_id=11&amp;func=browse">Bug 
+  Tracker</a>
+  </p>
+</div>
+<div class="box">
+  <h1>Mitmachen</h1>
+  <a href="http://wald.intevation.org/projects/gpg4win/">Projektseite</a>
+</div>
+<div class="box">
+  <h1>Ähnliche Projekte</h1>
+  <a href="http://www.equipmente.de/">GnuPT</a><br>
+  <a href="http://people.freenet.de/rose-indorf">GnuPG-Basics</a><br>
+  <a href="http://sourceforge.net/projects/winpt">Windows Privacy Tools</a> (veraltet)<br>
+  <a href="http://www.gnupp.de/start.html">GnuPP</a> (veraltet)<br>
+</div>
diff --git a/doc/website/template_link_boxes_en.m4 b/doc/website/template_link_boxes_en.m4
new file mode 100644 (file)
index 0000000..e11a293
--- /dev/null
@@ -0,0 +1,34 @@
+m4_dnl -*-html-*-
+m4_dnl THIS IS INCLUDED BY `template.m4'
+m4_dnl DONT USE THIS FILE DIRECTLY
+
+</div>
+<div id="boxes">
+
+<div class="box">
+  <h1>Support</h1>
+  Mailinglists:<br>
+  <a href="http://lists.wald.intevation.org/pipermail/gpg4win-users-en/">Archive</a>
+  | <a href="http://lists.wald.intevation.org/mailman/listinfo/gpg4win-users-en">Subscribe</a>
+  <p>Web Forums:<br>
+  <a href="http://wald.intevation.org/forum/forum.php?forum_id=21">Help</a>
+  | <a
+  href="http://wald.intevation.org/forum/forum.php?forum_id=20">Discussion</a>
+  </p>
+  <p>Bug Reports:<br>
+  <a
+  href="http://wald.intevation.org/tracker/?atid=126&amp;group_id=11&amp;func=browse">Bug
+  Tracker</a>
+  </p>
+</div>
+<div class="box">
+  <h1>Getting involved</h1>
+  <a href="http://wald.intevation.org/projects/gpg4win/">Project Site</a>
+</div>
+<div class="box">
+  <h1>Similar Projects</h1>
+  <a href="http://www.equipmente.de/">GnuPT</a><br>
+  <a href="http://people.freenet.de/rose-indorf">GnuPG-Basics</a><br>
+  <a href="http://sourceforge.net/projects/winpt">Windows Privacy Tools</a> (outdated)<br>
+  <a href="http://www.gnupp.de/start.html">GnuPP</a> (outdated)<br>
+</div>