', ''); ?>
@@ -832,7 +832,7 @@ function display_requirements(
';
foreach ($notWritable as $value) {
- echo '
'.$value.'';
+ echo '
'.$value.'';
}
echo '';
} elseif (file_exists(api_get_path(CONFIGURATION_PATH).'configuration.php')) {
@@ -858,11 +858,13 @@ function display_requirements(
if (count($deprecatedToRemove) > 0) {
?>
-
+
+ newscorm and exercice directories were renamed to lp and exercise respectively, is necessary to delete or rename to newscorm_old and exercice_old."); ?>
+
diff --git a/public/plugin/whispeakauth/WhispeakMyStudentsLpTrackingHook.php b/public/plugin/whispeakauth/WhispeakMyStudentsLpTrackingHook.php
index 67dd85ad02..5a3e8cdc7a 100644
--- a/public/plugin/whispeakauth/WhispeakMyStudentsLpTrackingHook.php
+++ b/public/plugin/whispeakauth/WhispeakMyStudentsLpTrackingHook.php
@@ -49,7 +49,7 @@ class WhispeakMyStudentsLpTrackingHook extends HookObserver implements HookMyStu
$successCount = WhispeakAuthPlugin::countSuccessAttemptsInLearningPath($data['lp_id'], $data['student_id']);
$attrs = ['class' => 'text-center '];
- $attrs['class'] .= $successCount <= $totalCount / 2 ? 'text-danger' : 'text-success';
+ $attrs['class'] .= $successCount <= $totalCount / 2 ? 'text-error' : 'text-success';
return [
'value' => Display::tag('strong', "$successCount / $totalCount"),
diff --git a/public/plugin/whispeakauth/WhispeakMyStudentsQuizTrackingHook.php b/public/plugin/whispeakauth/WhispeakMyStudentsQuizTrackingHook.php
index 399ae88e47..d0e60ca549 100644
--- a/public/plugin/whispeakauth/WhispeakMyStudentsQuizTrackingHook.php
+++ b/public/plugin/whispeakauth/WhispeakMyStudentsQuizTrackingHook.php
@@ -67,7 +67,7 @@ class WhispeakMyStudentsQuizTrackingHook extends HookObserver implements HookMyS
$successCount = WhispeakAuthPlugin::countSuccessAttemptsInQuiz($data['quiz_id'], $data['student_id']);
$attrs = ['class' => 'text-center '];
- $attrs['class'] .= $successCount <= $totalCount / 2 ? 'text-danger' : 'text-success';
+ $attrs['class'] .= $successCount <= $totalCount / 2 ? 'text-error' : 'text-success';
return [
'value' => Display::tag('strong', "$successCount / $totalCount"),