aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-23 20:43:22 -0800
committerFriendika <info@friendika.com>2011-02-23 20:43:22 -0800
commita247a3cedb6a137d76fa7daa70d58ca91f17ff04 (patch)
tree4af33d74564e4d6ddee8fea90767877e60997b5f
parentb92150297f6670b7aeb8c8ab4e1843a69d8e14bc (diff)
downloadvolse-hubzilla-a247a3cedb6a137d76fa7daa70d58ca91f17ff04.tar.gz
volse-hubzilla-a247a3cedb6a137d76fa7daa70d58ca91f17ff04.tar.bz2
volse-hubzilla-a247a3cedb6a137d76fa7daa70d58ca91f17ff04.zip
another template down
-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>