Commit graph

6 commits

Author SHA1 Message Date
Mark Nelson a26f0c2c66 Tidied up the PHPDocs and set the base element to an abstract class 2013-06-12 19:13:16 +08:00
Mark Nelson 7500bfda26 Changed the class names so that they match the directory structure 2013-06-12 16:23:08 +08:00
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 59ea1afd75 Removed unnecessary second parameter for the render function 2013-06-06 11:14:06 +08:00
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