diff --git a/course/topics.php b/course/topics.php
index a9c9994cb45..fff056cd562 100644
--- a/course/topics.php
+++ b/course/topics.php
@@ -39,6 +39,8 @@
$strtopicshow = get_string("topicshow", "", $strstudents);
$strmarkthistopic = get_string("markthistopic");
$strmarkedthistopic = get_string("markedthistopic");
+ $strmoveup = get_string("moveup");
+ $strmovedown = get_string("movedown");
}
@@ -224,12 +226,12 @@
}
if ($section > 1) { // Add a arrow to move section up
- echo "id§ion=$section&move=-1\" title=\"$strtopicup\">".
+ echo "id§ion=$section&move=-1\" title=\"$strmoveup\">".
"
";
}
if ($section < $course->numsections) { // Add a arrow to move section down
- echo "id§ion=$section&move=1\" title=\"$strtopicdown\">".
+ echo "id§ion=$section&move=1\" title=\"$strmovedown\">".
"
";
}
diff --git a/course/weeks.php b/course/weeks.php
index ba60deb6e5f..741fd9076a3 100644
--- a/course/weeks.php
+++ b/course/weeks.php
@@ -27,6 +27,8 @@
$strstudents = moodle_strtolower($course->students);
$strweekhide = get_string("weekhide", "", $strstudents);
$strweekshow = get_string("weekshow", "", $strstudents);
+ $strmoveup = get_string("moveup");
+ $strmovedown = get_string("movedown");
}
@@ -217,12 +219,12 @@
}
if ($section > 1) { // Add a arrow to move section up
- echo "id§ion=$section&move=-1\" title=\"$strtopicup\">".
+ echo "id§ion=$section&move=-1\" title=\"$strmoveup\">".
"
";
}
if ($section < $course->numsections) { // Add a arrow to move section down
- echo "id§ion=$section&move=1\" title=\"$strtopicdown\">".
+ echo "id§ion=$section&move=1\" title=\"$strmovedown\">".
"
";
}