summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant S2020-07-01 15:53:21 +0530
committerGitHub2020-07-01 15:53:21 +0530
commit2edfee939399a9991a84dbecb17b6e8329613208 (patch)
treef43fc32bbec89011c2cbc684388d49aedb2c3474
parentc92a21fc13028a4891769cc051baf14014729d6a (diff)
parent032a4168669d65d3f3a87616d591a8048bc97ee9 (diff)
downloadscilab_in_migration_certificates-2edfee939399a9991a84dbecb17b6e8329613208.tar.gz
scilab_in_migration_certificates-2edfee939399a9991a84dbecb17b6e8329613208.tar.bz2
scilab_in_migration_certificates-2edfee939399a9991a84dbecb17b6e8329613208.zip
Merge pull request #3 from prashantsinalkar/masterHEADmaster
updated certificate
-rwxr-xr-xpdf/generate_pdf.inc52
-rwxr-xr-xpdf/images/MHRD_logo.pngbin0 -> 17983 bytes
-rwxr-xr-xpdf/images/pisign.pngbin0 -> 17983 bytes
-rwxr-xr-xpdf/m_tbc_generate_pdf.inc28
4 files changed, 46 insertions, 34 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index 8e82262..93bd53e 100755
--- a/pdf/generate_pdf.inc
+++ b/pdf/generate_pdf.inc
@@ -127,25 +127,29 @@ function generate_lm_pdf()
$pdf->SetX(200);
$pdf->SetTextColor(0, 0, 0);
$pdf->SetFont('', '');
- $sign = $path . "/pdf/images/kannan-sign.png";
- $pdf->Image($sign, $pdf->GetX(), $pdf->GetY() - 10, 50, 0);
+ $sign = $path . "/pdf/images/pisign.png";
+ $pdf->Image($sign, $pdf->GetX() - 20, $pdf->GetY(), 75, 0);
//$pdf->Cell(0,7,'', 0,1,'L');
- $pdf->SetFont('Times', 'I', 12);
- $pdf->Cell(0, 8, 'Prof. Kannan Moudgalya', 0, 1, 'L');
- $pdf->SetX(194);
- $pdf->Cell(0, 7, 'Principal Investigator - FOSSEE', 0, 1, 'L');
- $pdf->SetX(190);
- $pdf->Cell(0, 7, ' Dept. of Chemical Engg., IIT Bombay.', 0, 1, 'L');
- $pdf->SetX(29);
+ //$pdf->SetFont('Times', 'I', 12);
+ //$pdf->Cell(0, 8, 'Prof. Kannan Moudgalya', 0, 1, 'L');
+ //$pdf->SetX(194);
+ //$pdf->Cell(0, 7, 'Principal Investigator - FOSSEE', 0, 1, 'L');
+ //$pdf->SetX(190);
+ //$pdf->Cell(0, 7, ' Dept. of Chemical Engg., IIT Bombay.', 0, 1, 'L');
+ //$pdf->SetX(29);
$pdf->SetFont('Times', 'B', 10);
+ $pdf->SetY(-49);
+ $pdf->SetX(10);
$pdf->Cell(0, 2, $UniqueString, 0, 0, 'C');
//$image4=$path."/pdf/images/verify_content.png";
//$pdf->Image($image4, $pdf->GetX(), $pdf->GetY(),20, 0);
$pdf->SetY(-40);
- $pdf->SetX(80);
+ $pdf->SetX(70);
+ $image3 = $path . "/pdf/images/MHRD_logo.png";
$image2 = $path . "/pdf/images/fossee.png";
$pdf->Image($image2, $pdf->GetX() - 15, $pdf->GetY() + 7, 40, 0);
$pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 50, $pdf->GetY() - 5, 30, 0);
+ $pdf->Image($image3, $pdf->GetX() + 110, $pdf->GetY() + 3, 40, 0);
$image4 = $path . "/pdf/images/verify_content.png";
$pdf->Image($image4, $pdf->GetX() - 15, $pdf->GetY() + 28, 150, 0);
$pdf->SetFont('Times', 'I', 8);
@@ -220,7 +224,7 @@ function generate_lm_pdf()
$pdf->write(0, 'The work done is available at ');
$pdf->SetFont('', 'U');
$pdf->SetTextColor(139, 69, 19);
- $pdf->write(0, 'http://scilab.in/', 'http://scilab.in/');
+ $pdf->write(0, 'https://scilab.in/', 'https://scilab.in/');
$pdf->SetFont('', '');
$pdf->SetTextColor(0, 0, 0);
$pdf->write(0, '.', '.');
@@ -284,23 +288,27 @@ function generate_lm_pdf()
$pdf->SetX(200);
$pdf->SetTextColor(0, 0, 0);
$pdf->SetFont('', '');
- $sign = $path . "/pdf/images/kannan-sign.png";
- $pdf->Image($sign, $pdf->GetX(), $pdf->GetY() - 10, 50, 0);
+ $sign = $path . "/pdf/images/pisign.png";
+ $pdf->Image($sign, $pdf->GetX() - 20, $pdf->GetY(), 75, 0);
//$pdf->Cell(0,7,'', 0,1,'L');
- $pdf->SetFont('Times', 'I', 12);
- $pdf->Cell(0, 8, 'Prof. Kannan Moudgalya', 0, 1, 'L');
- $pdf->SetX(194);
- $pdf->Cell(0, 7, 'Principal Investigator - FOSSEE', 0, 1, 'L');
- $pdf->SetX(190);
- $pdf->Cell(0, 7, ' Dept. of Chemical Engg., IIT Bombay.', 0, 1, 'L');
- $pdf->SetX(29);
+ //$pdf->SetFont('Times', 'I', 12);
+ //$pdf->Cell(0, 8, 'Prof. Kannan Moudgalya', 0, 1, 'L');
+ //$pdf->SetX(194);
+ //$pdf->Cell(0, 7, 'Principal Investigator - FOSSEE', 0, 1, 'L');
+ //$pdf->SetX(190);
+ //$pdf->Cell(0, 7, ' Dept. of Chemical Engg., IIT Bombay.', 0, 1, 'L');
+ //$pdf->SetX(29);
$pdf->SetFont('Times', 'B', 10);
+ $pdf->SetY(-56);
+ $pdf->SetX(10);
$pdf->Cell(0, 2, $UniqueString, 0, 0, 'C');
- $pdf->SetY(-40);
- $pdf->SetX(80);
+ $pdf->SetY(-47);
+ $pdf->SetX(70);
+ $image3 = $path . "/pdf/images/MHRD_logo.png";
$image2 = $path . "/pdf/images/fossee.png";
$pdf->Image($image2, $pdf->GetX() - 15, $pdf->GetY() + 7, 40, 0);
$pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 50, $pdf->GetY() - 5, 30, 0);
+ $pdf->Image($image3, $pdf->GetX() + 110, $pdf->GetY() + 3, 40, 0);
$image4 = $path . "/pdf/images/verify_content.png";
//$pdf->Image($image4, $pdf->GetX(), $pdf->GetY(),0, 10);
$pdf->Image($image4, $pdf->GetX() - 15, $pdf->GetY() + 28, 150, 0);
diff --git a/pdf/images/MHRD_logo.png b/pdf/images/MHRD_logo.png
new file mode 100755
index 0000000..478dc8e
--- /dev/null
+++ b/pdf/images/MHRD_logo.png
Binary files differ
diff --git a/pdf/images/pisign.png b/pdf/images/pisign.png
new file mode 100755
index 0000000..478dc8e
--- /dev/null
+++ b/pdf/images/pisign.png
Binary files differ
diff --git a/pdf/m_tbc_generate_pdf.inc b/pdf/m_tbc_generate_pdf.inc
index 1ce7948..518061c 100755
--- a/pdf/m_tbc_generate_pdf.inc
+++ b/pdf/m_tbc_generate_pdf.inc
@@ -222,7 +222,7 @@ function generate_tbc_pdf()
$pdf->write(0, 'The work done is available at ');
$pdf->SetFont('', 'U');
$pdf->SetTextColor(139, 69, 19);
- $pdf->write(0, 'http://scilab.in/', 'http://scilab.in/');
+ $pdf->write(0, 'https://scilab.in/', 'https://scilab.in/');
$pdf->SetFont('', '');
$pdf->SetTextColor(0, 0, 0);
$pdf->write(0, '.', '.');
@@ -286,23 +286,27 @@ function generate_tbc_pdf()
$pdf->SetX(200);
$pdf->SetTextColor(0, 0, 0);
$pdf->SetFont('', '');
- //$sign = $path . "/pdf/images/kannan-sign.png";
- //$pdf->Image($sign, $pdf->GetX(), $pdf->GetY() - 10, 50, 0);
- //$pdf->Cell(0,7,'', 0,1,'L');
- $pdf->SetFont('Times', 'I', 12);
- $pdf->Cell(0, 8, 'Prof. Kannan Moudgalya', 0, 1, 'L');
- $pdf->SetX(194);
- $pdf->Cell(0, 7, 'Principal Investigator - FOSSEE', 0, 1, 'L');
- $pdf->SetX(190);
- $pdf->Cell(0, 7, ' Dept. of Chemical Engg., IIT Bombay.', 0, 1, 'L');
+ $sign = $path . "/pdf/images/pisign.png";
+ $pdf->Image($sign, $pdf->GetX() - 20, $pdf->GetY(), 75, 0);
+ $pdf->Cell(0,7,'', 0,1,'L');
+ //$pdf->SetFont('Times', 'I', 12);
+ //$pdf->Cell(0, 8, 'Prof. Kannan Moudgalya', 0, 1, 'L');
+ //$pdf->SetX(194);
+ //$pdf->Cell(0, 7, 'Principal Investigator - FOSSEE', 0, 1, 'L');
+ //$pdf->SetX(190);
+ //$pdf->Cell(0, 7, ' Dept. of Chemical Engg., IIT Bombay.', 0, 1, 'L');
$pdf->SetX(29);
$pdf->SetFont('Times', 'B', 10);
+ $pdf->SetY(-56);
+ $pdf->SetX(10);
$pdf->Cell(0, 2, $UniqueString, 0, 0, 'C');
- $pdf->SetY(-40);
- $pdf->SetX(80);
+ $pdf->SetY(-47);
+ $pdf->SetX(70);
$image2 = $path . "/pdf/images/fossee.png";
+ $image3 = $path . "/pdf/images/MHRD_logo.png";
$pdf->Image($image2, $pdf->GetX() - 15, $pdf->GetY() + 7, 40, 0);
$pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 50, $pdf->GetY() - 5, 30, 0);
+ $pdf->Image($image3, $pdf->GetX() + 110, $pdf->GetY() + 3, 40, 0);
$image4 = $path . "/pdf/images/verify_content_tbc.png";
//$pdf->Image($image4, $pdf->GetX(), $pdf->GetY(),0, 10);
$pdf->Image($image4, $pdf->GetX() - 15, $pdf->GetY() + 28, 150, 0);