New module 'Printer-friendly pages'

This commit is contained in:
Manuel Cillero 2017-07-26 19:32:04 +02:00
parent ae482480b2
commit b70f11745a
38 changed files with 8667 additions and 0 deletions

View file

@ -0,0 +1,25 @@
<?php
/**
* @file
* Extend the TCPDF class to be able to customize the Footer (PHP4 version)
*
* This file is included by the _print_pdf_tcpdf function when the current
* PHP_VERSION is less than 5.0.0
*
* @ingroup print
*/
class PrintTCPDF extends TCPDF {
var $footer;
// Page footer data
function SetFooterData($arg = '') {
$this->footer = $arg;
}
// Page footer
function Footer() {
$this = theme('print_pdf_tcpdf_footer2', $this);
}
}