From 0e85fb9e4a4cb722143e0baba5c31e8e5855140f Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 20 Oct 2021 19:36:28 -0500 Subject: [PATCH 1/9] Exercise: Add option to hide attempts table on start page - refs BT#19280 --- main/exercise/exercise.class.php | 83 +++++++++++++++++++++++++++++ main/exercise/overview.php | 14 +++-- main/install/configuration.dist.php | 4 ++ 3 files changed, 96 insertions(+), 5 deletions(-) diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index a8619c63ba..4369cfb09a 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -97,6 +97,7 @@ class Exercise public $hideExpectedAnswer; public $forceShowExpectedChoiceColumn; public $disableHideCorrectAnsweredQuestions; + public $hideAttemptsTableOnStartPage; /** * Constructor of the class. @@ -142,6 +143,7 @@ class Exercise $this->hideNoAnswer = false; $this->hideExpectedAnswer = false; $this->disableHideCorrectAnsweredQuestions = false; + $this->hideAttemptsTableOnStartPage = 0; if (!empty($courseId)) { $courseInfo = api_get_course_info_by_id($courseId); @@ -227,6 +229,10 @@ class Exercise $this->hideQuestionNumber = $object->hide_question_number == 1; } + if (isset($object->hide_attempts_table)) { + $this->hideAttemptsTableOnStartPage = $object->hide_attempts_table == 1; + } + if (isset($object->show_previous_button)) { $this->showPreviousButton = $object->show_previous_button == 1; } @@ -1604,6 +1610,7 @@ class Exercise } $expired_time = (int) $this->expired_time; $showHideConfiguration = api_get_configuration_value('quiz_hide_question_number'); + $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); // Exercise already exists if ($id) { @@ -1681,6 +1688,10 @@ class Exercise $paramsExtra['hide_question_number'] = $this->hideQuestionNumber; } + if ($showHideAttemptsTableOnStartPage) { + $paramsExtra['hide_attempts_table'] = $this->hideAttemptsTableOnStartPage; + } + $params = array_merge($params, $paramsExtra); Database::update( @@ -2466,6 +2477,15 @@ class Exercise get_lang('UpdateTitleInLps') ); + $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); + if ($showHideAttemptsTableOnStartPage) { + $group = [ + $form->createElement('radio', 'hide_attempts_table', null, get_lang('Yes'), '1'), + $form->createElement('radio', 'hide_attempts_table', null, get_lang('No'), '0'), + ]; + $form->addGroup($group, null, get_lang('HideAttemptsTableOnStartPage')); + } + $defaults = []; if (api_get_setting('search_enabled') === 'true') { require_once api_get_path(LIBRARY_PATH).'specific_fields_manager.lib.php'; @@ -2668,6 +2688,7 @@ class Exercise $this->setPageResultConfigurationDefaults($defaults); $this->setHideQuestionNumberDefaults($defaults); + $this->setHideAttemptsTableOnStartPageDefaults($defaults); $form->setDefaults($defaults); // Freeze some elements. @@ -2841,6 +2862,12 @@ class Exercise if ($showHideConfiguration) { $this->setHideQuestionNumber($form->getSubmitValue('hide_question_number')); } + + $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); + if ($showHideAttemptsTableOnStartPage) { + $this->setHideAttemptsTableOnStartPage($form->getSubmitValue('hide_attempts_table')); + } + $this->preventBackwards = (int) $form->getSubmitValue('prevent_backwards'); $this->start_time = null; @@ -8553,6 +8580,34 @@ class Exercise return 0; } + /** + * Set the value to 1 to hide the attempts table on start page. + * + * @param int $value + */ + public function setHideAttemptsTableOnStartPage($value = 0) + { + $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); + if ($showHideAttemptsTableOnStartPage) { + $this->hideAttemptsTableOnStartPage = (int) $value; + } + } + + /** + * Gets the value to hide or show the attempts table on start page. If it does not exist, it is set to 0. + * + * @return int 1 if the attempts table must be hidden + */ + public function getHideAttemptsTableOnStartPage() + { + $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); + if ($showHideAttemptsTableOnStartPage) { + return (int) $this->hideAttemptsTableOnStartPage; + } + + return 0; + } + /** * @param array $values */ @@ -8597,6 +8652,19 @@ class Exercise } } + /** + * Sets the value to show or hide the attempts table on start page in the default settings of the forms. + * + * @param array $defaults + */ + public function setHideAttemptsTableOnStartPageDefaults(&$defaults) + { + $configuration = $this->getHideAttemptsTableOnStartPageConfiguration(); + if (!empty($configuration) && !empty($defaults)) { + $defaults = array_merge($defaults, $configuration); + } + } + /** * @return array */ @@ -8628,6 +8696,21 @@ class Exercise return []; } + /** + * Get the value to show or hide the attempts table on start page in the default settings of the forms. + * + * @return array + */ + public function getHideAttemptsTableOnStartPageConfiguration() + { + $pageConfig = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); + if ($pageConfig) { + return ['hide_attempts_table' => $this->hideAttemptsTableOnStartPage]; + } + + return []; + } + /** * @param string $attribute * diff --git a/main/exercise/overview.php b/main/exercise/overview.php index 5f573e1b34..77466a49ca 100755 --- a/main/exercise/overview.php +++ b/main/exercise/overview.php @@ -510,11 +510,15 @@ if ($isLimitReached) { ); } -$html .= Display::tag( - 'div', - $table_content, - ['class' => 'table-responsive'] -); +$showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); +$hideAttemptsTable = ($showHideAttemptsTableOnStartPage && 1 == $objExercise->hideAttemptsTableOnStartPage); +if (!$hideAttemptsTable) { + $html .= Display::tag( + 'div', + $table_content, + ['class' => 'table-responsive'] + ); +} $html .= ''; if ($certificateBlock) { diff --git a/main/install/configuration.dist.php b/main/install/configuration.dist.php index 08968eafdb..7d910e454d 100755 --- a/main/install/configuration.dist.php +++ b/main/install/configuration.dist.php @@ -1362,6 +1362,10 @@ $_configuration['required_extra_fields_in_profile'] = [ // ALTER TABLE c_quiz ADD COLUMN hide_question_number int NULL DEFAULT 0 COMMENT 'Show/Hide question number in quiz'; //$_configuration['quiz_hide_question_number'] = false; +// Allows you to show or hide the attempts table of an exercise on start page +// ALTER TABLE c_quiz ADD COLUMN hide_attempts_table int NULL DEFAULT 0 COMMENT 'Show/Hide attempts table of an exercise on start page'; +//$_configuration['quiz_hide_attempts_table_on_start_page'] = false; + // Allow multiple options for the exercise "save answer" option // ALTER TABLE c_quiz MODIFY COLUMN save_correct_answers INT NULL DEFAULT NULL; //$_configuration['allow_quiz_save_correct_options'] = false; From 8ca7de088f071ca6f03ab85a5ee32d1ad8cad831 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 27 Oct 2021 10:40:06 -0500 Subject: [PATCH 2/9] Exercise: Improve code reusing the getHideAttemptsTableOnStartPage() method - refs BT#19280 --- main/exercise/exercise.class.php | 14 ++++---------- main/exercise/overview.php | 4 +--- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index 4369cfb09a..796145fe44 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -1610,7 +1610,6 @@ class Exercise } $expired_time = (int) $this->expired_time; $showHideConfiguration = api_get_configuration_value('quiz_hide_question_number'); - $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); // Exercise already exists if ($id) { @@ -1688,9 +1687,7 @@ class Exercise $paramsExtra['hide_question_number'] = $this->hideQuestionNumber; } - if ($showHideAttemptsTableOnStartPage) { - $paramsExtra['hide_attempts_table'] = $this->hideAttemptsTableOnStartPage; - } + $paramsExtra['hide_attempts_table'] = $this->getHideAttemptsTableOnStartPage(); $params = array_merge($params, $paramsExtra); @@ -2477,8 +2474,8 @@ class Exercise get_lang('UpdateTitleInLps') ); - $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); - if ($showHideAttemptsTableOnStartPage) { + $allowHideAttempts = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); + if ($allowHideAttempts) { $group = [ $form->createElement('radio', 'hide_attempts_table', null, get_lang('Yes'), '1'), $form->createElement('radio', 'hide_attempts_table', null, get_lang('No'), '0'), @@ -2863,10 +2860,7 @@ class Exercise $this->setHideQuestionNumber($form->getSubmitValue('hide_question_number')); } - $showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); - if ($showHideAttemptsTableOnStartPage) { - $this->setHideAttemptsTableOnStartPage($form->getSubmitValue('hide_attempts_table')); - } + $this->setHideAttemptsTableOnStartPage($form->getSubmitValue('hide_attempts_table')); $this->preventBackwards = (int) $form->getSubmitValue('prevent_backwards'); diff --git a/main/exercise/overview.php b/main/exercise/overview.php index 77466a49ca..fccc554ba1 100755 --- a/main/exercise/overview.php +++ b/main/exercise/overview.php @@ -510,9 +510,7 @@ if ($isLimitReached) { ); } -$showHideAttemptsTableOnStartPage = api_get_configuration_value('quiz_hide_attempts_table_on_start_page'); -$hideAttemptsTable = ($showHideAttemptsTableOnStartPage && 1 == $objExercise->hideAttemptsTableOnStartPage); -if (!$hideAttemptsTable) { +if (0 == $objExercise->getHideAttemptsTableOnStartPage()) { $html .= Display::tag( 'div', $table_content, From a4e86e9b1aa8a21592826c1619d178fcaed7a2ab Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 4 Nov 2021 17:15:58 -0500 Subject: [PATCH 3/9] Minor: Fix errors from behat validating table quiz - refs BT#19280 --- main/exercise/exercise.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index 796145fe44..f506630dd1 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -1686,8 +1686,9 @@ class Exercise if ($showHideConfiguration) { $paramsExtra['hide_question_number'] = $this->hideQuestionNumber; } - - $paramsExtra['hide_attempts_table'] = $this->getHideAttemptsTableOnStartPage(); + if (true === api_get_configuration_value('quiz_hide_attempts_table_on_start_page')) { + $paramsExtra['hide_attempts_table'] = $this->getHideAttemptsTableOnStartPage(); + } $params = array_merge($params, $paramsExtra); From cb3d2a9ba772c5c451c2b4fd8f1d6941c80ef8c0 Mon Sep 17 00:00:00 2001 From: juan-cortizas-ponte Date: Mon, 8 Nov 2021 22:51:40 +0100 Subject: [PATCH 4/9] fix iid parameter name --- plugin/questionoptionsevaluation/evaluation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/questionoptionsevaluation/evaluation.php b/plugin/questionoptionsevaluation/evaluation.php index 32504c7a75..9ba17e0489 100644 --- a/plugin/questionoptionsevaluation/evaluation.php +++ b/plugin/questionoptionsevaluation/evaluation.php @@ -65,7 +65,7 @@ if ($formEvaluation->validate()) { exit; } -$formEvaluation->setDefaults(['formula' => $plugin->getFormulaForExercise($exercise->iId)]); +$formEvaluation->setDefaults(['formula' => $plugin->getFormulaForExercise($exercise->iid)]); echo Display::return_message( $plugin->get_lang('QuizQuestionsScoreRulesTitleConfirm'), From bbe18ef324358b438f9f28d4e86e008ca031cb0a Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 10 Nov 2021 06:08:21 -0500 Subject: [PATCH 5/9] Reporting: Add option to hide skills before exporting to pdf - refs #19335 --- main/mySpace/student_follow_export.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main/mySpace/student_follow_export.php b/main/mySpace/student_follow_export.php index 89e411a877..0d26e729ec 100644 --- a/main/mySpace/student_follow_export.php +++ b/main/mySpace/student_follow_export.php @@ -76,6 +76,7 @@ function generateForm(int $studentId, array $coursesInSessions): FormValidator ); // Option to hide the column Time in lp tables $form->addCheckBox('hide_connection_time', null, get_lang('HideConnectionTime')); + $form->addCheckBox('hide_skills', null, get_lang('HideSkills')); foreach ($coursesInSessions as $sId => $courses) { if (empty($courses)) { continue; @@ -510,6 +511,7 @@ if ($form->validate()) { $coursesInfo = []; $hideConnectionTime = isset($values['hide_connection_time']); + $hideSkills = isset($values['hide_skills']); if (!empty($values['sc'])) { foreach ($values['sc'] as $courseKey) { [$sessionId, $courseId] = explode('_', $courseKey); @@ -518,10 +520,14 @@ if ($form->validate()) { } } + $skills = Tracking::displayUserSkills($studentInfo['id']); + if ($hideSkills) { + $skills = ''; + } $view = new Template('', false, false, false, true, false, false); $view->assign('user_info', $studentInfo); $view->assign('careers', MyStudents::userCareersTable($studentInfo['id'])); - $view->assign('skills', Tracking::displayUserSkills($studentInfo['id'])); + $view->assign('skills', $skills); $view->assign('classes', MyStudents::getBlockForClasses($studentInfo['id'])); $view->assign('courses_info', $coursesInfo); From 0372b0861a9ef852a7e0dff9f207866a61eaac4c Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Thu, 11 Nov 2021 11:32:29 -0500 Subject: [PATCH 6/9] Plugin: XAPI: Fix foreign keys - refs BT#18160 --- plugin/xapi/src/Entity/InternalLog.php | 2 +- plugin/xapi/src/Entity/ToolLaunch.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/xapi/src/Entity/InternalLog.php b/plugin/xapi/src/Entity/InternalLog.php index ff8d4753f1..b9c807f94d 100644 --- a/plugin/xapi/src/Entity/InternalLog.php +++ b/plugin/xapi/src/Entity/InternalLog.php @@ -24,7 +24,7 @@ class InternalLog private $id; /** * @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User") - * @ORM\JoinColumn(name="user_id", referencedColumnName="id") + * @ORM\JoinColumn(name="user_id", referencedColumnName="id", onDelete="CASCADE") */ private $user; /** diff --git a/plugin/xapi/src/Entity/ToolLaunch.php b/plugin/xapi/src/Entity/ToolLaunch.php index 91e2ec15aa..6d9d4f5b8e 100644 --- a/plugin/xapi/src/Entity/ToolLaunch.php +++ b/plugin/xapi/src/Entity/ToolLaunch.php @@ -43,14 +43,14 @@ class ToolLaunch * @var \Chamilo\CoreBundle\Entity\Course * * @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course") - * @ORM\JoinColumn(name="c_id", referencedColumnName="id", nullable=false) + * @ORM\JoinColumn(name="c_id", referencedColumnName="id", nullable=false, onDelete="CASCADE") */ private $course; /** * @var \Chamilo\CoreBundle\Entity\Session|null * * @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Session") - * @ORM\JoinColumn(name="session_id", referencedColumnName="id") + * @ORM\JoinColumn(name="session_id", referencedColumnName="id", onDelete="CASCADE") */ private $session; /** From aa68eeb52b8aeef8e086204e32c7faaa702e69e3 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Thu, 11 Nov 2021 11:33:03 -0500 Subject: [PATCH 7/9] Plugin: XAPI: bumpt to v0.3b - refs BT#18160 --- plugin/xapi/README.md | 12 +++++++++++- plugin/xapi/src/XApiPlugin.php | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/plugin/xapi/README.md b/plugin/xapi/README.md index a8f6c1a687..c39b1ce59e 100644 --- a/plugin/xapi/README.md +++ b/plugin/xapi/README.md @@ -70,10 +70,20 @@ CREATE TABLE xapi_activity_profile (id INT AUTO_INCREMENT NOT NULL, profile_id V ``` **From 0.2 (beta) [2021-10-15]** -With the LRS an internal log is registered based on the actor mbox's email or the actor account's name coming from the statement +- With the LRS an internal log is registered based on the actor mbox's email or the actor account's name coming from the statement To update, execute this queries: ```sql CREATE TABLE xapi_internal_log (id INT AUTO_INCREMENT NOT NULL, user_id INT DEFAULT NULL, statement_id VARCHAR(255) NOT NULL, verb VARCHAR(255) NOT NULL, object_id VARCHAR(255) NOT NULL, activity_name VARCHAR(255) DEFAULT NULL, activity_description VARCHAR(255) DEFAULT NULL, score_scaled DOUBLE PRECISION DEFAULT NULL, score_raw DOUBLE PRECISION DEFAULT NULL, score_min DOUBLE PRECISION DEFAULT NULL, score_max DOUBLE PRECISION DEFAULT NULL, created_at DATETIME DEFAULT NULL, INDEX IDX_C1C667ACA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; ALTER TABLE xapi_internal_log ADD CONSTRAINT FK_C1C667ACA76ED395 FOREIGN KEY (user_id) REFERENCES user (id); ``` +- asda + +**From 0.3 (beta) [2021-11-11]** + +- Fix: Add foreign keys with course/session in tool_launch table and foreign key with user in internal_log table. +```sql +ALTER TABLE xapi_internal_log ADD CONSTRAINT FK_C1C667ACA76ED395 FOREIGN KEY (user_id) REFERENCES user (id) ON DELETE CASCADE; +ALTER TABLE xapi_tool_launch ADD CONSTRAINT FK_E18CB58391D79BD3 FOREIGN KEY (c_id) REFERENCES course (id) ON DELETE CASCADE; +ALTER TABLE xapi_tool_launch ADD CONSTRAINT FK_E18CB583613FECDF FOREIGN KEY (session_id) REFERENCES session (id) ON DELETE CASCADE; +``` diff --git a/plugin/xapi/src/XApiPlugin.php b/plugin/xapi/src/XApiPlugin.php index 33625bc99b..5fb4eec922 100644 --- a/plugin/xapi/src/XApiPlugin.php +++ b/plugin/xapi/src/XApiPlugin.php @@ -45,7 +45,7 @@ class XApiPlugin extends Plugin implements HookPluginInterface */ protected function __construct() { - $version = '0.2 (beta)'; + $version = '0.3 (beta)'; $author = [ 'Angel Fernando Quiroz Campos ', ]; From 280156c9a5c0d80b44cc90c2af48f5c76aa8a66e Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 15 Nov 2021 16:43:09 -0500 Subject: [PATCH 8/9] Reporting: Add option to hide block of assignments in reporting export - refs BT#19335 --- main/mySpace/student_follow_export.php | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/main/mySpace/student_follow_export.php b/main/mySpace/student_follow_export.php index 0d26e729ec..e6b90edf5b 100644 --- a/main/mySpace/student_follow_export.php +++ b/main/mySpace/student_follow_export.php @@ -74,9 +74,12 @@ function generateForm(int $studentId, array $coursesInSessions): FormValidator [], FormValidator::LAYOUT_BOX ); - // Option to hide the column Time in lp tables - $form->addCheckBox('hide_connection_time', null, get_lang('HideConnectionTime')); - $form->addCheckBox('hide_skills', null, get_lang('HideSkills')); + // Options to hide columns or blocks in export pdf + $hideOptionsExport['connection_time'] = get_lang('HideConnectionTime'); + $hideOptionsExport['skills'] = get_lang('HideSkills'); + $hideOptionsExport['assignment'] = get_lang('HideAssignment'); + $form->addCheckBoxGroup("hide_options", get_lang('OptionsToHideInExport'), $hideOptionsExport); + foreach ($coursesInSessions as $sId => $courses) { if (empty($courses)) { continue; @@ -460,7 +463,7 @@ function generateHtmlForTasks(int $studentId, array $courseInfo, int $sessionId) .Export::convert_array_to_html($taskTable); } -function generateHtmlForCourse(int $studentId, array $coursesInSessions, int $courseId, int $sessionId, bool $hideConnectionTime = false): ?string +function generateHtmlForCourse(int $studentId, array $coursesInSessions, int $courseId, int $sessionId, bool $hideConnectionTime = false, bool $hideAssignment = false): ?string { if (empty($coursesInSessions[$sessionId]) || !in_array($courseId, $coursesInSessions[$sessionId])) { return null; @@ -485,7 +488,9 @@ function generateHtmlForCourse(int $studentId, array $coursesInSessions, int $co $courseHtml[] = generateHtmlForLearningPaths($studentId, $courseInfo, $sessionId, $hideConnectionTime); $courseHtml[] = generateHtmlForQuizzes($studentId, $courseInfo, $sessionId); - $courseHtml[] = generateHtmlForTasks($studentId, $courseInfo, $sessionId); + if (!$hideAssignment) { + $courseHtml[] = generateHtmlForTasks($studentId, $courseInfo, $sessionId); + } return implode(PHP_EOL, $courseHtml); } @@ -510,13 +515,14 @@ if ($form->validate()) { ); $coursesInfo = []; - $hideConnectionTime = isset($values['hide_connection_time']); - $hideSkills = isset($values['hide_skills']); + $hideConnectionTime = isset($values['hide_options']['connection_time']); + $hideSkills = isset($values['hide_options']['skills']); + $hideAssignment = isset($values['hide_options']['assignment']); if (!empty($values['sc'])) { foreach ($values['sc'] as $courseKey) { [$sessionId, $courseId] = explode('_', $courseKey); - $coursesInfo[] = generateHtmlForCourse($studentInfo['id'], $coursesInSessions, $courseId, $sessionId, $hideConnectionTime); + $coursesInfo[] = generateHtmlForCourse($studentInfo['id'], $coursesInSessions, $courseId, $sessionId, $hideConnectionTime, $hideAssignment); } } From 6ae35cff4770992cf0bb28ca19c3a3fc23ac61ef Mon Sep 17 00:00:00 2001 From: NicoDucou Date: Tue, 16 Nov 2021 11:18:55 +0100 Subject: [PATCH 9/9] Language: Minor partial FR EN ES update -refs BT#19335 --- main/lang/english/trad4all.inc.php | 4 ++++ main/lang/french/trad4all.inc.php | 4 ++++ main/lang/spanish/trad4all.inc.php | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/main/lang/english/trad4all.inc.php b/main/lang/english/trad4all.inc.php index 5375397f8a..789851ad8d 100644 --- a/main/lang/english/trad4all.inc.php +++ b/main/lang/english/trad4all.inc.php @@ -8814,4 +8814,8 @@ $TokenExpiredActionAlreadyRealized = "Token expired, action already realized"; $Corrector = "Corrector"; $CorrectionDate = "Correction date"; $HideAttemptsTableOnStartPage = "Hide attempts table on start page"; +$ScormAndLPMaxProgress = "Maximum progress in learning paths"; +$ HideSkills = "Hide skills"; +$OptionsToHideInExport = "Options for hiding in export"; +$HideAssignment = "Hide assignments"; ?> \ No newline at end of file diff --git a/main/lang/french/trad4all.inc.php b/main/lang/french/trad4all.inc.php index f83d06868b..fbcfe58493 100644 --- a/main/lang/french/trad4all.inc.php +++ b/main/lang/french/trad4all.inc.php @@ -8746,4 +8746,8 @@ $TokenExpiredActionAlreadyRealized = "Token expiré, action déjà réalisée"; $Corrector = "Correcteur"; $CorrectionDate = "Date de correction"; $HideAttemptsTableOnStartPage = "Masquer le tableau des tentatives sur la page de démarrage"; +$ScormAndLPMaxProgress = "Progrès maximum dans les parcours"; +$ HideSkills = "Masquer les compétences"; +$OptionsToHideInExport = "Options pour masquer dans l'export"; +$HideAssignment = "Masquer les travaux"; ?> \ No newline at end of file diff --git a/main/lang/spanish/trad4all.inc.php b/main/lang/spanish/trad4all.inc.php index 74c92a049b..f923d452bf 100644 --- a/main/lang/spanish/trad4all.inc.php +++ b/main/lang/spanish/trad4all.inc.php @@ -8842,4 +8842,8 @@ $TokenExpiredActionAlreadyRealized = "Token expirado, acción ya realizada"; $Corrector = "Corrector"; $CorrectionDate = "Fecha de corrección"; $HideAttemptsTableOnStartPage = "Ocultar la tabla de intentos en la página de inicio"; +$ScormAndLPMaxProgress = "Progreso máximo en lecciones"; +$ HideSkills = "Ocultar competencias"; +$OptionsToHideInExport = "Opciones para esconder en el reporte"; +$HideAssignment = "Esconder tareas"; ?> \ No newline at end of file