mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added experimental token to display Automatic Combined Graphs TICKETS #3461
This commit is contained in:
parent
0538621ace
commit
5dc47e3a5f
@ -514,7 +514,8 @@ function reports_get_report_types ($template = false, $not_editor = false) {
|
|||||||
$types['sql_graph_hbar'] = array('optgroup' => __('Graphs'),
|
$types['sql_graph_hbar'] = array('optgroup' => __('Graphs'),
|
||||||
'name' => __('SQL horizonal bar graph'));
|
'name' => __('SQL horizonal bar graph'));
|
||||||
}
|
}
|
||||||
if ($template && !defined('METACONSOLE')) {
|
|
||||||
|
if ($template && (!defined('METACONSOLE') or $config['experimental_v_word'] == 1)) {
|
||||||
$types['automatic_graph'] = array('optgroup' => __('Graphs'),
|
$types['automatic_graph'] = array('optgroup' => __('Graphs'),
|
||||||
'name' => __('Automatic combined Graph'));
|
'name' => __('Automatic combined Graph'));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user