Hide Logout button on login screen

This commit is contained in:
Jakub Vrana 2013-10-24 19:12:53 -07:00
parent a564bba261
commit cfe76ffaf0

View 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>