2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: improved the code source style. * pandoradb.oracle.sql: fixed duplicated fields "critical_instructions", "warning_instructions" and "unknown_instructions" in the table "tagente_modulo". * godmode/agentes/module_manager_editor.php, godmode/agentes/configurar_agente.php: fixed PHP warnings. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c6bacd7403
commit
9a278d6088
|
@ -1,3 +1,14 @@
|
||||||
|
2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* pandoradb.postgreSQL.sql: improved the code source style.
|
||||||
|
|
||||||
|
* pandoradb.oracle.sql: fixed duplicated fields
|
||||||
|
"critical_instructions", "warning_instructions" and
|
||||||
|
"unknown_instructions" in the table "tagente_modulo".
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager_editor.php,
|
||||||
|
godmode/agentes/configurar_agente.php: fixed PHP warnings.
|
||||||
|
|
||||||
2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
|
2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* operation/visual_console/render_view.php,
|
* operation/visual_console/render_view.php,
|
||||||
|
|
|
@ -754,7 +754,7 @@ if ($update_module || $create_module) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$macros_for_data = enterprise_hook('config_agents_get_macros_data_conf', array($_POST));
|
$macros_for_data = enterprise_hook('config_agents_get_macros_data_conf', array($_POST));
|
||||||
|
|
||||||
if($macros_for_data !== ENTERPRISE_NOT_HOOK && $macros_for_data != '') {
|
if($macros_for_data !== ENTERPRISE_NOT_HOOK && $macros_for_data != '') {
|
||||||
// Add macros to configuration file
|
// Add macros to configuration file
|
||||||
$new_configuration_data = str_replace('module_end', $macros_for_data."module_end", $new_configuration_data);
|
$new_configuration_data = str_replace('module_end', $macros_for_data."module_end", $new_configuration_data);
|
||||||
|
|
|
@ -201,7 +201,7 @@ if ($id_agent_module) {
|
||||||
$critical_instructions = $module['critical_instructions'];
|
$critical_instructions = $module['critical_instructions'];
|
||||||
$warning_instructions = $module['warning_instructions'];
|
$warning_instructions = $module['warning_instructions'];
|
||||||
$unknown_instructions = $module['unknown_instructions'];
|
$unknown_instructions = $module['unknown_instructions'];
|
||||||
|
|
||||||
$critical_inverse = $module['critical_inverse'];
|
$critical_inverse = $module['critical_inverse'];
|
||||||
$warning_inverse = $module['warning_inverse'];
|
$warning_inverse = $module['warning_inverse'];
|
||||||
|
|
||||||
|
@ -292,6 +292,8 @@ else {
|
||||||
$mday = '*';
|
$mday = '*';
|
||||||
$month = '*';
|
$month = '*';
|
||||||
$wday = '*';
|
$wday = '*';
|
||||||
|
|
||||||
|
$ff_interval = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -242,9 +242,6 @@ CREATE TABLE tagente_modulo (
|
||||||
warning_instructions CLOB default '',
|
warning_instructions CLOB default '',
|
||||||
unknown_instructions CLOB default '',
|
unknown_instructions CLOB default '',
|
||||||
quiet NUMBER(5, 0) default 0 NOT NULL,
|
quiet NUMBER(5, 0) default 0 NOT NULL,
|
||||||
critical_instructions VARCHAR2(255) default '',
|
|
||||||
warning_instructions VARCHAR2(255) default '',
|
|
||||||
unknown_instructions VARCHAR2(255) default '',
|
|
||||||
critical_inverse NUMBER(1, 0) default 0 NOT NULL,
|
critical_inverse NUMBER(1, 0) default 0 NOT NULL,
|
||||||
warning_inverse NUMBER(1, 0) default 0 NOT NULL,
|
warning_inverse NUMBER(1, 0) default 0 NOT NULL,
|
||||||
id_category NUMBER(10, 0) default 0 NOT NULL,
|
id_category NUMBER(10, 0) default 0 NOT NULL,
|
||||||
|
|
|
@ -231,9 +231,9 @@ CREATE TABLE "tagente_modulo" (
|
||||||
"wizard_level" type_tagente_modulo_wizard_level default 'nowizard',
|
"wizard_level" type_tagente_modulo_wizard_level default 'nowizard',
|
||||||
"macros" TEXT default '',
|
"macros" TEXT default '',
|
||||||
"critical_instructions" TEXT default '',
|
"critical_instructions" TEXT default '',
|
||||||
"warning_instructions" TEXT default '',
|
"warning_instructions" TEXT default '',
|
||||||
"unknown_instructions" TEXT default '',
|
"unknown_instructions" TEXT default '',
|
||||||
"quiet" SMALLINT NOT NULL default 0,
|
"quiet" SMALLINT NOT NULL default 0,
|
||||||
"critical_inverse" SMALLINT NOT NULL default 0,
|
"critical_inverse" SMALLINT NOT NULL default 0,
|
||||||
"warning_inverse" SMALLINT NOT NULL default 0,
|
"warning_inverse" SMALLINT NOT NULL default 0,
|
||||||
"id_category" INTEGER NOT NULL default 0
|
"id_category" INTEGER NOT NULL default 0
|
||||||
|
|
Loading…
Reference in New Issue