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

1.10.x
Angel Fernando Quiroz Campos 9 years ago
commit 821a2bae2f
  1. 2
      main/lang/english/trad4all.inc.php
  2. 2
      main/lang/french/trad4all.inc.php
  3. 2
      main/lang/spanish/trad4all.inc.php
  4. 3
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php

@ -7580,4 +7580,6 @@ $AverageRating = "Average rating";
$GradebookTeacherResultsNotShown = "Teachers results are not shown nor taken into account in the gradebook.";
$SocialWallWriteNewPostToFriend = "Write something on your friend's wall";
$EmptyTemplate = "Blank template";
$BaseCourse = "Base course";
$BaseCourses = "Base courses";
?>

@ -7567,4 +7567,6 @@ $AverageRating = "Score moyen";
$GradebookTeacherResultsNotShown = "Les résultats des enseignants ne sont pas affichés ni pris en compte dans l'outil d'évaluations.";
$SocialWallWriteNewPostToFriend = "Écris quelque chose d'intéressant sur le mur de ton ami...";
$EmptyTemplate = "Modèle blanc";
$BaseCourse = "Cours de base";
$BaseCourses = "Cours de base";
?>

@ -7605,4 +7605,6 @@ $AverageRating = "Promedio de la valoración";
$GradebookTeacherResultsNotShown = "Los resultados de los profesores no se muestran ni están tomados en cuenta en los cálculos de la herramienta de evaluaciones.";
$SocialWallWriteNewPostToFriend = "Escribe algo interesante en el muro de tu amigo...";
$EmptyTemplate = "Plantilla vacía";
$BaseCourse = "Curso base";
$BaseCourses = "Cursos base";
?>

@ -240,7 +240,8 @@ class CkEditor extends Editor
$templateItem['html'] = file_get_contents(api_get_path(SYS_COURSE_PATH)
. $courseDirectory . '/document' . $templateData['path']);
if (!empty($template->getImage())) {
$image = $template->getImage();
if (!empty($image)) {
$templateItem['image'] = api_get_path(WEB_COURSE_PATH)
. $courseDirectory . '/upload/template_thumbnails/' . $template->getImage();
}

Loading…
Cancel
Save