aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php1
-rw-r--r--view/en/logout.tpl6
-rw-r--r--view/fr/logout.tpl6
-rw-r--r--view/it/logout.tpl6
-rw-r--r--view/logout.tpl (renamed from view/de/logout.tpl)2
5 files changed, 2 insertions, 19 deletions
diff --git a/boot.php b/boot.php
index 8de891f38..dc92d8dbb 100644
--- a/boot.php
+++ b/boot.php
@@ -800,6 +800,7 @@ function login($register = false) {
}
$o = replace_macros($tpl,array(
+ '$logout' => t('Logout'),
'$register_html' => $register_html,
'$classname' => $classname,
'$namelabel' => $namelabel,
diff --git a/view/en/logout.tpl b/view/en/logout.tpl
deleted file mode 100644
index 9a6c1d763..000000000
--- a/view/en/logout.tpl
+++ /dev/null
@@ -1,6 +0,0 @@
-<form action="" method="post" >
-<div class="logout-wrapper">
-<input type="hidden" name="auth-params" value="logout" />
-<input type="submit" name="submit" id="logout-button" value="Logout" />
-</div>
-</form>
diff --git a/view/fr/logout.tpl b/view/fr/logout.tpl
deleted file mode 100644
index 9a6c1d763..000000000
--- a/view/fr/logout.tpl
+++ /dev/null
@@ -1,6 +0,0 @@
-<form action="" method="post" >
-<div class="logout-wrapper">
-<input type="hidden" name="auth-params" value="logout" />
-<input type="submit" name="submit" id="logout-button" value="Logout" />
-</div>
-</form>
diff --git a/view/it/logout.tpl b/view/it/logout.tpl
deleted file mode 100644
index 0a6868e0a..000000000
--- a/view/it/logout.tpl
+++ /dev/null
@@ -1,6 +0,0 @@
-<form action="" method="post" >
-<div class="logout-wrapper">
-<input type="hidden" name="auth-params" value="logout" />
-<input type="submit" name="submit" id="logout-button" value="Esci" />
-</div>
-</form>
diff --git a/view/de/logout.tpl b/view/logout.tpl
index 9a6c1d763..6a84a5bbc 100644
--- a/view/de/logout.tpl
+++ b/view/logout.tpl
@@ -1,6 +1,6 @@
<form action="" method="post" >
<div class="logout-wrapper">
<input type="hidden" name="auth-params" value="logout" />
-<input type="submit" name="submit" id="logout-button" value="Logout" />
+<input type="submit" name="submit" id="logout-button" value="$logout" />
</div>
</form>