Show textarea with multiple databases
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1107 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
471ae2b2d6
commit
b6eed5c885
|
@ -68,7 +68,7 @@ if ($_POST) {
|
||||||
|
|
||||||
<form action="" method="post">
|
<form action="" method="post">
|
||||||
<p>
|
<p>
|
||||||
<?php echo ($_POST["add_x"]
|
<?php echo ($_POST["add_x"] || strpos($name, "\n")
|
||||||
? '<textarea name="name" rows="10" cols="40">' . h($name) . '</textarea><br>'
|
? '<textarea name="name" rows="10" cols="40">' . h($name) . '</textarea><br>'
|
||||||
: '<input name="name" value="' . h($name) . '" maxlength="64">'
|
: '<input name="name" value="' . h($name) . '" maxlength="64">'
|
||||||
) . "\n"; ?>
|
) . "\n"; ?>
|
||||||
|
|
Loading…
Reference in a new issue