Fix typos in PR

1.10.x
Yannick Warnier 10 years ago
parent 6c3d0241c7
commit daa4bfc97c
  1. 2
      main/course_info/infocours.php
  2. 2
      main/inc/lib/userportal.lib.php

@ -122,7 +122,7 @@ $course_path = api_get_path(SYS_COURSE_PATH).$currentCourseRepository; // cour
if (file_exists($course_path.'/course-pic85x85.png')) {
$course_web_path = api_get_path(WEB_COURSE_PATH).$currentCourseRepository; // course web path
$course_medium_image = $course_web_path.'/course-pic85x85.png?'.rand(1, 1000); // redimensioned image 85x85
$image_html = '<div class="row"><label class="col-md-2 control-label">'.get_lang('Imagen').'</label> <div class="col-md-8"><img src="'.$course_medium_image.'" /></div></div>';
$image_html = '<div class="row"><label class="col-md-2 control-label">'.get_lang('Image').'</label> <div class="col-md-8"><img src="'.$course_medium_image.'" /></div></div>';
}
$form->addElement('html', $image_html);

@ -1325,7 +1325,7 @@ class IndexManager
*/
public function return_hot_courses()
{
return CourseManager::return_hot_courses(30,6);
return CourseManager::return_hot_courses(30, 6);
}
}

Loading…
Cancel
Save