From 1bc6fc82b64af3ed84710806532ac9c37fd7f73a Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 19 Jul 2006 12:52:06 +0000 Subject: [PATCH] section not always moved when requested - page reloading prevented by anchor; added random parameter to force reloading; merged from MOODLE_16_STABLE --- course/format/lams/format.php | 4 ++-- course/format/topics/format.php | 4 ++-- course/format/weeks/format.php | 4 ++-- course/format/weekscss/format.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/course/format/lams/format.php b/course/format/lams/format.php index e0ee914d68..c10e6b3a36 100644 --- a/course/format/lams/format.php +++ b/course/format/lams/format.php @@ -298,12 +298,12 @@ while ($section <= $course->numsections) { } if ($section > 1) { // Add a arrow to move section up - echo ''. + echo ''. ''.$strmoveup.'
'; } if ($section < $course->numsections) { // Add a arrow to move section down - echo ''. + echo ''. ''.$strmovedown.'
'; } diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 701398bd04..1d4c5f3af2 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -226,12 +226,12 @@ } if ($section > 1) { // Add a arrow to move section up - echo ''. + echo ''. ''.$strmoveup.'
'; } if ($section < $course->numsections) { // Add a arrow to move section down - echo ''. + echo ''. ''.$strmovedown.'
'; } diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 0e20582843..73b4778042 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -217,12 +217,12 @@ ''.$strweekshow.'
'; } if ($section > 1) { // Add a arrow to move section up - echo ''. + echo ''. ''.$strmoveup.'
'; } if ($section < $course->numsections) { // Add a arrow to move section down - echo ''. + echo ''. ''.$strmovedown.'
'; } } diff --git a/course/format/weekscss/format.php b/course/format/weekscss/format.php index f0192bbec7..395760291e 100644 --- a/course/format/weekscss/format.php +++ b/course/format/weekscss/format.php @@ -221,12 +221,12 @@ ''.$strweekshow.'
'; } if ($section > 1) { // Add a arrow to move section up - echo ''. + echo ''. ''.$strmoveup.'
'; } if ($section < $course->numsections) { // Add a arrow to move section down - echo ''. + echo ''. ''.$strmovedown.'
'; } } -- 2.39.5