]> git.joonet.de Git - adminer.git/commitdiff
Add a donate link
authorJakub Vrana <jakub@vrana.cz>
Sun, 16 Apr 2017 08:42:27 +0000 (10:42 +0200)
committerJakub Vrana <jakub@vrana.cz>
Sun, 16 Apr 2017 08:42:27 +0000 (10:42 +0200)
adminer/include/auth.inc.php
adminer/include/version.inc.php
adminer/lang/cs.inc.php
adminer/lang/xx.inc.php

index 7e83bdb8564c11bb2363abfeee279c7610c55fa2..59cc85263638d8e49ac4a7bc9f647cc69bfe9b7f 100644 (file)
@@ -89,7 +89,7 @@ if ($auth) {
                        set_session($key, null);
                }
                unset_permanent();
-               redirect(substr(preg_replace('~\b(username|db|ns)=[^&]*&~', '', ME), 0, -1), lang('Logout successful.'));
+               redirect(substr(preg_replace('~\b(username|db|ns)=[^&]*&~', '', ME), 0, -1), lang('Logout successful.') . ' ' . lang('Thanks for using Adminer, consider <a href="%s">donating</a>.', 'https://sourceforge.net/donate/index.php?group_id=264133'));
        }
        
 } elseif ($permanent && !$_SESSION["pwds"]) {
index 35070d212ee0d04231d3c07e4f7ee8a893cc6176..98e72eacde9d1ccf8519ae4199b3314477076f34 100644 (file)
@@ -1,2 +1,2 @@
 <?php
-$VERSION = "4.3.1";
+$VERSION = "4.3.2-dev";
index 7e9bae3f49ca4c652ceb0eb85469b9c789e1389c..832b18dca0370c24cb0723fd2d09fa31d29bbf7a 100644 (file)
@@ -10,6 +10,7 @@ $translations = array(
        'Logout' => 'Odhlásit',
        'Logged as: %s' => 'Přihlášen jako: %s',
        'Logout successful.' => 'Odhlášení proběhlo v pořádku.',
+       'Thanks for using Adminer, consider <a href="%s">donating</a>.' => 'Díky za použití Admineru, zvažte <a href="%s">příspěvek</a>.',
        'Invalid credentials.' => 'Neplatné přihlašovací údaje.',
        '<a href="https://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to use SQLite.' => 'Pro přihlášení k SQLite <a href="https://www.adminer.org/cs/extension/" target="_blank">implementujte</a> metodu %s.',
        'Too many unsuccessful logins, try again in %d minute(s).' => array('Příliš mnoho pokusů o přihlášení, zkuste to znovu za %d minutu.', 'Příliš mnoho pokusů o přihlášení, zkuste to znovu za %d minuty.', 'Příliš mnoho pokusů o přihlášení, zkuste to znovu za %d minut.'),
index 0851b21e0d0abb6d4ed426dd0b1e415e6e247ffa..7bb29f18b7b66c2cea5917737177e49ce50ad361 100644 (file)
@@ -10,6 +10,7 @@ $translations = array(
        'Logout' => 'Xx',
        'Logged as: %s' => 'Xx',
        'Logout successful.' => 'Xx.',
+       'Thanks for using Adminer, consider <a href="%s">donating</a>.' => 'Xx.',
        'Invalid credentials.' => 'Xx.',
        '<a href="https://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to use SQLite.' => 'Xx.',
        'Too many unsuccessful logins, try again in %d minute(s).' => array('Xx.', 'Xx.'),