2010-11-10 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Check de enterprise version to show the baseline graph option in reports git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d4325770be
commit
8dfadd90df
|
@ -1,3 +1,8 @@
|
|||
2010-11-10 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions.php: Check de enterprise version to
|
||||
show the baseline graph option in reports
|
||||
|
||||
2010-11-10 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_reporting.php
|
||||
|
|
|
@ -618,9 +618,13 @@ function get_alert_times ($row2) {
|
|||
* @return array An array with all the possible reports in Pandora where the array index is the report id.
|
||||
*/
|
||||
function get_report_types () {
|
||||
global $config;
|
||||
|
||||
$types = array ();
|
||||
$types['simple_graph'] = __('Simple graph');
|
||||
if($config['enterprise_installed']) {
|
||||
$types['simple_baseline_graph'] = __('Simple baseline graph');
|
||||
}
|
||||
$types['custom_graph'] = __('Custom graph');
|
||||
$types['SLA'] = __('S.L.A.');
|
||||
$types['monitor_report'] = __('Monitor report');
|
||||
|
|
Loading…
Reference in New Issue