diff --git a/pandora_console/godmode/servers/plugin.php b/pandora_console/godmode/servers/plugin.php index fa5b9d98b4..856ab5f68f 100644 --- a/pandora_console/godmode/servers/plugin.php +++ b/pandora_console/godmode/servers/plugin.php @@ -337,7 +337,7 @@ if (($create != '') || ($view != '')) { $data = []; $data[0] = __('Name'); - $data[1] = ''; + $data[1] = ''; $table->colspan['plugin_name'][1] = 3; $table->data['plugin_name'] = $data; @@ -399,7 +399,7 @@ if (($create != '') || ($view != '')) { $data = []; $data[0] = __('Plugin command').ui_print_help_tip(__('Specify interpreter and plugin path. The server needs permissions to run it.'), true); - $data[1] = ''; + $data[1] = ''; if ($locked) { $data[1] .= html_print_image('images/lock_mc.png', true, ['class' => 'command_advanced_conf lock', 'class' => 'invert_filter']); } @@ -411,7 +411,7 @@ if (($create != '') || ($view != '')) { $data = []; $data[0] = __('Plug-in parameters'); - $data[1] = ''; + $data[1] = ''; if ($locked) { $data[1] .= html_print_image('images/lock_mc.png', true, ['class' => 'command_advanced_conf lock', 'class' => 'invert_filter']); } @@ -484,13 +484,13 @@ if (($create != '') || ($view != '')) { $datam = []; $datam[0] = __('Description')." ($macro_name)"; $datam[0] .= html_print_input_hidden($macro_name_name, $macro_name, true); - $datam[1] = html_print_input_text_extended($macro_desc_name, $macro_desc_value, 'text-'.$macro_desc_name, '', 30, 255, $locked, '', "class='command_macro'", true); + $datam[1] = html_print_input_text_extended($macro_desc_name, $macro_desc_value, 'text-'.$macro_desc_name, '', 30, 255, $locked, '', "class='command_macro text_input'", true); if ($locked) { $datam[1] .= html_print_image('images/lock_mc.png', true, ['class' => 'command_macro lock', 'class' => 'invert_filter']); } $datam[2] = __('Default value')." ($macro_name)"; - $datam[3] = html_print_input_text_extended($macro_value_name, $macro_value_value, 'text-'.$macro_value_name, '', 30, 255, $locked, '', "class='command_component command_macro'", true); + $datam[3] = html_print_input_text_extended($macro_value_name, $macro_value_value, 'text-'.$macro_value_name, '', 30, 255, $locked, '', "class='command_component command_macro text_input'", true); if ($locked) { $datam[3] .= html_print_image('images/lock_mc.png', true, ['class' => 'command_macro lock', 'class' => 'invert_filter']); } diff --git a/pandora_console/godmode/setup/links.php b/pandora_console/godmode/setup/links.php index 61781d2e57..7135936d34 100644 --- a/pandora_console/godmode/setup/links.php +++ b/pandora_console/godmode/setup/links.php @@ -114,11 +114,11 @@ if ((isset($_GET['form_add'])) or (isset($_GET['form_edit']))) { echo "'>"; echo ' '.__('Link name').' - '; + '; echo ' '.__('Link').' - '; + '; echo ''; echo ''; echo ""; diff --git a/pandora_console/godmode/setup/news.php b/pandora_console/godmode/setup/news.php index b340e70066..a7a22cfe67 100644 --- a/pandora_console/godmode/setup/news.php +++ b/pandora_console/godmode/setup/news.php @@ -181,7 +181,7 @@ if ((isset($_GET['form_add'])) || (isset($_GET['form_edit']))) { $data = []; $data[0] = __('Subject').'
'; - $data[0] .= ''; + $data[0] .= ''; $data[1] = __('Group').'
'; $data[1] .= '
'; diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index a02d140290..b081b7e69f 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -2690,7 +2690,9 @@ function html_print_input_password( } if ($class) { - $attr['class'] = $class; + $attr['class'] = $class.' '.'password_input'; + } else { + $attr['class'] = 'password_input'; } if ($disabled === false) { @@ -2761,7 +2763,9 @@ function html_print_input_text( } if ($class != '') { - $attr['class'] = $class; + $attr['class'] = $class.' '.'text_input'; + } else { + $attr['class'] = 'text_input'; } if ($onChange != '') { @@ -4554,7 +4558,7 @@ function html_print_autocomplete_modules( 100, false, '', - ['style' => 'background: url('.$module_icon.') no-repeat right; '.$text_color.''] + ['style' => 'border: none; padding: 2px 5px; margin-bottom: 4px; border-bottom: 1px solid #ccc; border-radius: 0; background: url('.$module_icon.') no-repeat right; '.$text_color.''] ); html_print_input_hidden($name.'_hidden', $id_agent_module); diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index b883b1f597..b793913168 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -5882,7 +5882,7 @@ function ui_print_agent_autocomplete_input($parameters) } $attrs = []; - $attrs['style'] = 'padding-right: 20px; background: url('.$icon_image.') no-repeat right; '.$text_color.''; + $attrs['style'] = 'padding-right: 20px; padding: 2px 5px; margin-bottom: 4px; border: none; border-bottom: 1px solid #ccc; border-radius: 0; background: url('.$icon_image.') no-repeat right; '.$text_color.''; if (!$disabled_javascript_on_blur_function) { $attrs['onblur'] = $javascript_on_blur_function_name.'()'; diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index da9d972f4a..d49361fae6 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -9054,3 +9054,21 @@ div#err_msg_centralised { padding-top: 15px; } } + +.text_input { + background-color: transparent !important; + border: none; + border-radius: 0; + border-bottom: 1px solid #ccc; + margin-bottom: 4px; + padding: 2px 5px; +} + +.password_input { + background-color: transparent !important; + border: none !important; + border-radius: 0 !important; + border-bottom: 1px solid #ccc !important; + margin-bottom: 4px !important; + padding: 2px 5px !important; +}