]> git.mxchange.org Git - friendica.git/commitdiff
another template down
authorFriendika <info@friendika.com>
Thu, 24 Feb 2011 04:43:22 +0000 (20:43 -0800)
committerFriendika <info@friendika.com>
Thu, 24 Feb 2011 04:43:22 +0000 (20:43 -0800)
boot.php
view/de/logout.tpl [deleted file]
view/en/logout.tpl [deleted file]
view/fr/logout.tpl [deleted file]
view/it/logout.tpl [deleted file]
view/logout.tpl [new file with mode: 0644]

index 8de891f3831fc72f527bfa69537243253019ceae..dc92d8dbb6f59dda9bde6e5f59b918e01283fd39 100644 (file)
--- 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/de/logout.tpl b/view/de/logout.tpl
deleted file mode 100644 (file)
index 9a6c1d7..0000000
+++ /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/en/logout.tpl b/view/en/logout.tpl
deleted file mode 100644 (file)
index 9a6c1d7..0000000
+++ /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 (file)
index 9a6c1d7..0000000
+++ /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 (file)
index 0a6868e..0000000
+++ /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/logout.tpl b/view/logout.tpl
new file mode 100644 (file)
index 0000000..6a84a5b
--- /dev/null
@@ -0,0 +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" />
+</div>
+</form>