summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl21
-rw-r--r--templates/pocreatepage.tmpl3
2 files changed, 24 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>
diff --git a/templates/pocreatepage.tmpl b/templates/pocreatepage.tmpl
new file mode 100644
index 000000000..96c8fdd78
--- /dev/null
+++ b/templates/pocreatepage.tmpl
@@ -0,0 +1,3 @@
+<p>
+<b>WARNING</b> this page must be written in <TMPL_VAR NAME="LANG">.
+</p> \ No newline at end of file