Space between DB and Use
This commit is contained in:
parent
c0b2c506bc
commit
c75096f173
|
@ -986,10 +986,10 @@ bodyLoad('<?php echo (is_object($connection) ? preg_replace('~^(\\d\\.?\\d).*~s'
|
||||||
<p id="dbs">
|
<p id="dbs">
|
||||||
<?php
|
<?php
|
||||||
hidden_fields_get();
|
hidden_fields_get();
|
||||||
$db_events = script("mixin(qsl('select'), {onmousedown: dbMouseDown, onchange: dbChange});", "");
|
$db_events = script("mixin(qsl('select'), {onmousedown: dbMouseDown, onchange: dbChange});");
|
||||||
echo "<span title='" . lang('database') . "'>" . lang('DB') . "</span>: " . ($databases
|
echo "<span title='" . lang('database') . "'>" . lang('DB') . "</span>: " . ($databases
|
||||||
? "<select name='db'>" . optionlist(array("" => "") + $databases, DB) . "</select>$db_events"
|
? "<select name='db'>" . optionlist(array("" => "") + $databases, DB) . "</select>$db_events"
|
||||||
: '<input name="db" value="' . h(DB) . '" autocapitalize="off">'
|
: "<input name='db' value='" . h(DB) . "' autocapitalize='off'>\n"
|
||||||
);
|
);
|
||||||
echo "<input type='submit' value='" . lang('Use') . "'" . ($databases ? " class='hidden'" : "") . ">\n";
|
echo "<input type='submit' value='" . lang('Use') . "'" . ($databases ? " class='hidden'" : "") . ">\n";
|
||||||
if ($missing != "db" && DB != "" && $connection->select_db(DB)) {
|
if ($missing != "db" && DB != "" && $connection->select_db(DB)) {
|
||||||
|
|
Loading…
Reference in a new issue