summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-04-04 11:52:26 +0530
committerSashi202019-04-04 11:52:26 +0530
commit9f21cf74562ec66b0b5699014fc720ac518e34b6 (patch)
treee11844534e3a50afc8cd5357013c384df51be50d
parentd0536f2f87005f0b2f646921541f32ec7fed1ebd (diff)
downloadDWSIM_lab_migration_module-9f21cf74562ec66b0b5699014fc720ac518e34b6.tar.gz
DWSIM_lab_migration_module-9f21cf74562ec66b0b5699014fc720ac518e34b6.tar.bz2
DWSIM_lab_migration_module-9f21cf74562ec66b0b5699014fc720ac518e34b6.zip
Add help text for field in upload code form
-rwxr-xr-xlab_details.inc6
-rwxr-xr-xupload_code.inc4
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' => '<div style="color:red">',
'#suffix' => '</div>',
);