From 9f21cf74562ec66b0b5699014fc720ac518e34b6 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Thu, 4 Apr 2019 11:52:26 +0530 Subject: Add help text for field in upload code form --- lab_details.inc | 6 +++--- upload_code.inc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lab_details.inc b/lab_details.inc index e091852..b04986e 100755 --- a/lab_details.inc +++ b/lab_details.inc @@ -18,12 +18,12 @@ function lab_migration_completed_labs_all() $i = 1; while ($row = $result->fetchObject()) { - $approval_date = date("Y", $row->expected_completion_date); + $completion_date = date("Y", $row->expected_completion_date); $preference_rows[] = array( $i, $row->university, - l($row->lab_title, "lab-migration/lab-migration-run/" . $row->id), - $approval_date + $row->lab_title, + $completion_date ); $i++; } diff --git a/upload_code.inc b/upload_code.inc index bced2f5..4dafe6c 100755 --- a/upload_code.inc +++ b/upload_code.inc @@ -186,9 +186,9 @@ function lab_migration_upload_code_form($form,$form_state) $form['code_caption'] = array( '#type' => 'textfield', '#title' => t('Caption'), + '#description' => t('For eg: Shell & Tube Heat Exchanger Simulation'), '#size' => 40, '#maxlength' => 255, - '#description' => t(''), '#required' => TRUE, ); $form['os_used'] = array( @@ -214,7 +214,7 @@ function lab_migration_upload_code_form($form,$form_state) ); $form['code_warning'] = array( '#type' => 'item', - '#title' => t('Upload all the dwsim project files in .zip format'), + '#title' => t('Upload all the dwsim project files in .dwxml/dwxmz format'), '#prefix' => '