summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
authorSashi202019-03-29 10:40:07 +0530
committerSashi202019-03-29 10:40:07 +0530
commitd0536f2f87005f0b2f646921541f32ec7fed1ebd (patch)
tree87b70d4999e65f674f87f0ce7bbc0e6d8dac27e6 /run.inc
parent08f13958d245fe0d628ebd05618fcc4462c09b75 (diff)
downloadDWSIM_lab_migration_module-d0536f2f87005f0b2f646921541f32ec7fed1ebd.tar.gz
DWSIM_lab_migration_module-d0536f2f87005f0b2f646921541f32ec7fed1ebd.tar.bz2
DWSIM_lab_migration_module-d0536f2f87005f0b2f646921541f32ec7fed1ebd.zip
Remove duplicate link to download the codes
Diffstat (limited to 'run.inc')
-rwxr-xr-xrun.inc6
1 files 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' => '<div id="ajax_selected_lab_pdf">'. l('Download PDF of Lab Solutions', 'lab-migration/generate-lab/' . $lab_default_value . '/1') .'</div>',
);*/
- if ($lab_default_value == '2')
+ /*if ($lab_default_value == '2')
{
$form['selected_lab_dwsim'] = array(
'#type' => 'item',
'#markup' => '<div id="ajax_selected_lab_dwsim">' . l('Download Lab Solutions (dwsim Version)', 'lab-migration-uploads/dwsim_Version.zip') . '</div>'
);
- }
+ }*/
$form['lab_details'] = array(
'#type' => 'item',
'#markup' => '<div id="ajax_lab_details">' . _lab_details($lab_default_value) . '</div>'
@@ -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'));
}