Commit 67e42675 authored by User expired's avatar User expired
Browse files

PDF output of test results with UIBK logo & text

parent 9cb5ac38
......@@ -188,7 +188,7 @@ $pdf->SetTitle($doc_title);
$pdf->SetSubject($doc_description);
$pdf->SetKeywords('TCExam, '.$doc_title);
$pdf->setHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING);
$pdf->setHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING);
//set margins
$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
......
......@@ -32,17 +32,17 @@
/**
* Header title.
*/
define ('PDF_HEADER_TITLE', "School name");
define ('PDF_HEADER_TITLE', "Universität Innsbruck");
/**
* Header description string.
*/
define ('PDF_HEADER_STRING', "first row\nsecond row\nthird row");
define ('PDF_HEADER_STRING', "Innrain 52\n6020 Innsbruck\n");
/**
* Image logo.
*/
define ('PDF_HEADER_LOGO', 'logo_example.png');
define ('PDF_HEADER_LOGO', 'Uni_Logo_4C.jpg');
/**
* Header logo image width [mm].
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment