projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Table editor fills the new entry form with the default values of the fields
[platal.git]
/
modules
/
carnet
/
contacts.pdf.inc.php
diff --git
a/modules/carnet/contacts.pdf.inc.php
b/modules/carnet/contacts.pdf.inc.php
index
e50bf96
..
32617b1
100644
(file)
--- a/
modules/carnet/contacts.pdf.inc.php
+++ b/
modules/carnet/contacts.pdf.inc.php
@@
-21,18
+21,20
@@
define ('FPDF_FONTPATH', dirname(__FILE__).'/fonts/');
require_once '/usr/share/fpdf/fpdf.php';
define ('FPDF_FONTPATH', dirname(__FILE__).'/fonts/');
require_once '/usr/share/fpdf/fpdf.php';
-require_once dirname(__FILE__).'/../../classes/varstream.php';
+
+VarStream::init();
class ContactsPDF extends FPDF
{
class ContactsPDF extends FPDF
{
- var $col = 0;
- var $y0;
+ public $title = "Mes contacts sur Polytechnique.org";
+
+ private $col = 0;
+ private $y0;
- var $title = "Mes contacts sur Polytechnique.org";
- var $broken = false;
- var $error = false;
+ private $broken = false;
+ private $error = false;
-
var
$report = 0;
+
private
$report = 0;
function ContactsPDF()
{
function ContactsPDF()
{
@@
-339,7
+341,6
@@
class ContactsPDF extends FPDF
return $self;
}
return $self;
}
-
}
?>
}
?>