2012-12-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/functions_reports.php: Hide inventory changes report in
	temaplate functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-12-27 10:16:21 +00:00
parent 8756fb8eff
commit 7c8dfbd28b
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-12-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reports.php: Hide inventory changes report in
temaplate functionality.
2012-12-27 Hirofumi Kosaka <kosaka@rworks.jp>
* general/logon_ok.php: Fixed typo. (fixed a bug that the

View File

@ -596,9 +596,11 @@ function reports_get_report_types ($template = false, $not_editor = false) {
if($config['enterprise_installed']) {
$types['inventory'] = array('optgroup' => __('Inventory'),
'name' => __('Inventory'));
if (!$template) {
$types['inventory_changes'] = array('optgroup' => __('Inventory'),
'name' => __('Inventory changes'));
}
}
$types['agent_configuration'] = array('optgroup' => __('Configuration'),
'name' => __('Agent configuration'));