diff --git a/pandora_console/extensions/net_tools/nettool.png b/pandora_console/extensions/net_tools/nettool.png
index 9161739c27..9a78741f1d 100644
Binary files a/pandora_console/extensions/net_tools/nettool.png and b/pandora_console/extensions/net_tools/nettool.png differ
diff --git a/pandora_console/extensions/ssh_gateway.php b/pandora_console/extensions/ssh_gateway.php
index 1d2ddcab75..6f69e39886 100644
--- a/pandora_console/extensions/ssh_gateway.php
+++ b/pandora_console/extensions/ssh_gateway.php
@@ -57,7 +57,7 @@ function ssh_gateway () {
echo "
".__("Host address")." | ";
//echo " | ";
echo "".__("User")." | " . ui_print_help_tip(__('For security reasons the following characters are not allowed: %s', '< > | ` $ ; &'), true);
- echo " | ";
+ echo " | ";
echo " | ";
echo "
";
echo "".__("Port (use 0 for default)")." | ";
diff --git a/pandora_console/extensions/ssh_gateway/secure_console.png b/pandora_console/extensions/ssh_gateway/secure_console.png
index b571eb7c86..f8d5f63e24 100644
Binary files a/pandora_console/extensions/ssh_gateway/secure_console.png and b/pandora_console/extensions/ssh_gateway/secure_console.png differ
diff --git a/pandora_console/extensions/vnc_view.php b/pandora_console/extensions/vnc_view.php
index 655fe5071c..f10000c981 100644
--- a/pandora_console/extensions/vnc_view.php
+++ b/pandora_console/extensions/vnc_view.php
@@ -25,7 +25,7 @@ function vnc_view() {
echo __("VNC Display (:0 by default)") . " ";
echo "";
echo " | ";
- echo "";
+ echo "";
echo " | ";
echo "
";
$port = 5800 + $display;
diff --git a/pandora_console/godmode/agentes/agent_conf_gis.php b/pandora_console/godmode/agentes/agent_conf_gis.php
index 7ab1aa17a8..62f8703b91 100644
--- a/pandora_console/godmode/agentes/agent_conf_gis.php
+++ b/pandora_console/godmode/agentes/agent_conf_gis.php
@@ -46,10 +46,10 @@ if (!gis_get_agent_map($id_agente, "500px", "98%", false)) {
}
if ($agentData === false) {
- echo "" . __("There is no GIS data for this agent, so it's positioned in default position of map.") . "
";
+ ui_print_info_message ( __("There is no GIS data for this agent, so it's positioned in default position of map.") );
}
-echo "" .
- __("Warning: When you change the Agent position, the agent automatically activates the 'Ignore new GIS data' option") . "
";
+ui_print_warning_message (
+ __("When you change the Agent position, the agent automatically activates the 'Ignore new GIS data' option") );
$table->width = '100%';
$table->class = 'databox filters';
diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php
index 5aa6367e81..212563d1b1 100644
--- a/pandora_console/godmode/agentes/agent_manager.php
+++ b/pandora_console/godmode/agentes/agent_manager.php
@@ -141,7 +141,7 @@ if ($disk_conf_delete) {
echo '';
-if (check_acl ($config['id_user'], 0, "AW") || check_acl ($config['id_user'], 0, "AM")) {
- echo '';
- echo '";
- echo '
';
-}
-
if ($search != "") {
$filter = array ("string" => '%' . $search . '%');
}
@@ -427,11 +418,11 @@ if (empty ($agents)) {
// Prepare pagination
ui_pagination ($total_agents,
- ui_get_url_refresh (array ('group_id' => $group_id, 'recursion' => $recursion, 'search' => $search, 'sort_field' => $sortField, 'sort' => $sort, 'status' => $status)));
+ui_get_url_refresh (array ('group_id' => $group_id, 'recursion' => $recursion, 'search' => $search, 'sort_field' => $sortField, 'sort' => $sort, 'status' => $status)));
// Show data.
-$table->cellpadding = 4;
-$table->cellspacing = 4;
+$table->cellpadding = 0;
+$table->cellspacing = 0;
$table->width = "100%";
$table->class = "databox data";
@@ -439,35 +430,52 @@ $table->head = array ();
$table->head[0] = __('Agent'). ' ' .
'' . html_print_image("images/sort_up.png", true, array("style" => $selectNameUp, "alt" => "up")) . '' .
'' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown, "alt" => "down")) . '';
+$table->size[0] = "10%";
+
$table->head[1] = __('Description');
+$table->size[1] = "30%";
+
$table->head[2] = __('OS'). ' ' .
'' . html_print_image("images/sort_up.png", true, array("style" => $selectOsUp, "alt" => "up")) . '' .
'' . html_print_image("images/sort_down.png", true, array("style" => $selectOsDown, "alt" => "down")) . '';
+$table->size[2] = "4%";
+
$table->head[3] = __('Interval'). ' ' .
'' . html_print_image("images/sort_up.png", true, array("style" => $selectIntervalUp, "alt" => "up")) . '' .
'' . html_print_image("images/sort_down.png", true, array("style" => $selectIntervalDown, "alt" => "down")) . '';
+$table->size[3] = "10%";
+
$table->head[4] = __('Group'). ' ' .
'' . html_print_image("images/sort_up.png", true, array("style" => $selectGroupUp, "alt" => "up")) . '' .
'' . html_print_image("images/sort_down.png", true, array("style" => $selectGroupDown, "alt" => "down")) . '';
+$table->size[4] = "15%";
+
$table->head[5] = __('Modules');
+$table->size[5] = "10%";
+
$table->head[6] = __('Status');
+$table->size[6] = "4%";
+
$table->head[7] = __('Alerts');
+$table->size[7] = "4%";
+
$table->head[8] = __('Last contact'). ' ' .
'' . html_print_image("images/sort_up.png", true, array("style" => $selectLastContactUp, "alt" => "up")) . '' .
'' . html_print_image("images/sort_down.png", true, array("style" => $selectLastContactDown, "alt" => "down")) . '';
+$table->size[8] = "15%";
$table->align = array ();
$table->align[2] = "center";
-$table->align[3] = "center";
-$table->align[4] = "center";
-$table->align[5] = "center";
+$table->align[3] = "left";
+$table->align[4] = "left";
+$table->align[5] = "left";
$table->align[6] = "center";
$table->align[7] = "center";
-$table->align[8] = "right";
+$table->align[8] = "left";
$table->style = array();
-$table->style[0] = 'width: 15%';
+//$table->style[0] = 'width: 15%';
$table->data = array ();
@@ -489,14 +497,14 @@ foreach ($agents as $agent) {
$data = array ();
- $data[0] = '';
- $data[0] .= '';
+ $data[0] = '';
+ $data[0] .= '
';
if ($agent['quiet']) {
$data[0] .= html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . " ";
}
$data[0] .= ui_print_agent_name($agent["id_agente"], true, 60, 'font-size:6.5pt !important;', true);
$data[0] .= '';
- $data[0] .= '
';
+ $data[0] .= '
';
+ $data[0] .= '
';
$data[1] = ui_print_truncate_text(strip_tags(ui_bbcode_to_html($agent["description"])), 'description', false, true, true, '[…]', 'font-size: 6.5pt');
@@ -541,6 +549,14 @@ foreach ($agents as $agent) {
if (!empty ($table->data)) {
html_print_table ($table);
+ if (check_acl ($config['id_user'], 0, "AW") || check_acl ($config['id_user'], 0, "AM")) {
+ echo '';
+ echo '";
+ echo '
';
+ }
ui_pagination ($total_agents,
ui_get_url_refresh(array(
'group_id' => $group_id,
@@ -550,20 +566,20 @@ if (!empty ($table->data)) {
'status' => $status)),
0, 0, false, 'offset', false);
unset ($table);
+
}
else {
- echo ''.__('There are no defined agents').'
';
+ ui_print_info_message (__('There are no defined agents') );
}
?>
diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php
index 1fe7cf476f..b3480df599 100755
--- a/pandora_console/operation/agentes/estado_generalagente.php
+++ b/pandora_console/operation/agentes/estado_generalagente.php
@@ -60,9 +60,9 @@ if (! check_acl ($config["id_user"], $agent["id_grupo"], "AR") && !$is_extra) {
// START: TABLE AGENT BUILD
$table_agent->id = 'agent_details_main';
-$table_agent->width = '450px';
-$table_agent->cellspacing = 4;
-$table_agent->cellpadding = 4;
+$table_agent->width = '82%';
+$table_agent->cellspacing = 0;
+$table_agent->cellpadding = 0;
$table_agent->class = 'databox';
$table_agent->style[0] = 'width: 16px; text-align:center; padding: 0px;';
$table_agent->style[5] = 'width: 16px; text-align:center; padding: 0px;';
@@ -184,8 +184,8 @@ $table_agent->rowclass[] = '';
// START: TABLE CONTACT BUILD
$table_contact->id = 'agent_contact_main';
$table_contact->width = '100%';
-$table_contact->cellspacing = 4;
-$table_contact->cellpadding = 4;
+$table_contact->cellspacing = 0;
+$table_contact->cellpadding = 0;
$table_contact->class = 'databox data';
$table_contact->style[0] = 'width: 30%;';
$table_contact->style[1] = 'width: 70%;';
@@ -227,8 +227,8 @@ $table_contact->data[] = $data;
// START: TABLE DATA BUILD
$table_data->id = 'agent_data_main';
$table_data->width = '100%';
-$table_data->cellspacing = 4;
-$table_data->cellpadding = 4;
+$table_data->cellspacing = 0;
+$table_data->cellpadding = 0;
$table_data->class = 'databox data';
$table_data->style[0] = 'width: 30%;';
$table_data->style[1] = 'width: 70%;';
@@ -355,8 +355,8 @@ if ($last_incident != false) {
$table_incident->id = 'agent_incident_main';
$table_incident->width = '100%';
- $table_incident->cellspacing = 4;
- $table_incident->cellpadding = 4;
+ $table_incident->cellspacing = 0;
+ $table_incident->cellpadding = 0;
$table_incident->class = 'databox';
$table_incident->style[0] = 'width: 30%;';
$table_incident->style[1] = 'width: 70%;';
@@ -484,8 +484,8 @@ if (!empty($network_interfaces)) {
$table = null;
$table->id = 'agent_details';
$table->width = '100%';
-$table->cellspacing = 4;
-$table->cellpadding = 4;
+$table->cellspacing = 0;
+$table->cellpadding = 0;
$table->class = 'agents';
$table->style = array_fill(0, 3, 'vertical-align: top;');
@@ -508,7 +508,7 @@ $access_agent = db_get_value_sql("SELECT COUNT(id_agent)
if ($config["agentaccess"] && $access_agent > 0) {
$data[0] .=
- '
+ '
' .
__('Agent access rate (24h)') .
' |
' .
diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php
index 7ed66d8a0e..8034960405 100755
--- a/pandora_console/operation/agentes/estado_monitores.php
+++ b/pandora_console/operation/agentes/estado_monitores.php
@@ -450,7 +450,7 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1,
}
$table->data[0][5] = html_print_select ($rows_select,'status_module_group', $status_module_group, '', '',0, true);
$table->data[0][6] = html_print_button(__('Filter'), 'filter', false, 'filter_modules();', 'class="sub search"', true);
- $table->data[0][7] = ' ' . html_print_button(__('Reset'), 'filter', false, 'reset_filter_modules();', 'class="sub upd"', true);
+ $table->data[0][7] = ' ' . html_print_button(__('Reset'), 'filter', false, 'reset_filter_modules();', 'class="sub upd" style="margin-top:0px;"', true);
$form_text .= html_print_table($table, true);
$filter_hidden = false;
@@ -459,6 +459,6 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1,
$filter_hidden = true;
}
- ui_toggle($form_text, __('Form filter'), __('Form filter'), $filter_hidden);
+ echo $form_text;
}
?>
diff --git a/pandora_console/operation/agentes/gis_view.php b/pandora_console/operation/agentes/gis_view.php
index e96cc42f96..a0d3a2a043 100644
--- a/pandora_console/operation/agentes/gis_view.php
+++ b/pandora_console/operation/agentes/gis_view.php
@@ -52,7 +52,7 @@ echo "";
echo "";
if (!gis_get_agent_map($id_agente, "500px", "100%", true, true, $period)) {
- ui_print_error_message(__("There is no default map. Please go to the setup for to set a default map."));
+ ui_print_error_message( __("There is no default map. Please go to the setup for to set a default map.") );
echo "