Minor - format code.

1.10.x
Julio Montoya 10 years ago
parent a17d52df4a
commit ce40418e53
  1. 5
      main/admin/index.php
  2. 1
      main/coursecopy/recycle_course.php

@ -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';

@ -1,5 +1,6 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
/** /**
* Delete resources from a course. * Delete resources from a course.
* *

Loading…
Cancel
Save