Mark Nelson
|
35851b204c
|
Removed unused variables and altered comments
|
2013-05-30 17:59:53 +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
|
33a711b240
|
Removed unnecessary line of code
|
2013-05-28 17:41:40 +08:00 |
|
Mark Nelson
|
010aa564e1
|
Changed the last parameter passed to get_string
|
2013-05-28 17:33:17 +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
|
9a506b668b
|
Fixed the rendering of fonts that are either bold, italic or both
|
2013-05-17 12:15:01 +08:00 |
|
Mark Nelson
|
903d74ab08
|
Corrected the default font
|
2013-05-17 11:09:36 +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
|
faedb6f7e0
|
Removed return statement that prevented the rest of the script from executing
|
2013-05-16 13:17:42 +08:00 |
|
Mark Nelson
|
d8677842d3
|
Used the moodle_url class rather than $CFG->wwwroot for links
|
2013-05-16 13:17:42 +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
|
bc621a85e3
|
Corrected typo
|
2013-04-29 18:10:06 +08:00 |
|
Mark Nelson
|
aa835a1304
|
Removed unused class variable in edit_form.php
|
2013-04-26 17:16:31 +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
|
dfbb864ac9
|
Updated the validation of position x and position y for customcert elements
|
2013-04-24 18:10:58 +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
|
f2314ad49e
|
Updated the validation of the width and height for the customcert page
|
2013-04-24 18:10:52 +08:00 |
|
Mark Nelson
|
7781024377
|
Added a timemodified field to the customcert_elements table which is used to collapse the form elements that have already been modified by the user
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-24 17:24:57 +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
|
6b145ee81f
|
Renamed the label for the customcert intro field
|
2013-04-24 15:44:13 +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
|
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
|
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
|
18480d6050
|
Removed the NEXT and PREVIOUS attributes from the install.xml file as they are not needed in Moodle 2.5 and onwards
|
2013-04-12 14:50:19 +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
|
cb58bf22be
|
Set the font colour to black for any newly created elements
|
2013-04-11 19:12:44 +08:00 |
|
Mark Nelson
|
d3ed38d149
|
Moved the colourpicker form element into the includes folder
|
2013-04-11 19:09:25 +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
|
7c4e8def0c
|
Altered the render function in the studentname element to use the common rendering function
|
2013-04-11 18:52:30 +08:00 |
|
Mark Nelson
|
7ce63bbca0
|
Included the TCPDF_COLORS file when viewing a customcert
|
2013-04-11 18:50:44 +08:00 |
|
Mark Nelson
|
a6cb51641f
|
Included a file containing necessary TCPDF functions that are not included in Moodle core
|
2013-04-11 18:44:14 +08:00 |
|
Mark Nelson
|
ee37ccf7e5
|
Added a helper function that calls the most commonly used TCPDF functions to render provided content on the PDF
|
2013-04-11 18:42:23 +08:00 |
|
Mark Nelson
|
49a04bc7a3
|
Added an extra parameter for the rendering function
|
2013-04-11 18:21:54 +08:00 |
|
Mark Nelson
|
7451ab20ba
|
Introduced the function responsible for generating the PDF
|
2013-04-11 16:59:29 +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
|
31168708bb
|
Added a view.php file
|
2013-04-09 17:31:36 +08:00 |
|
Mark Nelson
|
94978c9f03
|
Removed the cancel element from the edit form
|
2013-04-09 15:54:09 +08:00 |
|
Mark Nelson
|
f3709130d0
|
Renamed CSS class so that it was not so specific
|
2013-04-09 15:52:24 +08:00 |
|
Mark Nelson
|
cd2564163a
|
Moved and renamed the delete element submit button
|
2013-04-09 15:49:29 +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
|
d6428b89d1
|
Added setType to form elements for security and to remove the debugging message introduced in Moodle 2.5
|
2013-04-09 13:10:56 +08:00 |
|