mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Strip tags from activity name when moving
This commit is contained in:
parent
f36b1996a2
commit
adcedde7d9
@ -100,7 +100,7 @@
|
||||
|
||||
/// If currently moving a file then show the current clipboard
|
||||
if (ismoving($course->id)) {
|
||||
$stractivityclipboard = get_string("activityclipboard", "", addslashes($USER->activitycopyname));
|
||||
$stractivityclipboard = strip_tags(get_string("activityclipboard", "", addslashes($USER->activitycopyname)));
|
||||
$strcancel= get_string("cancel");
|
||||
echo "<tr>";
|
||||
echo "<td colspan=3 valign=top bgcolor=\"$THEME->cellcontent\" class=\"topicoutlineclip\" width=\"100%\">";
|
||||
|
@ -88,7 +88,7 @@
|
||||
|
||||
/// If currently moving a file then show the current clipboard
|
||||
if (ismoving($course->id)) {
|
||||
$stractivityclipboard = get_string("activityclipboard", "", addslashes($USER->activitycopyname));
|
||||
$stractivityclipboard = strip_tags(get_string("activityclipboard", "", addslashes($USER->activitycopyname)));
|
||||
$strcancel= get_string("cancel");
|
||||
echo "<tr>";
|
||||
echo "<td colspan=3 valign=top bgcolor=\"$THEME->cellcontent\" class=\"weeklyoutlineclip\" width=\"100%\">";
|
||||
|
Loading…
x
Reference in New Issue
Block a user