mirror of
https://github.com/vrana/adminer.git
synced 2025-08-24 15:12:51 +02:00
Button to P
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@319 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
11
auth.inc.php
11
auth.inc.php
@@ -51,7 +51,9 @@ function auth_error() {
|
|||||||
<tr><th><?php echo lang('Server'); ?>:</th><td><input name="server" value="<?php echo htmlspecialchars($_GET["server"]); ?>" maxlength="60" /></td></tr>
|
<tr><th><?php echo lang('Server'); ?>:</th><td><input name="server" value="<?php echo htmlspecialchars($_GET["server"]); ?>" maxlength="60" /></td></tr>
|
||||||
<tr><th><?php echo lang('Username'); ?>:</th><td><input name="username" value="<?php echo htmlspecialchars($username); ?>" maxlength="16" /></td></tr>
|
<tr><th><?php echo lang('Username'); ?>:</th><td><input name="username" value="<?php echo htmlspecialchars($username); ?>" maxlength="16" /></td></tr>
|
||||||
<tr><th><?php echo lang('Password'); ?>:</th><td><input type="password" name="password" /></td></tr>
|
<tr><th><?php echo lang('Password'); ?>:</th><td><input type="password" name="password" /></td></tr>
|
||||||
<tr><th><?php
|
</table>
|
||||||
|
<p>
|
||||||
|
<?php
|
||||||
foreach ($_POST as $key => $val) { // expired session
|
foreach ($_POST as $key => $val) { // expired session
|
||||||
if (is_array($val)) {
|
if (is_array($val)) {
|
||||||
foreach ($val as $key2 => $val2) {
|
foreach ($val as $key2 => $val2) {
|
||||||
@@ -70,10 +72,11 @@ function auth_error() {
|
|||||||
foreach ($_FILES as $key => $val) {
|
foreach ($_FILES as $key => $val) {
|
||||||
echo '<input type="hidden" name="files[' . htmlspecialchars($key) . ']" value="' . ($val["error"] ? $val["error"] : base64_encode(file_get_contents($val["tmp_name"]))) . '" />';
|
echo '<input type="hidden" name="files[' . htmlspecialchars($key) . ']" value="' . ($val["error"] ? $val["error"] : base64_encode(file_get_contents($val["tmp_name"]))) . '" />';
|
||||||
}
|
}
|
||||||
?></th><td><input type="submit" value="<?php echo lang('Login'); ?>" /></td></tr>
|
?>
|
||||||
</table>
|
<input type="submit" value="<?php echo lang('Login'); ?>" />
|
||||||
|
</p>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
page_footer("auth");
|
page_footer("auth");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user