mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-33088 Glossary: disabled filtering on concepts in recent activity block
This commit is contained in:
parent
4db061680e
commit
a8608cba3f
@ -540,7 +540,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) {
|
||||
return false;
|
||||
}
|
||||
|
||||
echo $OUTPUT->heading(get_string('newentries', 'glossary').':');
|
||||
echo $OUTPUT->heading(get_string('newentries', 'glossary').':', 3);
|
||||
$strftimerecent = get_string('strftimerecent');
|
||||
$entrycount = 0;
|
||||
foreach ($entries as $entry) {
|
||||
@ -557,7 +557,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) {
|
||||
echo '<div class="date">'.userdate($entry->timemodified, $strftimerecent).'</div>';
|
||||
echo '<div class="name">'.fullname($entry, $viewfullnames).'</div>';
|
||||
echo '</div>';
|
||||
echo '<div class="info"><a href="'.$link.'">'.format_text($entry->concept, true).'</a></div>';
|
||||
echo '<div class="info"><a href="'.$link.'">'.format_string($entry->concept, true).'</a></div>';
|
||||
$entrycount += 1;
|
||||
} else {
|
||||
$numnewentries = $DB->count_records_sql($countsql.$joins[0].$clausesql.$approvalsql.')', $params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user