mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-52312 assignfeedback_editpdf: changes to files after FPDI update
1) Change the fpdi_bridge class so that it extends the pdf class, rather than the TCPDF class. 2) Updated the editpdf/fpdi/readme_moodle.txt file to document the changes. 3) Updated the editpdf/thirdpartylibs.xml to reflect the update to the FPDI library.
This commit is contained in:
parent
f970013b16
commit
c319e44954
3 changed files with 14 additions and 5 deletions
|
@ -29,8 +29,10 @@ if (!class_exists('TCPDF', false)) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class fpdi_bridge
|
* Class fpdi_bridge
|
||||||
|
*
|
||||||
|
* This has been modified to use the Moodle pdf class which in turn extends the TCPDF class.
|
||||||
*/
|
*/
|
||||||
class fpdi_bridge extends TCPDF
|
class fpdi_bridge extends pdf
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Array of Tpl-Data
|
* Array of Tpl-Data
|
||||||
|
|
|
@ -10,7 +10,7 @@ Information
|
||||||
URL: http://www.setasign.de/products/pdf-php-solutions/fpdi/
|
URL: http://www.setasign.de/products/pdf-php-solutions/fpdi/
|
||||||
Download from: http://www.setasign.de/products/pdf-php-solutions/fpdi/downloads
|
Download from: http://www.setasign.de/products/pdf-php-solutions/fpdi/downloads
|
||||||
Documentation: http://www.setasign.de/products/pdf-php-solutions/fpdi/manuals/
|
Documentation: http://www.setasign.de/products/pdf-php-solutions/fpdi/manuals/
|
||||||
License: Apache Software License 2.0
|
License: The MIT License (MIT)
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
@ -19,6 +19,13 @@ Installation
|
||||||
3) Update mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php (or the replacement file) to extend 'pdf' instead of 'TCPDF'.
|
3) Update mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php (or the replacement file) to extend 'pdf' instead of 'TCPDF'.
|
||||||
4) Make a note below of any changes made.
|
4) Make a note below of any changes made.
|
||||||
|
|
||||||
|
2015/12/04
|
||||||
|
----------
|
||||||
|
Updated to FPDI: 1.6.1
|
||||||
|
|
||||||
|
1) Changed 'TCPDF' to 'pdf' (as stated above).
|
||||||
|
2) License changed from Apache Software License 2.0 to The MIT License (MIT).
|
||||||
|
|
||||||
2015/10/01
|
2015/10/01
|
||||||
----------
|
----------
|
||||||
Updated to FPDI: 1.5.4
|
Updated to FPDI: 1.5.4
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<library>
|
<library>
|
||||||
<location>fpdi</location>
|
<location>fpdi</location>
|
||||||
<name>FPDI</name>
|
<name>FPDI</name>
|
||||||
<license>Apache</license>
|
<license>MIT</license>
|
||||||
<version>1.5.4</version>
|
<version>1.6.1</version>
|
||||||
<licenseversion>2.0</licenseversion>
|
<licenseversion></licenseversion>
|
||||||
</library>
|
</library>
|
||||||
</libraries>
|
</libraries>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue