[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] r24418: {website} list available languages / translations in the footer of the (website/trunk/include)



Author: runa
Date: 2011-03-23 10:55:36 +0000 (Wed, 23 Mar 2011)
New Revision: 24418

Modified:
   website/trunk/include/foot.wmi
Log:
list available languages / translations in the footer of the page

Modified: website/trunk/include/foot.wmi
===================================================================
--- website/trunk/include/foot.wmi	2011-03-23 03:21:22 UTC (rev 24417)
+++ website/trunk/include/foot.wmi	2011-03-23 10:55:36 UTC (rev 24418)
@@ -1,4 +1,6 @@
 #!/usr/bin/env wml
+#use "functions.wmi"
+
     <div id="footer">
     	<div class="onion"><img src="$(IMGROOT)/onion.jpg" alt="Tor"></div>
       <div class="about">
@@ -69,6 +71,19 @@
         </ul>
       </div>
       <!-- END COL -->
+
+	<!-- List available languages -->
+	<div class="col wider">
+	<h4>Languages</h4>
+	<: if (has_translations()) {  :>
+		<p>
+		This page is also available in the following languages:
+		<: print list_translations() :>.<br />
+		How to set <a href="http://www.debian.org/intro/cn#howtoset";>the default document language</a>.
+		</p>
+	<: }; :>
+	</div>
+
 <!-- LANGUAGE SWITCH CGI 
       <div class="col wider">
       	<h4>Languages</h4>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits