Strip tags from activity names when moving

This commit is contained in:
moodler
2003-12-17 03:32:30 +00:00
parent c97500720d
commit f36b1996a2
+2 -2
View File
@@ -524,7 +524,7 @@ function print_section_block($heading, $course, $section, $mods, $modnames, $mod
if ($ismoving) {
$strmovehere = get_string("movehere");
$strmovefull = get_string("movefull", "", "'$USER->activitycopyname'");
$strmovefull = strip_tags(get_string("movefull", "", "'$USER->activitycopyname'"));
$stractivityclipboard = $USER->activitycopyname;
$strcancel= get_string("cancel");
$modicon[] = "&nbsp;<img align=bottom src=\"$CFG->pixpath/t/move.gif\" height=\"11\" width=\"11\">";
@@ -613,7 +613,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
}
if ($ismoving) {
$strmovehere = get_string("movehere");
$strmovefull = get_string("movefull", "", "'$USER->activitycopyname'");
$strmovefull = strip_tags(get_string("movefull", "", "'$USER->activitycopyname'"));
}
$modinfo = unserialize($course->modinfo);