From 58de1815f4757516a3972fd8e14c9a84f470edd9 Mon Sep 17 00:00:00 2001 From: dwoolhead Date: Thu, 18 May 2006 16:15:04 +0000 Subject: [PATCH] Bug 5536 Replaced references to hide by show. Merged from stable branch. --- course/format/lams/format.php | 14 +++++++------- course/format/topics/format.php | 4 ++-- course/format/weeks/format.php | 4 ++-- course/format/weekscss/format.php | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/course/format/lams/format.php b/course/format/lams/format.php index 857017e7250..680d0fa5b42 100644 --- a/course/format/lams/format.php +++ b/course/format/lams/format.php @@ -283,28 +283,28 @@ while ($section <= $course->numsections) { if (isediting($course->id)) { if ($course->marker == $section) { // Show the "light globe" on/off echo ''. - '
'; + ''.$strmarkedthistopic.'
'; } else { echo ''. - '
'; + ''.$strmarkthistopic.'
'; } if ($thissection->visible) { // Show the hide/show eye echo ''. - '
'; + ''.$strtopichide.'
'; } else { - echo ''. - '
'; + echo ''. + ''.$strtopicshow.'
'; } if ($section > 1) { // Add a arrow to move section up echo ''. - '
'; + ''.$strmoveup.'
'; } if ($section < $course->numsections) { // Add a arrow to move section down echo ''. - '
'; + ''.$strmovedown.'
'; } } diff --git a/course/format/topics/format.php b/course/format/topics/format.php index e74baedde56..198bfd89975 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -221,8 +221,8 @@ echo ''. ''.$strtopichide.'
'; } else { - echo ''. - ''.$strtopichide.'
'; + echo ''. + ''.$strtopicshow.'
'; } if ($section > 1) { // Add a arrow to move section up diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index b20ea63b818..72e8198a78b 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -213,8 +213,8 @@ echo ''. ''.$strweekhide.'
'; } else { - echo ''. - ''.$strweekhide.'
'; + echo ''. + ''.$strweekshow.'
'; } if ($section > 1) { // Add a arrow to move section up echo ''. diff --git a/course/format/weekscss/format.php b/course/format/weekscss/format.php index e7a1e4b739e..f0192bbec7c 100644 --- a/course/format/weekscss/format.php +++ b/course/format/weekscss/format.php @@ -217,8 +217,8 @@ echo ''. ''.$strweekhide.'
'; } else { - echo ''. - ''.$strweekhide.'
'; + echo ''. + ''.$strweekshow.'
'; } if ($section > 1) { // Add a arrow to move section up echo ''.