summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakshay2023-12-18 13:05:07 +0530
committerGitHub2023-12-18 13:05:07 +0530
commita2dc9e540c3392163862b4fd6e7a120b3d2e54b0 (patch)
treebe617391a895a3c991908d52721d6b3ed6c2c32f
parent59ebe54d5b98b5a9baaa470f45ceb42c2d957dd1 (diff)
parent7b7aea928632fdb7277adf11da9217f481723fd8 (diff)
downloadcfd_lab_migration-a2dc9e540c3392163862b4fd6e7a120b3d2e54b0.tar.gz
cfd_lab_migration-a2dc9e540c3392163862b4fd6e7a120b3d2e54b0.tar.bz2
cfd_lab_migration-a2dc9e540c3392163862b4fd6e7a120b3d2e54b0.zip
Merge pull request #11 from akshay9085/addition
Addition
-rwxr-xr-xlab_migration.module16
-rwxr-xr-xpdf/generate_pdf.inc4
2 files changed, 10 insertions, 10 deletions
diff --git a/lab_migration.module b/lab_migration.module
index 430feb9..fb03977 100755
--- a/lab_migration.module
+++ b/lab_migration.module
@@ -990,12 +990,12 @@ function lab_migration_certificate_form($form, $form_state)
);
$form['institute_name'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue Name'),
+ '#title' => t('college / Institue name'),
'#required' => TRUE
);
$form['institute_address'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue address'),
+ '#title' => t('college / Institue address'),
'#required' => TRUE
);
$form['lab_name'] = array(
@@ -1093,12 +1093,12 @@ function lab_migration_certificate_edit_form($form, $form_state)
);
$form['institute_name'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue Name'),
+ '#title' => t('college / Institue Name'),
'#default_value' => $details_list->institute_name
);
$form['institute_address'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue address'),
+ '#title' => t('college / Institue address'),
'#default_value' => $details_list->institute_address
);
$form['lab_name'] = array(
@@ -1215,12 +1215,12 @@ function lab_migration_certificate_participation_form($form, $form_state)
);
$form['institute_name'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue Name'),
+ '#title' => t('college / Institue Name'),
'#required' => TRUE
);
$form['institute_address'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue address'),
+ '#title' => t('college / Institue address'),
'#required' => TRUE
);
$form['lab_name'] = array(
@@ -1316,12 +1316,12 @@ function lab_migration_certificate_participation_edit_form($form, $form_state)
);
$form['institute_name'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue Name'),
+ '#title' => t('college / Institue Name'),
'#default_value' => $details_list->institute_name
);
$form['institute_address'] = array(
'#type' => 'textfield',
- '#title' => t('Collage / Institue address'),
+ '#title' => t('college / Institue address'),
'#default_value' => $details_list->institute_address
);
$form['lab_name'] = array(
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index e8f9aa8..8328f9e 100755
--- a/pdf/generate_pdf.inc
+++ b/pdf/generate_pdf.inc
@@ -284,7 +284,7 @@ function generate_lm_pdf()
// $pdf->Cell(320, 10, $data3->institute_address, '0', 1, 'C');
$pdf->Ln(0);
$pdf->SetTextColor(0, 0, 0);
- $pdf->Cell(320, 10, ' has developed the solutions in CFD for the course', '0', 1, 'C');
+ $pdf->Cell(320, 10, ' has developed the solution in OpenFOAM for the course', '0', 1, 'C');
$pdf->Ln(0);
$pdf->SetTextColor(37, 22, 247);
$pdf->Cell(320, 10, $data3->lab_name. ',', '0', '1', 'C');
@@ -293,7 +293,7 @@ function generate_lm_pdf()
//$pdf->Cell(240,8,'in ', '0','1','C');
$pdf->Ln(0);
$pdf->SetTextColor(0, 0, 0);
- $pdf->Cell(320, 10, ' Which is offered in the ', '0', 1, 'C');
+ $pdf->Cell(320, 10, ' which is offered in the ', '0', 1, 'C');
$pdf->SetTextColor(139, 69, 19);
$pdf->Cell(320, 10,$data3->semester_details . ' semester' . ' for '. $data3->department. ' students.', '0', '1', 'C');
$pdf->Ln(4);