2011-02-17 Ramon Novoa <rnovoa@artica.es>
* include/functions.php: Hide custom SQL reports from non PM users when creating reports. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
9e4e0fd87e
commit
810516479a
|
@ -1,3 +1,8 @@
|
|||
2011-02-17 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions.php: Hide custom SQL reports from non PM users
|
||||
when creating reports.
|
||||
|
||||
2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* images/os_icons/android_small.png,
|
||||
|
|
|
@ -647,11 +647,16 @@ function get_report_types () {
|
|||
$types['min_value'] = __('Min. Value');
|
||||
$types['sumatory'] = __('Summatory');
|
||||
//$types['agent_detailed'] = __('Agent detailed view');
|
||||
$types['text'] = __('Text');
|
||||
$types['sql'] = __('SQL query');
|
||||
$types['sql_graph_vbar'] = __('SQL vertical bar graph');
|
||||
$types['sql_graph_pie'] = __('SQL pie graph');
|
||||
$types['sql_graph_hbar'] = __('SQL horizonal bar graph');
|
||||
$types['text'] = __ ('Text');
|
||||
|
||||
# Only pandora managers have access to the whole database
|
||||
if (give_acl ($config['id_user'], 0, "PM")) {
|
||||
$types['sql'] = __('SQL query');
|
||||
$types['sql_graph_vbar'] = __('SQL vertical bar graph');
|
||||
$types['sql_graph_pie'] = __('SQL pie graph');
|
||||
$types['sql_graph_hbar'] = __('SQL horizonal bar graph');
|
||||
}
|
||||
|
||||
$types['url'] = __('Import text from URL');
|
||||
$types['database_serialized'] = __('Serialize data');
|
||||
$types['TTRT'] = __('TTRT');
|
||||
|
|
Loading…
Reference in New Issue