diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bfab299131..1f81e68185 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,25 @@ +2012-09-07 Juan Manuel Ramon + + * include/functions_html.php + include/graphs/fgraph.php + include/functions_reporting.php + include/javascript/pandora.js + include/ajax/reporting.ajax.php + include/ajax/agent.php + pandoradb.sql + pandoradb.postgreSQL.sql + pandoradb.oracle.sql + operation/agentes/ver_agente.php + operation/reporting/reporting_viewer.php + extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql + extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql + extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql + general/header.php + godmode/reporting/reporting_builder.list_items.php + godmode/reporting/reporting_builder.php + godmode/reporting/reporting_builder.item_editor.php: Integration of reports + in metaconsole. + 2012-09-07 Miguel de Dios * include/functions_ui.php: fixed the ui_get_full_url function, because sometimes added two times the php script name. diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql index fa5f1c2c6e..b5920a8e27 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql @@ -190,6 +190,7 @@ ALTER TABLE treport_content_item ADD FOREIGN KEY (`id_report_content`) REFERENCE -- ----------------------------------------------------- ALTER TABLE treport ADD COLUMN `id_template` INTEGER UNSIGNED DEFAULT 0; ALTER TABLE treport ADD COLUMN `id_group_edit` mediumint(8) unsigned NULL DEFAULT 0; +ALTER TABLE treport ADD COLUMN `metaconsole` tinyint(1) DEFAULT 0; -- ----------------------------------------------------- -- Table `tgraph` diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql index bb27221682..7d6c4205dc 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql @@ -194,6 +194,7 @@ ALTER TABLE treport_content_item ADD FOREIGN KEY (id_report_content) REFERENCES -- ----------------------------------------------------- ALTER TABLE treport ADD (id_template NUMBER(10, 0) default 0 NOT NULL); ALTER TABLE treport ADD (id_group_edit NUMBER(19, 0) default 0 NOT NULL); +ALTER TABLE treport ADD (metaconsole NUMBER(5, 0) DEFAULT 0); -- ----------------------------------------------------- -- Table `tgraph` diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql index d259cacc86..ac0de9d5fa 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql @@ -194,6 +194,7 @@ INSERT INTO "tconfig" ("token", "value") VALUES ('event_fields', 'evento,id_agen -- ----------------------------------------------------- ALTER TABLE "treport" ADD COLUMN "id_template" INTEGER NOT NULL default 0; ALTER TABLE "treport" ADD COLUMN "id_group_edit" BIGINT NOT NULL default 0; +ALTER TABLE "treport" ADD COLUMN "metaconsole" SMALLINT DEFAULT 0; -- ----------------------------------------------------- -- Table `tgraph` diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index f8e3286d11..2a6117d1a3 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -103,7 +103,7 @@ config_check(); '; $servers["all"] = (int) db_get_value ('COUNT(id_server)','tserver'); @@ -123,7 +123,7 @@ config_check(); } unset ($servers); // Since this is the header, we don't like to trickle down variables. echo ''; - } + //} ?> @@ -182,7 +182,7 @@ config_check();