- Bug #3301108 Synchronize and already configured host
- Also, some fields must be readonly instead of disabled
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
======================
|
======================
|
||||||
|
|
||||||
3.4.1.0 (not yet released)
|
3.4.1.0 (not yet released)
|
||||||
|
- bug #3301108 [interface] Synchronize and already configured host
|
||||||
|
|
||||||
3.4.0.0 (2011-05-11)
|
3.4.0.0 (2011-05-11)
|
||||||
+ rfe #2890226 [view] Enable VIEW rename
|
+ rfe #2890226 [view] Enable VIEW rename
|
||||||
|
@@ -1105,9 +1105,9 @@ if (isset($_REQUEST['synchronize_db'])) {
|
|||||||
'ASC', 0, true);
|
'ASC', 0, true);
|
||||||
|
|
||||||
if ($GLOBALS['cfg']['AllowArbitraryServer'] === false) {
|
if ($GLOBALS['cfg']['AllowArbitraryServer'] === false) {
|
||||||
$possibly_disabled = ' disabled="disabled"';
|
$possibly_readonly = ' readonly="readonly"';
|
||||||
} else {
|
} else {
|
||||||
$possibly_disabled = '';
|
$possibly_readonly = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($cons as $type) {
|
foreach ($cons as $type) {
|
||||||
@@ -1172,27 +1172,27 @@ if (isset($_REQUEST['synchronize_db'])) {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class="even toggler remote-server">
|
<tr class="even toggler remote-server">
|
||||||
<td><?php echo __('Server'); ?></td>
|
<td><?php echo __('Server'); ?></td>
|
||||||
<td><input type="text" name="<?php echo $type; ?>_host" class="server-host" <?php echo $possibly_disabled; ?>/></td>
|
<td><input type="text" name="<?php echo $type; ?>_host" class="server-host" <?php echo $possibly_readonly; ?>/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd toggler remote-server">
|
<tr class="odd toggler remote-server">
|
||||||
<td><?php echo __('Port'); ?></td>
|
<td><?php echo __('Port'); ?></td>
|
||||||
<td><input type="text" name="<?php echo $type; ?>_port" class="server-port" <?php echo $possibly_disabled; ?> value="3306" maxlength="5" size="5" /></td>
|
<td><input type="text" name="<?php echo $type; ?>_port" class="server-port" <?php echo $possibly_readonly; ?> value="3306" maxlength="5" size="5" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even toggler remote-server">
|
<tr class="even toggler remote-server">
|
||||||
<td><?php echo __('Socket'); ?></td>
|
<td><?php echo __('Socket'); ?></td>
|
||||||
<td><input type="text" name="<?php echo $type; ?>_socket" class="server-socket" <?php echo $possibly_disabled; ?>/></td>
|
<td><input type="text" name="<?php echo $type; ?>_socket" class="server-socket" <?php echo $possibly_readonly; ?>/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd toggler remote-server">
|
<tr class="odd toggler remote-server">
|
||||||
<td><?php echo __('User name'); ?></td>
|
<td><?php echo __('User name'); ?></td>
|
||||||
<td><input type="text" name="<?php echo $type; ?>_username" class="server-user" <?php echo $possibly_disabled; ?>/></td>
|
<td><input type="text" name="<?php echo $type; ?>_username" class="server-user" <?php echo $possibly_readonly; ?>/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even toggler remote-server">
|
<tr class="even toggler remote-server">
|
||||||
<td><?php echo __('Password'); ?></td>
|
<td><?php echo __('Password'); ?></td>
|
||||||
<td><input type="password" name="<?php echo $type; ?>_pass" class="server-pass" <?php echo $possibly_disabled; ?>/> </td>
|
<td><input type="password" name="<?php echo $type; ?>_pass" class="server-pass" /> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd toggler remote-server">
|
<tr class="odd toggler remote-server">
|
||||||
<td><?php echo __('Database'); ?></td>
|
<td><?php echo __('Database'); ?></td>
|
||||||
<td><input type="text" name="<?php echo $type; ?>_db" class="server-db" <?php echo $possibly_disabled; ?>/></td>
|
<td><input type="text" name="<?php echo $type; ?>_db" class="server-db" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even toggler current-server" style="display: none;">
|
<tr class="even toggler current-server" style="display: none;">
|
||||||
<td><?php echo __('Database'); ?></td>
|
<td><?php echo __('Database'); ?></td>
|
||||||
|
Reference in New Issue
Block a user