-
New Feature
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
1.9.19
-
None
-
All
-
Any
-
MOODLE_19_STABLE
6a7
> optional_variable($interval,172000); //BRUNO: interval for showing all or just stuff to be marked
116a118,119
> echo <input type=submit value=\.get_string(saveallfeedback, journal).\>; //BRUNO: save button also at top
> print_simple_box( format_text($journal->intro, $journal->introformat) , center); //BRUNO: show journal description at top
120a124
>
125a130,139
> //BRUNO: only show entries to be marked or recently marked
> $entry = $entrybyuser[$user->id];
> $last_access = max($entry->modified, $entry->timemarked);
> #$last_marked = $entry->timemarked - $entry->modified;
> if ($interval>=0 and ((time() - $last_access > $interval))) { // or ($last_marked > $interval) ))
{ > $fullname = fullname(get_record('user','id',$user->id)); > echo <br><a href=report.php?id=$id&interval=-1>Journal $entry->rating for $fullname </a>; > continue; > }>
132c146
< journal_print_user_entry($course, $user, NULL, $teachers, $grades);
—
> if ($interval<0)
{ journal_print_user_entry($course, $user, NULL, $teachers, $grades);}//BRUNO: show un-done conditionally