From: dwoolhead Date: Thu, 18 May 2006 16:15:04 +0000 (+0000) Subject: Bug 5536 Replaced references to hide by show. Merged from stable branch. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=58de1815f4757516a3972fd8e14c9a84f470edd9;p=moodle.git Bug 5536 Replaced references to hide by show. Merged from stable branch. --- diff --git a/course/format/lams/format.php b/course/format/lams/format.php index 857017e725..680d0fa5b4 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 e74baedde5..198bfd8997 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 b20ea63b81..72e8198a78 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 e7a1e4b739..f0192bbec7 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 ''.