summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-06-29 17:29:43 +0530
committerGitHub2020-06-29 17:29:43 +0530
commit3f7a749f39f656c46e08fef8c001025183af3ae0 (patch)
tree1ae41de41711d420d91e80f27b31cde3f5e83acf
parentcc646b12c6ad5453a92d3649fcaa5ecb9be30bf3 (diff)
parent844482806f0801540ee3a4c17631edaf9c78077b (diff)
downloadr_textbook_companion-3f7a749f39f656c46e08fef8c001025183af3ae0.tar.gz
r_textbook_companion-3f7a749f39f656c46e08fef8c001025183af3ae0.tar.bz2
r_textbook_companion-3f7a749f39f656c46e08fef8c001025183af3ae0.zip
Merge pull request #39 from Sashi20/drupal_7.x
Minor changes in the certificate
-rwxr-xr-xpdf/generate_pdf.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index d91a3ab..0abd638 100755
--- a/pdf/generate_pdf.inc
+++ b/pdf/generate_pdf.inc
@@ -142,8 +142,8 @@ function generate_pdf()
$pdf->Cell(228, 8, $UniqueString, '0', '1', 'R');
$pdf->SetY(148);
$pdf->SetX(222);
- $pdf->Image($sign, $pdf->GetX()-130, $pdf->GetY()+6, 60, 0);
- $pdf->Image($pngAbsoluteFilePath, $pdf->GetX(), $pdf->GetY()+1, 30, 0);
+ $pdf->Image($sign, $pdf->GetX()-130, $pdf->GetY(), 85, 0);
+ $pdf->Image($pngAbsoluteFilePath, $pdf->GetX(), $pdf->GetY()-5, 30, 0);
//$name = $data3->full_name;
//$certificate_name = str_replace(' ', '_', $name);
//$pdf->Output($certificate_name . '_R_TBC_Certificate.pdf', 'D');