Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x

pull/2487/head
Angel Fernando Quiroz Campos 8 years ago
commit 3e137e9fe4
  1. 6
      main/auth/courses_categories.php

@ -357,14 +357,14 @@ function return_title($course, $registeredUser)
{
$html = '';
$linkCourse = api_get_course_url($course['code']);
$title = cut($course['title'], 60);
$cutTitle = cut($course['title'], 60);
$html .= '<div class="block-title"><h4 class="title">';
if (!$registeredUser) {
$html .= $title;
$html .= $cutTitle;
} else {
$html .= '<a title="'.$title.'" href="'.$linkCourse.'">'.$title.'</a>';
$html .= '<a title="'.$course['title'].'" href="'.$linkCourse.'">'.$cutTitle.'</a>';
}
$html .= '</h4></div>';

Loading…
Cancel
Save