HTML whitespace
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@863 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
b1668e05fb
commit
02054404ad
|
@ -28,11 +28,11 @@ function adminer_database() {
|
||||||
function adminer_login_form($username) {
|
function adminer_login_form($username) {
|
||||||
if (call_adminer('login_form', true, $username)) {
|
if (call_adminer('login_form', true, $username)) {
|
||||||
?>
|
?>
|
||||||
<table cellspacing="0">
|
<table cellspacing="0">
|
||||||
<tr><th><?php echo lang('Server'); ?><td><input name="server" value="<?php echo htmlspecialchars($_GET["server"]); ?>">
|
<tr><th><?php echo lang('Server'); ?><td><input name="server" value="<?php echo htmlspecialchars($_GET["server"]); ?>">
|
||||||
<tr><th><?php echo lang('Username'); ?><td><input name="username" value="<?php echo htmlspecialchars($username); ?>">
|
<tr><th><?php echo lang('Username'); ?><td><input name="username" value="<?php echo htmlspecialchars($username); ?>">
|
||||||
<tr><th><?php echo lang('Password'); ?><td><input type="password" name="password">
|
<tr><th><?php echo lang('Password'); ?><td><input type="password" name="password">
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,11 +48,7 @@ function auth_error($exception = null) {
|
||||||
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"]))) . '">';
|
||||||
}
|
}
|
||||||
?>
|
echo "<input type='submit' value='" . lang('Login') . "'>\n</form>\n";
|
||||||
<input type="submit" value="<?php echo lang('Login'); ?>">
|
|
||||||
|
|
||||||
</form>
|
|
||||||
<?php
|
|
||||||
page_footer("auth");
|
page_footer("auth");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,10 @@ function adminer_database() {
|
||||||
function adminer_login_form($username) {
|
function adminer_login_form($username) {
|
||||||
if (call_adminer('login_form', true, $username)) {
|
if (call_adminer('login_form', true, $username)) {
|
||||||
?>
|
?>
|
||||||
<table cellspacing="0">
|
<table cellspacing="0">
|
||||||
<tr><th><?php echo lang('Username'); ?><td><input type="hidden" name="server" value="" /><input name="username" value="<?php echo htmlspecialchars($username); ?>">
|
<tr><th><?php echo lang('Username'); ?><td><input type="hidden" name="server" value="" /><input name="username" value="<?php echo htmlspecialchars($username); ?>">
|
||||||
<tr><th><?php echo lang('Password'); ?><td><input type="password" name="password">
|
<tr><th><?php echo lang('Password'); ?><td><input type="password" name="password">
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue