Minor - cleaning comments

skala
Julio Montoya 13 years ago
parent d462500e9d
commit 3e433a4d32
  1. 2
      main/course_home/activity.php
  2. 4
      main/course_home/course_home.php

@ -105,8 +105,6 @@ if (api_is_allowed_to_edit(null, true) && !api_is_coach()) {
$my_list = CourseHome::get_tools_category(TOOL_STUDENT_VIEW);
$content .= CourseHome::show_tools_category($my_list);
$content .= '</div>';
// TOOLS AUTHORING
} else {
$my_list = CourseHome::get_tools_category(TOOL_STUDENT_VIEW);
if (count($my_list) > 0) {

@ -30,7 +30,6 @@
/* INIT SECTION */
use \ChamiloSession as Session;
// Name of the language file that needs to be included.
@ -243,8 +242,6 @@ $content = Display::return_introduction_section(TOOL_COURSE_HOMEPAGE, array(
the setting homepage_view is adjustable through
the platform administration section */
require_once api_get_path(LIBRARY_PATH).'course_home.lib.php';
if ($show_autolunch_lp_warning) {
$show_message .= Display::return_message(get_lang('TheLPAutoLaunchSettingIsONStudentsWillBeRedirectToAnSpecificLP'),'warning');
}
@ -259,6 +256,7 @@ if (api_get_setting('homepage_view') == 'activity' || api_get_setting('homepage_
}
$content = '<div id="course_tools">'.$content.'</div>';
$tpl = new Template(null);
$tpl->assign('message', $show_message);
$tpl->assign('content', $content);
$tpl->display_one_col_template();

Loading…
Cancel
Save