From 85f6d97c8bb8d42be4eccd33bef22ffbf24d515d Mon Sep 17 00:00:00 2001 From: akshay9085 Date: Tue, 12 Dec 2023 14:22:25 +0530 Subject: change in alignment and add description --- lab_migration.module | 8 ++++---- pdf/generate_pdf.inc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lab_migration.module b/lab_migration.module index 2ec2172..430feb9 100755 --- a/lab_migration.module +++ b/lab_migration.module @@ -1011,7 +1011,7 @@ function lab_migration_certificate_form($form, $form_state) $form['semester_details'] = array( '#type' => 'textfield', '#title' => t('Semester details'), - '#description' => 'Eg. V or II', + '#description' => 'Eg. 5th or 2nd', '#required' => TRUE ); $form['proposal_id'] = array( @@ -1114,7 +1114,7 @@ function lab_migration_certificate_edit_form($form, $form_state) $form['semester_details'] = array( '#type' => 'textfield', '#title' => t('Semester details '), - '#description' => 'Eg.V or II', + '#description' => 'Eg. 5th or 2nd', '#default_value' => $details_list->semester_details ); $form['proposal_id'] = array( @@ -1236,7 +1236,7 @@ function lab_migration_certificate_participation_form($form, $form_state) $form['semester_details'] = array( '#type' => 'textfield', '#title' => t('Semester details and department'), - '#description' => 'Eg. V or II', + '#description' => 'Eg. 5th or 2nd', '#required' => TRUE ); $form['proposal_id'] = array( @@ -1337,7 +1337,7 @@ function lab_migration_certificate_participation_edit_form($form, $form_state) $form['semester_details'] = array( '#type' => 'textfield', '#title' => t('Semester details and department'), - '#description' => 'Eg. V or II', + '#description' => 'Eg. 5th or 2nd', '#default_value' => $details_list->semester_details ); $form['proposal_id'] = array( diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc index 14e3cbd..e8f9aa8 100755 --- a/pdf/generate_pdf.inc +++ b/pdf/generate_pdf.inc @@ -88,7 +88,7 @@ function generate_lm_pdf() // $pdf->Cell(240,8,'in ', '0','1','C'); $pdf->Ln(0); $pdf->SetTextColor(139, 69, 19); - $pdf->Cell(320, 10,'of the semester '. $data3->semester_details . ' for ' . $data3->department. ' students', '0', '1', 'C'); + $pdf->Cell(320, 10,'of the '. $data3->semester_details. ' semester' . ' for ' . $data3->department. ' students', '0', '1', 'C'); $pdf->Ln(0); $pdf->SetTextColor(0, 0, 0); $pdf->Cell(320, 10, 'to an OpenFOAM lab only.', '0', '1', 'C'); @@ -295,7 +295,7 @@ function generate_lm_pdf() $pdf->SetTextColor(0, 0, 0); $pdf->Cell(320, 10, ' Which is offered in the ', '0', 1, 'C'); $pdf->SetTextColor(139, 69, 19); - $pdf->Cell(320, 10, 'semester ' . $data3->semester_details . ' for '. $data3->department. ' students.', '0', '1', 'C'); + $pdf->Cell(320, 10,$data3->semester_details . ' semester' . ' for '. $data3->department. ' students.', '0', '1', 'C'); $pdf->Ln(4); // $pdf->Ln(0); // $pdf->Cell(320, 10, '', '0', '1', 'C'); -- cgit