mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
change order of form port input
This commit is contained in:
parent
5eb2953810
commit
8b6c1261a9
@ -75,12 +75,6 @@ if (isset($_GET['server'])) {
|
|||||||
__('Exec Server'),
|
__('Exec Server'),
|
||||||
html_print_checkbox('exec_proxy', 1, $row['exec_proxy'], true),
|
html_print_checkbox('exec_proxy', 1, $row['exec_proxy'], true),
|
||||||
];
|
];
|
||||||
if ($row['exec_proxy']) {
|
|
||||||
$table->data[] = [
|
|
||||||
__('Check Exec Server'),
|
|
||||||
'<a id="check_exec_server">'.html_print_image('images/dot_red.disabled.png', true).'</a>'.'<div id="check_error_message"></div>',
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
$port_number = empty($row['port']) ? '' : $row['port'];
|
$port_number = empty($row['port']) ? '' : $row['port'];
|
||||||
|
|
||||||
@ -88,6 +82,13 @@ if (isset($_GET['server'])) {
|
|||||||
__('Port'),
|
__('Port'),
|
||||||
html_print_input_text('port', $port_number, '', 10, 0, true).ui_print_help_tip(__('Leave blank to use SSH default port (22)'), true),
|
html_print_input_text('port', $port_number, '', 10, 0, true).ui_print_help_tip(__('Leave blank to use SSH default port (22)'), true),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if ($row['exec_proxy']) {
|
||||||
|
$table->data[] = [
|
||||||
|
__('Check Exec Server'),
|
||||||
|
'<a id="check_exec_server">'.html_print_image('images/dot_red.disabled.png', true).'</a>'.'<div id="check_error_message"></div>',
|
||||||
|
];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user