minor - fixed link to thematic advance from postit inside home course

skala
Cristian Fasanando 15 years ago
parent 00732c964f
commit fa395be205
  1. 2
      main/inc/introductionSection.inc.php

@ -175,7 +175,7 @@ if ($tool == TOOL_COURSE_HOMEPAGE && !isset($_GET['intro_cmdEdit'])) {
$style_introduction_section = 'style="width:65%;float:left;margin-left:5%;"';
$thematic_advance = get_lang('ThematicAdvance').' '.$thematic->get_total_average_of_thematic_advances().'%';
if (api_is_allowed_to_edit(null, true)) {
$thematic_advance = '<a href="'.api_get_path(WEB_CODE_PATH).'attendance/index.php?action=thematic_details&'.api_get_cidreq().'">'.get_lang('ThematicAdvance').'&nbsp;'.$thematic->get_total_average_of_thematic_advances().'%</a>';
$thematic_advance = '<a href="'.api_get_path(WEB_CODE_PATH).'course_progress/index.php?action=thematic_details&'.api_get_cidreq().'">'.get_lang('ThematicAdvance').'&nbsp;'.$thematic->get_total_average_of_thematic_advances().'%</a>';
}
$thematic_info = $thematic->get_thematic_list($thematic_advance_info['thematic_id']);

Loading…
Cancel
Save