Permalink
Browse files

HTML whitespace

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@863 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent b1668e0 commit 02054404ad078d121ebe6a3569e1db669bc834f3 jakubvrana committed Jul 21, 2009
Showing with 10 additions and 14 deletions.
  1. +5 −5 adminer/include/adminer.inc.php
  2. +1 −5 adminer/include/auth.inc.php
  3. +4 −4 editor/include/adminer.inc.php
@@ -28,11 +28,11 @@ function adminer_database() {
function adminer_login_form($username) {
if (call_adminer('login_form', true, $username)) {
?>
- <table cellspacing="0">
- <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('Password'); ?><td><input type="password" name="password">
- </table>
+<table cellspacing="0">
+<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('Password'); ?><td><input type="password" name="password">
+</table>
<?php
}
}
@@ -48,11 +48,7 @@ function auth_error($exception = null) {
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"]))) . '">';
}
- ?>
- <input type="submit" value="<?php echo lang('Login'); ?>">
-
- </form>
-<?php
+ echo "<input type='submit' value='" . lang('Login') . "'>\n</form>\n";
page_footer("auth");
}
@@ -15,10 +15,10 @@ function adminer_database() {
function adminer_login_form($username) {
if (call_adminer('login_form', true, $username)) {
?>
- <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('Password'); ?><td><input type="password" name="password">
- </table>
+<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('Password'); ?><td><input type="password" name="password">
+</table>
<?php
}
}

0 comments on commit 0205440

Please sign in to comment.