$strdeselectall = get_string("deselectall");
$stredit = get_string("edit");
$strfrontpage = get_string('frontpage', 'admin');
+ $strnovalidcourses = get_string('novalidcourses');
if (empty($search) and empty($blocklist) and empty($modulelist)) {
print_header("$site->fullname : $strsearch", $site->fullname,
}
} else {
- print_heading(get_string("nocoursesfound", "", s($search, true)));
+ if (!empty($search)) {
+ print_heading(get_string("nocoursesfound", "", s($search, true)));
+ }
+ else {
+ print_heading( $strnovalidcourses );
+ }
}
echo "<br /><br />";
$string['nousersmatching'] = 'No users matching \'$a\' were found';
$string['nousersyet'] = 'There are no users yet';
$string['now'] = 'now';
+$string['novalidcourses'] = 'No valid courses to be shown';
$string['numattempts'] = '$a failed login attempt(s)';
$string['numberweeks'] = 'Number of weeks/topics';
$string['numdays'] = '$a days';