Commit graph

12 commits

Author SHA1 Message Date
Mark Nelson
220d83935f Removed unnecessary subclass constructors 2013-06-06 11:14:06 +08:00
Mark Nelson
0dc1ef19c9 Introduced an image element and refactored the code in the process so less code was required in the new element 2013-05-30 17:55:40 +08:00
Mark Nelson
3d0b62c25d Added breaks to the switch statement to avoid unnecessary processing 2013-04-24 15:50:29 +08:00
Mark Nelson
d566ecc1d3 Updated the grade element so that it now displays the grade on the PDF 2013-04-16 17:44:03 +08:00
Mark Nelson
930179e093 Converted tabs to spaces for the grade subplugin 2013-04-12 17:58:13 +08:00
Mark Nelson
86c82ea8da Renamed the function responsible for rendering the elements to something more suitable 2013-04-10 17:53:56 +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
46c0877905 Corrected PHPDocs for the grade element 2013-03-13 18:06:01 -07:00
Mark Nelson
2b4bbbe820 Moved the rendering of the header form element for each customcert element to edit_form.php
The render_common_form_elements function was removed in the base class and it's contents put into the render_form_element function. These changes mean that some elements may not be required to override the render_form_element function, such as the studentname element, where this function was removed.
2013-02-26 17:22:52 +08:00
Mark Nelson
52fbc108a7 Introduced a new form element for selecting a colour on the customcert customisation page 2013-02-25 22:52:15 +08:00
Mark Nelson
5945171a9d Changed how the elements are rendered when editing the customcert
Rather than using grouped elements which can span across multiple lines on a small screen, the elements are now generated within a header element, keeping them separated and making the form more manageable. The base class was also changed to accomodate this by making it easier for elements to utilise common features.
2013-02-22 17:39:46 +08:00
Mark Nelson
b36c0b58dd Introduced the grade element 2013-02-22 16:15:32 +08:00