From cae4b6664d3969f697008b9a1df3de8581e296af Mon Sep 17 00:00:00 2001
From: Sashi20
Date: Tue, 11 Feb 2020 15:34:55 +0530
Subject: Move download abstract to download codes page
---
run.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'run.inc')
diff --git a/run.inc b/run.inc
index 923ea51..aaf9da7 100755
--- a/run.inc
+++ b/run.inc
@@ -44,7 +44,7 @@ function cfd_case_study_run_form($form, &$form_state)
);
$form['selected_case_study'] = array(
'#type' => 'item',
- '#markup' => '
' . l('Download Case Study', 'case-study-project/full-download/project/' . $case_study_default_value) . '
'
+ '#markup' => '' . l('Download Abstract', "case-study-project/download/project-file/" . $case_study_default_value) . '
' . l('Download Case Study', 'case-study-project/full-download/project/' . $case_study_default_value) . '
'
);
}
return $form;
@@ -58,7 +58,7 @@ function case_study_project_details_callback($form, $form_state)
$case_study_details = _case_study_information($case_study_default_value);
$provider = user_load($case_study_details->uid);
if ($case_study_details->uid > 0) {
- $commands[] = ajax_command_html('#ajax_selected_case_study', l('Download case study', 'case-study-project/full-download/project/' . $case_study_default_value));
+ $commands[] = ajax_command_html('#ajax_selected_case_study', l('Download Abstract', "case-study-project/download/project-file/" . $case_study_default_value) . '
' . l('Download case study', 'case-study-project/full-download/project/' . $case_study_default_value));
} //$case_study_details->uid > 0
else {
$commands[] = ajax_command_html('#ajax_selected_case_study', '');
--
cgit