]> git.joonet.de Git - adminer.git/commitdiff
HTML whitespace
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 21 Jul 2009 15:25:05 +0000 (15:25 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 21 Jul 2009 15:25:05 +0000 (15:25 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@863 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/include/adminer.inc.php
adminer/include/auth.inc.php
editor/include/adminer.inc.php

index 8368d8ae82cf9938ec9de6d0234746cd3321840b..86f4738f4ed0d6e018b9411699ad76604971473c 100644 (file)
@@ -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
        }
 }
index b7adace09eeabb942b4eda57aebb702c6faeff9b..eb5c148715210976d4dbb0d3f58dbba8633098a4 100644 (file)
@@ -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");
 }
 
index 3da889ce320d7d535852511f6ae0ca083c0eeff2..36ce3f4ed5774896176a95acd532b153fbd200ea 100644 (file)
@@ -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
        }
 }