diff --git a/course/search.php b/course/search.php
index 1e191a37653..b3be91283e6 100644
--- a/course/search.php
+++ b/course/search.php
@@ -320,13 +320,15 @@
// checks whether user can do site backup
if (has_capability('moodle/backup:backupcourse', $coursecontext)) {
- echo "id\">\n
$course->id));
+ echo "\n
pix_url('t/backup') . "\" class=\"iconsmall\" alt=\"".get_string("backup")."\" />\n ";
}
// checks whether user can do restore
if (has_capability('moodle/restore:restorecourse', $coursecontext)) {
- echo "id&wdir=/backupdata\">\n
$coursecontext->id));
+ echo "\n
pix_url('t/restore') . "\" class=\"iconsmall\" alt=\"".get_string("restore")."\" />\n ";
}