summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorVeit Olschinski <veit@olschinski.de>2011-07-05 08:14:46 +0000
committerVeit Olschinski <veit@olschinski.de>2011-07-05 08:14:46 +0000
commit5805f6230e54ab1ac54b23d9710485b480d3a869 (patch)
treebb0a43d108ad1be81e016148b2b377f840ef23bb /library
parentf65ea28c37b6406505f0f555a866c71db655c114 (diff)
downloadwebtrees-5805f6230e54ab1ac54b23d9710485b480d3a869.tar.gz
webtrees-5805f6230e54ab1ac54b23d9710485b480d3a869.tar.bz2
webtrees-5805f6230e54ab1ac54b23d9710485b480d3a869.zip
Added site URL as author
Diffstat (limited to 'library')
-rw-r--r--library/WT/Report/Base.php2
-rw-r--r--library/WT/Report/PDF.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/library/WT/Report/Base.php b/library/WT/Report/Base.php
index 0a10a912e2..a2fe642f5b 100644
--- a/library/WT/Report/Base.php
+++ b/library/WT/Report/Base.php
@@ -188,7 +188,7 @@ class WT_Report_Base {
* @var string
* @todo add the author support
*/
- //var $rauthor = "";
+ public $rauthor = WT_SERVER_NAME;
/**
* Keywords
* @see WT_Report_Base::setup()
diff --git a/library/WT/Report/PDF.php b/library/WT/Report/PDF.php
index 3a9b84e748..6b9837e5e8 100644
--- a/library/WT/Report/PDF.php
+++ b/library/WT/Report/PDF.php
@@ -95,7 +95,7 @@ class WT_Report_PDF extends WT_Report_Base {
}
$this->pdf->SetCreator($appversion." (".parent::wt_url.")");
// Not implemented yet - WT_Report_Base::setup()
- //$this->pdf->SetAuthor($this->rauthor);
+ $this->pdf->SetAuthor($this->rauthor);
$this->pdf->SetTitle($this->title);
$this->pdf->SetSubject($this->rsubject);
$this->pdf->SetKeywords($this->rkeywords);
@@ -476,7 +476,7 @@ class PDF extends TCPDF {
$this->currentStyle = $s;
$style = $this->wt_report->getStyle($s);
$this->SetFont($style['font'], $style['style'], $style['size']);
- }
+ }
/**
* Get the style -PDF