Oh Ralph...
David, everything looks great. I tested it with the activity locking and it worked fine. I found just one little thing, in mod.html, line 47 should be changed to: $dateoptions[1] = "January 1st, 2000";
I also added a 4th date option, January 1, 2000.
I had a really good idea for another option. Since you have added the fantastic ability to have a certificate show the grade of an activity, wouldn't it be nice to couple that with printing the name of that activity, rather than the course name?
For example, if someone needs to have a printed "certificate" of taking a quiz and their score to give to their supervisor: Joe Smith has completed the Creating
Mysql Datatables Test, Grade: 85.
I don't know if you would want to have an added option like Activity Name maybe, and the course would be one option, but I don't know if you would want to list all of the
activities in course. Did you figure out how to print the total points from the gradebook? Maybe if the grade of an activity is added, then it automatically inserts the activity name with the grade? And if the total grade is an option, then it would print the course name?