aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-03-28 11:41:21 +0100
committerintrigeri <intrigeri@boum.org>2009-03-28 11:41:21 +0100
commit055be361f5abfc989e32215f5dd6976af4a49bcd (patch)
tree4db1b99b6b853c53f27ce372b135883f69fa1491 /templates
parenta4d7ee255961e9d7f2ed75f9775f6d3e3cf47591 (diff)
downloadikiwiki-055be361f5abfc989e32215f5dd6976af4a49bcd.tar
ikiwiki-055be361f5abfc989e32215f5dd6976af4a49bcd.tar.gz
page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATED
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 29ba688c7..8622d1a01 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -28,6 +28,9 @@
</span>
<span class="title">
<TMPL_VAR TITLE>
+<TMPL_IF NAME="ISTRANSLATION">
+(<TMPL_VAR NAME="PERCENTTRANSLATED">&nbsp;%)
+</TMPL_IF>
</span>
</span><!--.header-->
<TMPL_IF NAME="SEARCHFORM">
@@ -60,6 +63,24 @@
</ul>
</div>
</TMPL_IF>
+
+<TMPL_IF NAME="OTHERLANGUAGES">
+<div id="otherlanguages">
+<ul>
+<TMPL_LOOP NAME="OTHERLANGUAGES">
+<li>
+<a href="<TMPL_VAR NAME="URL">"><TMPL_VAR NAME="LANGUAGE"></a>
+<TMPL_IF NAME="MASTER">
+(master)
+<TMPL_ELSE>
+(<TMPL_VAR NAME="PERCENT">&nbsp;%)
+</TMPL_IF>
+</li>
+</TMPL_LOOP>
+</ul>
+</div> <!-- #otherlanguages -->
+</TMPL_IF>
+
</div> <!-- .pageheader -->
<TMPL_IF SIDEBAR>