Commit graph

17 commits

Author SHA1 Message Date
Mark Nelson
2e146373dd #203 Make report heading/title consistent with core activities 2018-06-26 17:00:15 +08:00
Mark Nelson
18ce8da214 #203 Added new string for list of awarded certificates 2018-06-26 17:00:15 +08:00
Mark Nelson
f8d7781158 #119 Add ability to delete issued certificates 2017-09-03 17:24:37 +08:00
Mark Nelson
052b7b874f #85 Added new capability for viewing the course report 2017-06-02 16:24:24 +08:00
Mark Nelson
ceb2d5623f Removed erroneous passing of $course to footer() 2016-12-29 17:14:14 +08:00
Mark Nelson
cb3f98a3b9 Removed 'File' column when downloading report 2016-08-24 17:11:48 +08:00
Mark Nelson
ff049e2c1b #6 Added ability to view other users' certificates 2016-08-23 16:28:08 +08:00
Mark Nelson
a135007160 #4 Added ability to sort the reports table
The table is now an instance of 'table_sql', not 'html_table'.
This made sorting easy to implement, with the added benefit
of taking advantage of the spout library for exporting data.
2016-08-23 12:59:18 +08:00
Mark Nelson
43d20c0d1b Huge refactor
1) Every certificate is a template. Before a user would create a certificate then had
the option to save it as a template. This could potentially be chaotic with numerous
users creating templates, making the template system a mess. Now, rather than creating
a certificate first, then saving it as a template, you are always creating a template.
Each template is associated with a context, so depending on where you are creating it
the context is different. This means users in the CONTEXT_MODULE context are creating
a template specific to that module, where as a user creating a template in the
CONTEXT_SYSTEM context would be creating a general template that can be used by others.
This meant we can remove the 'customcert_template_*' db tables. Yay - no duplicated
tables.
2) Created new helper classes and moved functionality there.
3) Moved files to classes/ for autoloading.
4) General tidy up.
2016-02-20 16:35:19 +08:00
Mark Nelson
0483cda501 Fixed access control 2015-03-13 23:37:07 -07:00
Mark Nelson
ba12c4d42b Fixed group mode 2015-03-13 23:37:06 -07:00
Mark Nelson
7a2675e889 Moved internal functions to locallib.php 2015-03-13 23:37:06 -07:00
Mark Nelson
fa1c0cfaeb Fixed trivial issues with report.php 2013-09-10 15:52:20 +08:00
Mark Nelson
5203d81980 Changed PHPDocs and added date to the copyright to match Moodle coding guidelines 2013-07-22 13:06:18 +08:00
Mark Nelson
4a185540e2 Added a CSS class to centre the download button and report table to stop the use of deprecated attributes and also added full-stops to comments 2013-06-06 11:14:01 +08:00
Mark Nelson
60ba77d562 Removed usages of deprecated function 2013-05-28 17:00:07 +08:00
Mark Nelson
8350c4afbf Introduced basic reporting functionality 2013-05-22 19:37:39 +08:00