Commit graph

61 commits

Author SHA1 Message Date
Mark Nelson 9e36732d5f Updated package and removed subpackage from PHPDocs 2013-04-26 15:39:59 +08:00
Mark Nelson f2314ad49e Updated the validation of the width and height for the customcert page 2013-04-24 18:10:52 +08:00
Mark Nelson 6b145ee81f Renamed the label for the customcert intro field 2013-04-24 15:44:13 +08:00
Mark Nelson dcdfeb9956 Changed the validation of the colour picker to only allow HTML colours or hexadecimal values
The reason for this is because the call to TCPDF_COLORS::convertHTMLColorToDec only allows these values.
2013-04-11 19:30:48 +08:00
Mark Nelson 31168708bb Added a view.php file 2013-04-09 17:31:36 +08:00
Mark Nelson cd2564163a Moved and renamed the delete element submit button 2013-04-09 15:49:29 +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
Mark Nelson 9d0eb727e5 Introduced customisable elements to the customcert
Elements are sub-plugins that have the same abilities as a core plugin, such as creating tables, capabilities and performing upgrades.

Currently elements can define -

* What additional form elements are rendered when adding the element to the customcert customisation page.
* How the data from the additional form elements is validated and saved.
* How the element is rendered on the PDF.
* How the element handles removing data when it is deleted.
2013-02-21 18:23:11 +08:00
Mark Nelson 2b8403438f Module will install successfully with limited functionality
The module will add tables to the DB on install, you can then add/edit instances and add/edit pages to these instances.
2013-02-18 11:48:16 +08:00