diff --git a/classes/search/activity.php b/classes/search/activity.php new file mode 100644 index 00000000..77c8c81b --- /dev/null +++ b/classes/search/activity.php @@ -0,0 +1,32 @@ +. + + +namespace mod_vpl\search; + +defined('MOODLE_INTERNAL') || die(); + +class activity extends \core_search\base_activity { + + /** + * Returns true if this area uses file indexing. + * + * @return bool + */ + public function uses_file_indexing() { + return true; + } +} diff --git a/lang/en/vpl.php b/lang/en/vpl.php index 485707e8..911d254a 100644 --- a/lang/en/vpl.php +++ b/lang/en/vpl.php @@ -303,6 +303,7 @@ $string['scanoptions'] = 'Scan options'; $string['scanother'] = 'Scan similarities in added sources'; $string['scanzipfile'] = 'Zip file'; +$string['search:activity'] = 'Virtual Programming Lab - activity information'; $string['sebkeys'] = 'SEB exam Key/s'; $string['sebkeys_help'] = 'SEB exam key(s) (max 3) obtained from .seb file
It is more reliable than only browser check.
https://safeexambrowser.org'; $string['sebrequired'] = 'SEB browser required';