From: skodak Date: Wed, 19 Jul 2006 12:52:06 +0000 (+0000) Subject: section not always moved when requested - page reloading prevented by anchor; added... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1bc6fc82b64af3ed84710806532ac9c37fd7f73a;p=moodle.git section not always moved when requested - page reloading prevented by anchor; added random parameter to force reloading; merged from MOODLE_16_STABLE --- 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.'
'; } }