X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=blobdiff_plain;f=course%2Fsearch.php;h=b3be91283e64c22c116c8f8be8a4c419fba40590;hp=1e191a376539ac4bd7c5220f61cb0d6f297acb6e;hb=87bef8f6d53e129e01114b1f98e48e67e49b2971;hpb=5bbf3cb72b1a55d41a419299c279bd75f697d90a;ds=sidebyside 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 "\npix_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 "\npix_url('t/restore') . "\" class=\"iconsmall\" alt=\"".get_string("restore")."\" />\n "; }