Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed help strings
  • Loading branch information
moodler committed Jun 10, 2003
1 parent 1290513 commit d7b97e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions course/topics.php
Expand Up @@ -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");
}


Expand Down Expand Up @@ -224,12 +226,12 @@
}

if ($section > 1) { // Add a arrow to move section up
echo "<a href=\"view.php?id=$course->id&section=$section&move=-1\" title=\"$strtopicup\">".
echo "<a href=\"view.php?id=$course->id&section=$section&move=-1\" title=\"$strmoveup\">".
"<img src=\"$pixpath/i/up.gif\" vspace=3 height=11 width=11 border=0></a><br />";
}

if ($section < $course->numsections) { // Add a arrow to move section down
echo "<a href=\"view.php?id=$course->id&section=$section&move=1\" title=\"$strtopicdown\">".
echo "<a href=\"view.php?id=$course->id&section=$section&move=1\" title=\"$strmovedown\">".
"<img src=\"$pixpath/i/down.gif\" vspace=3 height=11 width=11 border=0></a><br />";
}

Expand Down
6 changes: 4 additions & 2 deletions course/weeks.php
Expand Up @@ -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");
}


Expand Down Expand Up @@ -217,12 +219,12 @@
}

if ($section > 1) { // Add a arrow to move section up
echo "<a href=\"view.php?id=$course->id&section=$section&move=-1\" title=\"$strtopicup\">".
echo "<a href=\"view.php?id=$course->id&section=$section&move=-1\" title=\"$strmoveup\">".
"<img src=\"$pixpath/t/up.gif\" vspace=3 height=11 width=11 border=0></a><br />";
}

if ($section < $course->numsections) { // Add a arrow to move section down
echo "<a href=\"view.php?id=$course->id&section=$section&move=1\" title=\"$strtopicdown\">".
echo "<a href=\"view.php?id=$course->id&section=$section&move=1\" title=\"$strmovedown\">".
"<img src=\"$pixpath/t/down.gif\" vspace=3 height=11 width=11 border=0></a><br />";
}

Expand Down

0 comments on commit d7b97e4

Please sign in to comment.