Commit graph

22 commits

Author SHA1 Message Date
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
33a711b240 Removed unnecessary line of code 2013-05-28 17:41:40 +08:00
Mark Nelson
60ba77d562 Removed usages of deprecated function 2013-05-28 17:00:07 +08:00
Mark Nelson
516506e8f1 Corrected PHPDocs 2013-05-28 16:56:09 +08:00
Mark Nelson
8350c4afbf Introduced basic reporting functionality 2013-05-22 19:37:39 +08:00
Mark Nelson
a513ba8038 Added functionality to preview the custom certificate 2013-05-17 11:09:22 +08:00
Mark Nelson
4962b72938 The first page is now created when the customcert instance is added and the button to create new pages has been moved 2013-05-16 18:27:58 +08:00
Mark Nelson
c0d081f849 Added the ability to specify the PDF protection
Note: I did not create a db/upgrade.php script to add the new database column as this module should not be currently used by anyone.
2013-05-16 13:21:12 +08:00
Mark Nelson
2b92220c73 Set the default values for each page to the dimensions of an A4 piece of paper 2013-05-16 13:17:42 +08:00
Mark Nelson
d7174ce3c8 Introduced functionality to save and load customcert templates
Note: I did not create a db/upgrade.php script to add the new database tables as this module should not be currently used by anyone.
2013-05-16 13:17:34 +08:00
Mark Nelson
47b79abf6c Added spacing around '=>' 2013-04-26 16:41:08 +08:00
Mark Nelson
9e36732d5f Updated package and removed subpackage from PHPDocs 2013-04-26 15:39:59 +08:00
Mark Nelson
95688dd064 Included missing global values needed in function 2013-04-12 17:33:23 +08:00
Mark Nelson
0bc2e186e6 Added the ability to change the order the customcert elements are displayed
Note: I did not create a db/upgrade.php script to add the new database column as this module should not be currently used by anyone.
2013-04-12 17:33:23 +08:00
Mark Nelson
3e446120d2 Fixed the function responsible for returning a list of fonts available 2013-04-11 19:06:18 +08:00
Mark Nelson
7451ab20ba Introduced the function responsible for generating the PDF 2013-04-11 16:59:29 +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
31168708bb Added a view.php file 2013-04-09 17:31:36 +08:00
Mark Nelson
08c4f03ee7 Fixed issue where elements for the customcert page with the id 1 were being displayed (if it existed) for newly created customcerts 2013-04-09 13:27:55 +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
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