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

Runa Sandvik runa.sandvik at gmail.com
Wed Mar 23 11:04:06 UTC 2011


Author: runa
Date: 2011-03-23 11:04:06 +0000 (Wed, 23 Mar 2011)
New Revision: 24419

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

Modified: website/trunk/include/ar/foot.wmi
===================================================================
--- website/trunk/include/ar/foot.wmi	2011-03-23 10:55:36 UTC (rev 24418)
+++ website/trunk/include/ar/foot.wmi	2011-03-23 11:04:06 UTC (rev 24419)
@@ -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">
+	<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>لغات</h4>



More information about the tor-commits mailing list