1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 11:34:10 +02:00

Move Login button to customization

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1282 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-12-18 17:49:21 +00:00
parent 95b4ea471d
commit 8474399a40
3 changed files with 7 additions and 4 deletions

View File

@@ -31,8 +31,9 @@ class Adminer {
<tr><th><?php echo lang('Password'); ?><td><input type="password" name="password">
</table>
<?php
echo "<p><input type='submit' value='" . lang('Login') . "'>\n";
if ($this->permanentLogin()) {
echo "<p>" . checkbox("permanent", 1, $_COOKIE["adminer_permanent"], lang('Permanent login')) . "\n";
echo checkbox("permanent", 1, $_COOKIE["adminer_permanent"], lang('Permanent login')) . "\n";
}
}