preparing for a new logging framework
[mir.git] / templates-dist / producer / navigation.template
index af58891..609798a 100755 (executable)
@@ -1,21 +1,34 @@
-                  <p> 
-                    <!-- topiclist --> 
-                    <list topics as t> 
-                    <br>
-                    <a href="${config.docroot}/${t.filename}.shtml"><b>${t.title}</b></a> 
-                    </list> 
-                    <!-- topiclist --> 
-                  </p>
-                  <hr noshade width="146" size="1" align="left">
-                  <p> 
-                    <a href="/cgi-bin/cvsweb/mir/">cvsweb</a><br>
-                       <a href="/mir/javadoc/">java-doc</a><br>
-                    <a href="#">request-tracker</a><br>
-                    <a href="${config.openaction}?do=addposting">publish</a>
-                  </p>
-                  <hr noshade width="146" size="1" align="left"> 
-                  <p class="small">
-<!-- imclist --> 
-<include "producer/cities.inc"> 
-<!-- imclist --> 
-                  </p>
+<p> 
+  ${lang("navigation.languages")}
+  <list languages as l> 
+    <br>
+      <if l.code==pathprefix>
+        <b>
+      </if>
+        <a href="${config["Producer.DocRoot"]}/${l.code}">${l.name}</a>
+      <if l.code==pathprefix>
+        </b>
+      </if>
+  </list> 
+</p>
+
+<p> 
+  ${lang("navigation.topics")}
+  <list topics as t> 
+    <br>
+    <a href="${config["Producer.DocRoot"]}/${pathprefix}/${t.filename}/${t.filename}.shtml"><b>${t.title}</b></a>
+  </list> 
+</p>
+
+<hr noshade width="146" size="1" align="left">
+
+<p>
+  <br>
+  <a href="${config["Producer.OpenAction"]}">${lang("navigation.publish")}</a>
+</p>
+
+<hr noshade width="146" size="1" align="left">
+
+<p class="small">
+  <include "links.inc"> 
+</p>