diff --git a/pandora_console/godmode/snmpconsole/snmp_filters.php b/pandora_console/godmode/snmpconsole/snmp_filters.php
index d81a2a23c3..085b23957d 100644
--- a/pandora_console/godmode/snmpconsole/snmp_filters.php
+++ b/pandora_console/godmode/snmpconsole/snmp_filters.php
@@ -89,7 +89,8 @@ if ($edit_filter > -1) {
// Create/update form
if ($edit_filter > -2) {
$table->data = array ();
- $table->width = '98%';
+ $table->width = '100%';
+ $table->class = 'databox filters';
$table->data[0][0] = __('Description');
$table->data[0][1] = html_print_input_text ('description', $description, '', 60, 100, true);
$table->data[1][0] = __('Filter');
@@ -114,7 +115,8 @@ else {
$result = db_get_all_rows_in_table ("tsnmp_filter");
if ($result === false) {
$result = array ();
- echo "
".__('There are no SNMP filters')."
";
+ require_once ($config['homedir'] . "/general/firts_task/snmp_filters.php");
+ return;
}
$table->data = array ();
@@ -122,8 +124,8 @@ else {
$table->size = array ();
$table->cellpadding = 4;
$table->cellspacing = 4;
- $table->width = "98%";
- $table->class= "databox";
+ $table->width = "100%";
+ $table->class= "databox data";
$table->align = array ();
$table->head[0] = __('Description');
@@ -149,7 +151,7 @@ else {
unset ($table);
- echo '';
+ echo '
';
echo '
';
diff --git a/pandora_console/include/functions_treeview.php b/pandora_console/include/functions_treeview.php
index 798831d95b..662c4a2828 100755
--- a/pandora_console/include/functions_treeview.php
+++ b/pandora_console/include/functions_treeview.php
@@ -339,6 +339,7 @@ function treeview_printTable($id_agente, $server_data = array()) {
$table = new StdClass();
$table->width = "100%";
+ $table->class = "databox data";
$table->style = array();
$table->style['title'] = 'font-weight: bold;';
$table->head = array();