projects
/
infodrom.org
/
www.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff78ce3
)
Oops, the FPDF class is required for the class definition already.
author
Joey Schulze
<joey@infodrom.org>
Fri, 8 Aug 2008 05:56:43 +0000
(
05:56
+0000)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 8 Aug 2008 05:56:43 +0000
(
05:56
+0000)
Styles/calendar_pdf.style
patch
|
blob
|
history
diff --git
a/Styles/calendar_pdf.style
b/Styles/calendar_pdf.style
index
fab7c1f
..
3a4434f
100644
(file)
--- a/
Styles/calendar_pdf.style
+++ b/
Styles/calendar_pdf.style
@@
-1,6
+1,8
@@
<?
# PDF generation
+ require('fpdf/fpdf.php');
+
class CalPDF extends FPDF
{
var $year;
@@
-157,8
+159,6
@@
function calendar_pdf($year)
{
- require('fpdf/fpdf.php');
-
$pdf = new CalPDF($year, true);
$pdf->AliasNbPages();
$pdf->SetTitle('Free Software Events Calendar');