]> git.joonet.de Git - adminer.git/commitdiff
Hide Logout button on login screen
authorJakub Vrana <jakub@vrana.cz>
Fri, 25 Oct 2013 02:12:53 +0000 (19:12 -0700)
committerJakub Vrana <jakub@vrana.cz>
Fri, 25 Oct 2013 02:12:53 +0000 (19:12 -0700)
adminer/include/design.inc.php

index 7cfa02029c13430e171a52d72d8e5c0fc76d5b90..d668dd13f599c0b86ca5e4abbbbb93b6d85f86f5 100644 (file)
@@ -114,12 +114,14 @@ function page_footer($missing = "") {
 </div>
 
 <?php switch_lang(); ?>
+<?php if ($missing != "auth") { ?>
 <form action="" method="post">
 <p class="logout">
 <input type="submit" name="logout" value="<?php echo lang('Logout'); ?>" id="logout">
 <input type="hidden" name="token" value="<?php echo $token; ?>">
 </p>
 </form>
+<?php } ?>
 <div id="menu">
 <?php $adminer->navigation($missing); ?>
 </div>