mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
minor changes in integria integration
This commit is contained in:
parent
9bf2980f01
commit
9153330832
@ -296,7 +296,7 @@ if (check_acl($config['id_user'], 0, 'PM')) {
|
|||||||
$sub2['godmode/setup/setup&section=ehorus']['refr'] = 0;
|
$sub2['godmode/setup/setup&section=ehorus']['refr'] = 0;
|
||||||
|
|
||||||
$sub2['godmode/setup/setup&section=integria']['text'] = __('Integria IMS');
|
$sub2['godmode/setup/setup&section=integria']['text'] = __('Integria IMS');
|
||||||
$sub2['godmode/setup/setup&section=ehorus']['refr'] = 0;
|
$sub2['godmode/setup/setup&section=integria']['refr'] = 0;
|
||||||
|
|
||||||
$sub2['godmode/setup/setup&section=notifications']['text'] = __('Notifications');
|
$sub2['godmode/setup/setup&section=notifications']['text'] = __('Notifications');
|
||||||
$sub2['godmode/setup/setup&section=notifications']['refr'] = 0;
|
$sub2['godmode/setup/setup&section=notifications']['refr'] = 0;
|
||||||
|
@ -294,7 +294,7 @@ $row['control'] = html_print_select(
|
|||||||
'default_group',
|
'default_group',
|
||||||
$config['default_group'],
|
$config['default_group'],
|
||||||
'',
|
'',
|
||||||
'',
|
__('Select'),
|
||||||
0,
|
0,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
|
@ -16,7 +16,7 @@ global $config;
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
if (!(check_acl($config['id_user'], 0, 'IW') && check_acl($config['id_user'], 0, 'IR'))) {
|
if (!check_acl($config['id_user'], 0, 'IR')) {
|
||||||
// Doesn't have access to this page.
|
// Doesn't have access to this page.
|
||||||
db_pandora_audit('ACL Violation', 'Trying to access IntegriaIMS ticket creation');
|
db_pandora_audit('ACL Violation', 'Trying to access IntegriaIMS ticket creation');
|
||||||
include 'general/noaccess.php';
|
include 'general/noaccess.php';
|
||||||
@ -278,14 +278,13 @@ if (check_acl($config['id_user'], 0, 'IW')) {
|
|||||||
$table_files_section->data[0][0] = '<div class="label_select"><p class="input_label">'.__('File name').':</p>';
|
$table_files_section->data[0][0] = '<div class="label_select"><p class="input_label">'.__('File name').':</p>';
|
||||||
$table_files_section->data[0][0] .= html_print_input_file('userfile', true);
|
$table_files_section->data[0][0] .= html_print_input_file('userfile', true);
|
||||||
$table_files_section->data[1][0] = '<div class="label_select"><p class="input_label">'.__('Description').':</p>';
|
$table_files_section->data[1][0] = '<div class="label_select"><p class="input_label">'.__('Description').':</p>';
|
||||||
$table_files_section->data[1][0] .= html_print_input_text(
|
$table_files_section->data[1][0] .= html_print_textarea(
|
||||||
'file_description',
|
'file_description',
|
||||||
|
3,
|
||||||
|
20,
|
||||||
'',
|
'',
|
||||||
__('Description'),
|
'',
|
||||||
50,
|
true
|
||||||
100,
|
|
||||||
true,
|
|
||||||
false
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_files_section->data[2][0] .= '<div style="width: 100%; text-align:right;">'.html_print_submit_button(__('Upload'), 'accion', false, 'class="sub wand"', true).'</div>';
|
$table_files_section->data[2][0] .= '<div style="width: 100%; text-align:right;">'.html_print_submit_button(__('Upload'), 'accion', false, 'class="sub wand"', true).'</div>';
|
||||||
|
@ -16,7 +16,7 @@ global $config;
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
if (! check_acl($config['id_user'], 0, 'IR') && ! check_acl($config['id_user'], 0, 'IW') && ! check_acl($config['id_user'], 0, 'IM')) {
|
if (! check_acl($config['id_user'], 0, 'IR')) {
|
||||||
// Doesn't have access to this page.
|
// Doesn't have access to this page.
|
||||||
db_pandora_audit('ACL Violation', 'Trying to access IntegriaIMS ticket creation');
|
db_pandora_audit('ACL Violation', 'Trying to access IntegriaIMS ticket creation');
|
||||||
include 'general/noaccess.php';
|
include 'general/noaccess.php';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user