From c63bf72a9d2ca6d2a79b9bc8ba171849fbc3b1ac Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 6 Mar 2005 14:57:23 +0000 Subject: [PATCH] The up and down arrows for moving sections now jump to the moved section when the page reloads. Makes it easier to move sections over longer distances. I actually thought I had fixed this a long time ago but apparently not. --- course/format/topics/format.php | 4 ++-- course/format/weeks/format.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/course/format/topics/format.php b/course/format/topics/format.php index a7fcd1418c9..ece13953549 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -224,12 +224,12 @@ } if ($section > 1) { // Add a arrow to move section up - echo ''. + echo ''. '
'; } if ($section < $course->numsections) { // Add a arrow to move section down - echo ''. + echo ''. '
'; } diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 7a190ed0092..1cca2cef8b1 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -76,7 +76,7 @@ echo $stractivityclipboard.'  ('.$strcancel.')'; echo ''; echo ''; - } + } /// Print Section 0 with general activities @@ -215,12 +215,12 @@ '
'; } if ($section > 1) { // Add a arrow to move section up - echo ''. + echo ''. '
'; } if ($section < $course->numsections) { // Add a arrow to move section down - echo ''. + echo ''. '
'; } }