From b880f8c7269ced065d41b765cd35708d5eb09cdc Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 30 Jun 2015 17:05:58 +0200 Subject: [PATCH] Fixed style event list in metaconsole --- pandora_console/operation/events/events.build_table.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pandora_console/operation/events/events.build_table.php b/pandora_console/operation/events/events.build_table.php index 8407dfb974..7f437b0845 100644 --- a/pandora_console/operation/events/events.build_table.php +++ b/pandora_console/operation/events/events.build_table.php @@ -13,17 +13,18 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. +$table = new stdClass(); if(!isset($table->width)) { - $table = new stdClass(); $table->width = '100%'; } - -$table = new stdClass(); $table->id = "eventtable"; $table->cellpadding = 4; $table->cellspacing = 4; if(!isset($table->class)) { - $table->class = "databox data"; + if (defined("METACONSOLE")) + $table->class = "databox"; + else + $table->class = "databox data"; } $table->head = array (); $table->data = array ();