Commit graph

5 commits

Author SHA1 Message Date
Mark Nelson
fa5d45eef3 Completely refactored the code for editing a custom certificate
The elements for each page are listed in a table below the other page settings, meaning each page has a separate table for listing their elements. Each element is now edited in a pop-up, rather than having all the element settings displayed at once on the form causing it to look overcrowded. There is also no longer any need for the function add_element to add default values for the elements when they are added, as a a form is shown when you click to add an element where you can enter the values before it is created.

Note: I did not create a db/upgrade.php script to add the new database columns as this module should not be currently used by anyone.
2013-06-07 16:04:38 +08:00
Mark Nelson
16056f076f Updated the render function in the date element to be compatible with the parent function
Also made use of the function get_grade_items in the class customcert_element_grade to populate the list of items.
2013-04-24 18:10:58 +08:00
Mark Nelson
1d7c5b2c56 Updated the version and the Moodle version required to the 2.5 beta release 2013-04-12 17:33:23 +08:00
Mark Nelson
8b3954cea7 Updated the code responsible for preventing internal access to certain files 2013-04-10 17:18:00 +08:00
Mark Nelson
819349dfc0 Introduced the date element 2013-03-13 18:19:08 -07:00