From d0536f2f87005f0b2f646921541f32ec7fed1ebd Mon Sep 17 00:00:00 2001
From: Sashi20
Date: Fri, 29 Mar 2019 10:40:07 +0530
Subject: Remove duplicate link to download the codes
---
run.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/run.inc b/run.inc
index 4ad250b..2ba4a44 100755
--- a/run.inc
+++ b/run.inc
@@ -120,13 +120,13 @@ function lab_migration_run_form($form, &$form_state)
'#markup' => '
'. l('Download PDF of Lab Solutions', 'lab-migration/generate-lab/' . $lab_default_value . '/1') .'
',
);*/
- if ($lab_default_value == '2')
+ /*if ($lab_default_value == '2')
{
$form['selected_lab_dwsim'] = array(
'#type' => 'item',
'#markup' => '' . l('Download Lab Solutions (dwsim Version)', 'lab-migration-uploads/dwsim_Version.zip') . '
'
);
- }
+ }*/
$form['lab_details'] = array(
'#type' => 'item',
'#markup' => '' . _lab_details($lab_default_value) . '
'
@@ -223,7 +223,7 @@ function ajax_experiment_list_callback($form, $form_state)
if ($lab_details->solution_provider_uid > 0)
{
$commands[] = ajax_command_html('#ajax_selected_lab', l('Download Lab Solutions', 'lab-migration/download/lab/' . $lab_default_value));
- if ($lab_default_value == '2')
+ /*if ($lab_default_value == '2')
{
$commands[] = ajax_command_html('#ajax_selected_lab_dwsim', l('Download Lab Solutions (dwsim Version)', 'lab-migration_uploads/dwsim_Version.zip'));
}
--
cgit