agenda : print not-approved courses in timetable view
When making modifications a couple of weeks ago (see post), I changed only the list view and not the timetable view. I didn't realize that the dropdown for which courses to print affected only the list view (as in the code it is located in the active_area code and not the view-specific code in manage_calendars.
I added code to
- manage_calendars (at about line 12985 - that file is ridiculously big) to add the option to the select in the dropdown
- manage_calendars.php (at about line 118, in the else if(strcmp("display_table",$do_what)==0) branch) to check the setting of the dropdown and take appropriate action
Notice that in the timetable view, the effect of changing the setting take place immediately in the view, then that view is printed; in the list view, changing the setting does not change the display but does correctly filter what gets printed. Not sure if that inconsistency is a bug or a feature which reflects how those two views are used.