2011-06-14 Javier Lanz <javier.lanz@artica.es>

* godmode/agentes/module_manager_editor_prediction.php: Added enterprise
	hook for synthetic modules


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-06-14 07:43:41 +00:00
parent df3a5ede46
commit 3f00788795
2 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-06-14 Javier Lanz <javier.lanz@artica.es>
* godmode/agentes/module_manager_editor_prediction.php: Added enterprise
hook for synthetic modules
2011-06-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php

View File

@ -96,6 +96,25 @@ $table_simple->colspan['prediction_module'][1] = 3;
push_table_simple ($data, 'prediction_module');
// Synthetic modules are an Enterprise feature.
$data = array();
$synthetic_selector = enterprise_hook ('get_synthetic_module_selector', array($is_service));
if ($synthetic_selector !== ENTERPRISE_NOT_HOOK) {
$data[0] = __('Synthetic module');
$data[1] = $synthetic_selector;
$table_simple->colspan['synthetic_selector'][1] = 3;
push_table_simple ($data, 'synthetic_selector');
}
$data = array();
$synthetic_module_form = enterprise_hook ('get_synthetic_module_form');
if ($synthetic_module_form !== ENTERPRISE_NOT_HOOK) {
$data[0] = '';
$data[1] = $synthetic_module_form;
$table_simple->colspan['synthetic_module_form'][1] = 3;
push_table_simple ($data, 'synthetic_module_form');
}
/* Removed common useless parameter */
unset ($table_advanced->data[3]);
unset ($table_advanced->data[2][2]);