From 774418001af1ca0d8e91f88c325cfa335f523525 Mon Sep 17 00:00:00 2001 From: Noel Dieschburg Date: Fri, 18 Mar 2011 18:53:21 +0100 Subject: [PATCH] french and english traduction for hide toc setting --- main/lang/english/learnpath.inc.php | 4 +++- main/lang/french/learnpath.inc.php | 3 ++- main/newscorm/lp_edit.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) mode change 100755 => 100644 main/lang/english/learnpath.inc.php mode change 100755 => 100644 main/lang/french/learnpath.inc.php diff --git a/main/lang/english/learnpath.inc.php b/main/lang/english/learnpath.inc.php old mode 100755 new mode 100644 index 4b4ae7ae51..8ba3af7992 --- a/main/lang/english/learnpath.inc.php +++ b/main/lang/english/learnpath.inc.php @@ -249,4 +249,6 @@ $ModifyHotPotatoes = "Modify hotpotatoes"; $SaveHotpotatoes = "Save hotpotatoes"; $ReturnToLPList = "Return to list"; $LpPrerequisiteDescription = "Selecting another learning path as a prerequisite will hide the current prerequisite until the one in prerequisite is fully completed (100%)"; -?> \ No newline at end of file +$HideTocFrame = "Hide the table of content"; + +?> diff --git a/main/lang/french/learnpath.inc.php b/main/lang/french/learnpath.inc.php old mode 100755 new mode 100644 index bdd2d2c5a0..ad833f3caf --- a/main/lang/french/learnpath.inc.php +++ b/main/lang/french/learnpath.inc.php @@ -249,4 +249,5 @@ $ModifyHotPotatoes = "Modifier hotpotatoes"; $SaveHotpotatoes = "Enregistrer hotpotatoes"; $ReturnToLPList = "Retour liste"; $LpPrerequisiteDescription = "Sélectionner un autre parcours comme prérequis cachera le parcours actuel jusqu'à ce que celui en prérequis soit complété à 100%"; -?> \ No newline at end of file +$HideTocFrame = "Cacher la table des matières"; +?> diff --git a/main/newscorm/lp_edit.php b/main/newscorm/lp_edit.php index 8ca1b1b724..5d9da8c752 100644 --- a/main/newscorm/lp_edit.php +++ b/main/newscorm/lp_edit.php @@ -174,7 +174,7 @@ $form->addElement('hidden', 'lp_id', $_SESSION['oLP']->get_id()); $form->setDefaults($defaults); echo '
'; $form -> display(); -if ($_SESSION['oLP']->get_hide_toc_frame() == 0 ){ +if ($_SESSION['oLP']->get_hide_toc_frame() == 1 ){ $display_img='none'; } else{