[Gpg4win-commits] r1261 - trunk/doc/website

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Aug 14 11:47:00 CEST 2009


Author: emanuel
Date: 2009-08-14 11:46:59 +0200 (Fri, 14 Aug 2009)
New Revision: 1261

Modified:
   trunk/doc/website/buildhtml.mk
   trunk/doc/website/download-de.htm4
   trunk/doc/website/template_header.m4
   trunk/doc/website/template_link_boxes_de.m4
   trunk/doc/website/template_link_boxes_en.m4
Log:
Changed link status in navigation box.

Modified: trunk/doc/website/buildhtml.mk
===================================================================
--- trunk/doc/website/buildhtml.mk	2009-08-13 15:49:19 UTC (rev 1260)
+++ trunk/doc/website/buildhtml.mk	2009-08-14 09:46:59 UTC (rev 1261)
@@ -26,7 +26,7 @@
 .SUFFIXES: .html .htm4
 
 .htm4.html:
-	$(PP) $(PPFLAGS) $< > $@
+	$(PP) -DNO_LINK_FOR=$@ $(PPFLAGS) $< > $@
 
 all: $(TARGETS) subdirs
 

Modified: trunk/doc/website/download-de.htm4
===================================================================
--- trunk/doc/website/download-de.htm4	2009-08-13 15:49:19 UTC (rev 1260)
+++ trunk/doc/website/download-de.htm4	2009-08-14 09:46:59 UTC (rev 1261)
@@ -47,7 +47,7 @@
 
 Die aktuelle <a href="./doc/gpg4win-compendium-de.html">HTML-Version</a> des Kompendiums.
 
-<p>Lesen Sie die <a href="documentation.html">Dokumentationsseite</a>
+<p>Lesen Sie die <a href="documentation-de.html">Dokumentationsseite</a>
 für weitere Informationen über verfügbare Gpg4win Dokumentationen.</p>
 
 

Modified: trunk/doc/website/template_header.m4
===================================================================
--- trunk/doc/website/template_header.m4	2009-08-13 15:49:19 UTC (rev 1260)
+++ trunk/doc/website/template_header.m4	2009-08-14 09:46:59 UTC (rev 1261)
@@ -9,6 +9,12 @@
 
 m4_ifdef(`__TMPL_PAGE_TITLE',,`m4_define(`__TMPL_PAGE_TITLE',`Gpg4win - '__TITLE)')
 
+m4_define(`LINK',
+    `m4_ifelse($1, NO_LINK_FOR,
+        `<b>$2</b><br />',
+        `<a href="$1">$2</a><br />')')
+
+
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Modified: trunk/doc/website/template_link_boxes_de.m4
===================================================================
--- trunk/doc/website/template_link_boxes_de.m4	2009-08-13 15:49:19 UTC (rev 1260)
+++ trunk/doc/website/template_link_boxes_de.m4	2009-08-14 09:46:59 UTC (rev 1261)
@@ -5,17 +5,17 @@
 <div id="boxes">
 <div class="box">
   <h1>Navigation</h1>
-  <a href="index-de.html">Hauptseite</a><br>
-  <a href="about-de.html">Über Gpg4win</a><br>
-  <a href="download-de.html">Download</a><br>
-  <a href="documentation-de.html">Dokumentation</a><br>
-  <a href="community-de.html">Gemeinschaft (Kontakt)</a><br>
-  <a href="contribute-de.html">&nbsp;- Mitmachen</a><br>
-  <a href="reporting-bugs-de.html">&nbsp;- Probleme melden</a><br>
+  LINK(`index-de.html', `Hauptseite')
+  LINK(`about-de.html', `Über Gpg4win')
+  LINK(`download-de.html', `Download')
+  LINK(`documentation-de.html', `Dokumentation')
+  LINK(`community-de.html', `Gemeinschaft (Kontakt)')
+  LINK(`contribute-de.html', `&nbsp;- Mitmachen')
+  LINK(`reporting-bugs-de.html', `&nbsp;- Probleme melden')
   <a href="http://wald.intevation.org/projects/gpg4win/">&nbsp;- Entwicklungsseite</a><br>
-  <a href="support-de.html">Professioneller Support</a><br>
-  <a href="links-de.html">Verweise</a><br>
-  <a href="impressum-de.html">Impressum</a><br>
+  LINK(`support-de.html', `Professioneller Support')
+  LINK(`links-de.html', `Verweise')
+  LINK(`impressum-de.html', `Impressum')
 </div>
 <div class="box">
   <h1>Sponsoring</h1>
@@ -46,6 +46,6 @@
 </div>
 <div class="box">
   <h1>Sonstiges</h1>
-  <a href="Kurzstudie-Nachhaltige-FS-Beispiel-Gpg4win.html">Kurzstudie: "Nachhaltige Freie Software: Vom Projekt zur Dauertätigkeit am Beispiel Gpg4win"</a>
+   LINK(`Kurzstudie-Nachhaltige-FS-Beispiel-Gpg4win.html', `Kurzstudie: "Nachhaltige Freie Software: Vom Projekt zur Dauertätigkeit am Beispiel Gpg4win')
 </div>
 </div>

Modified: trunk/doc/website/template_link_boxes_en.m4
===================================================================
--- trunk/doc/website/template_link_boxes_en.m4	2009-08-13 15:49:19 UTC (rev 1260)
+++ trunk/doc/website/template_link_boxes_en.m4	2009-08-14 09:46:59 UTC (rev 1261)
@@ -5,17 +5,17 @@
 <div id="boxes">
 <div class="box">
   <h1>Navigation</h1>
-  <a href="index.html">Home</a><br>
-  <a href="about.html">About Gpg4win</a><br>
-  <a href="download.html">Download</a><br>
-  <a href="documentation.html">Documentation</a><br>
-  <a href="community.html">Community (Contact)</a><br>
-  <a href="contribute.html">&nbsp;- Getting involved</a><br>
-  <a href="reporting-bugs.html">&nbsp;- Reporting problems</a><br>
+  LINK(`index.html', `Home')
+  LINK(`about.html', `About Gpg4win')
+  LINK(`download.html', `Download')
+  LINK(`documentation.html', `Documentation')
+  LINK(`community.html', `Community (Contact)')
+  LINK(`contribute.html', `&nbsp;- Getting involved')
+  LINK(`reporting-bugs.html', `&nbsp;- Reporting problems')
   <a href="http://wald.intevation.org/projects/gpg4win/">&nbsp;- Development Site</a><br>
-  <a href="support.html">Professional Support</a><br>
-  <a href="links.html">Links</a><br>
-  <a href="impressum.html">Impressum</a><br>
+  LINK(`support.html', `Professional Support')
+  LINK(`links.html', `Links')
+  LINK(`impressum.html', `Impressum')
 </div>
 <div class="box">
   <h1>Sponsorship</h1>
@@ -48,7 +48,7 @@
 </div>
 <div class="box">
   <h1>Miscellaneous</h1>
-  <a href="ShortStudy-Sustainable-FS-example-Gpg4win.html">Short Study: "Sustainable Free Software: 
-    From project to permanent activity, using the example Gpg4win"</a>
+  LINK(`ShortStudy-Sustainable-FS-example-Gpg4win.html', `Short Study: "Sustainable Free Software: 
+    From project to permanent activity, using the example Gpg4win')
 </div>
 </div>



More information about the Gpg4win-commits mailing list