|
|
|
@ -36,7 +36,9 @@ if (api_is_multiple_url_enabled()) { |
|
|
|
$message = ''; |
|
|
|
$message = ''; |
|
|
|
|
|
|
|
|
|
|
|
if (api_is_platform_admin()) { |
|
|
|
if (api_is_platform_admin()) { |
|
|
|
if (is_dir(api_get_path(SYS_ARCHIVE_PATH)) && !is_writable(api_get_path(SYS_ARCHIVE_PATH))) { |
|
|
|
if (is_dir(api_get_path(SYS_ARCHIVE_PATH)) && |
|
|
|
|
|
|
|
!is_writable(api_get_path(SYS_ARCHIVE_PATH)) |
|
|
|
|
|
|
|
) { |
|
|
|
$message = Display::return_message(get_lang('ArchivesDirectoryNotWriteableContactAdmin'), 'warning'); |
|
|
|
$message = Display::return_message(get_lang('ArchivesDirectoryNotWriteableContactAdmin'), 'warning'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -76,7 +78,6 @@ if (!empty($hook)) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Users */ |
|
|
|
/* Users */ |
|
|
|
|
|
|
|
|
|
|
|
$blocks['users']['icon'] = Display::return_icon('members.gif', get_lang('Users'), array(), ICON_SIZE_MEDIUM, false); |
|
|
|
$blocks['users']['icon'] = Display::return_icon('members.gif', get_lang('Users'), array(), ICON_SIZE_MEDIUM, false); |
|
|
|
$blocks['users']['label'] = api_ucfirst(get_lang('Users')); |
|
|
|
$blocks['users']['label'] = api_ucfirst(get_lang('Users')); |
|
|
|
$blocks['users']['class'] = 'block-admin-users'; |
|
|
|
$blocks['users']['class'] = 'block-admin-users'; |
|
|
|
|