preparing for a new logging framework
[mir.git] / templates-dist / producer / navigation.template
index 29e534e..609798a 100755 (executable)
@@ -1,21 +1,34 @@
-                  <p> 
-                    <!-- topiclist --> 
-                    <list topics as t> 
-                    <br>
-                    <a href="/${t.filename}.shtml"><b>${t.title}</b></a> 
-                    </list> 
-                    <!-- topiclist --> 
-                  </p>
-                  <hr noshade width="146" size="1" align="left">
-                  <p> <a href="#">cvsweb</a><br>
-                    <a href="#">request-tracker</a><br>
-                    <a href="${config.openaction}">publish</a></p>
-                  <p>
-                  <hr noshade width="146" size="1" align="left"> 
-                  <!-- imclist --> 
-                  <include "producer/cities.inc"> 
-                  <!-- imclist --> 
-                  </p>
-<!-- imclist --> 
-<include "producer/cities.inc"> 
-<!-- imclist --> 
\ No newline at end of file
+<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>