diff --git a/pandora_console/extensions/quick_shell.php b/pandora_console/extensions/quick_shell.php index 90ee03bae4..d2e1c5b4e6 100644 --- a/pandora_console/extensions/quick_shell.php +++ b/pandora_console/extensions/quick_shell.php @@ -74,7 +74,7 @@ function quickShell() config_update_value('ws_port', 8080); } - if (isset($config['ws_proxy_url']) === false) { + if (empty($config['ws_proxy_url']) === true) { $ws_url = 'http://'.$config['ws_host'].':'.$config['ws_port']; } else { preg_match('/\/\/(.*)/', $config['ws_proxy_url'], $matches); diff --git a/pandora_console/extensions/quick_shell/Gotty.class.php b/pandora_console/extensions/quick_shell/Gotty.class.php deleted file mode 100644 index c5c79730c0..0000000000 --- a/pandora_console/extensions/quick_shell/Gotty.class.php +++ /dev/null @@ -1,74 +0,0 @@ - false, - 'text' => ''.html_print_image('images/groups_small/application_osx_terminal.png', true, ['title' => __('Wetty')]).'', - ]; - - ui_print_page_header(__('Wetty'), 'images/extensions.png', false, '', true, $buttons); - - $row = 0; - - echo '
'; - -} - - -extensions_add_godmode_function('confWetty'); - diff --git a/pandora_console/extensions/quick_shell/old_ext1.php b/pandora_console/extensions/quick_shell/old_ext1.php deleted file mode 100644 index a89abe5dea..0000000000 --- a/pandora_console/extensions/quick_shell/old_ext1.php +++ /dev/null @@ -1,76 +0,0 @@ - false, - 'text' => ''.html_print_image('images/setup.png', true, ['title' => __('Wetty settings')]).'', - ]; - - ui_print_page_header(__('Wetty'), 'images/extensions.png', false, '', true, $buttons); - - $table->width = '100%'; - $table->class = 'databox data'; - $table->data = []; - $table->head = []; - $table->align = []; - // $table->align[3] = 'left'; - $table->style = []; - $table->size = []; - // $table->size[3] = '10%'; - $table->style[0] = 'font-weight: bold'; - - $table->head[0] = __('Wetty'); - - // $data[0] = ''; - $data[0] = ''; - - // $data[0] .= '