summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
authorSashi202020-02-11 15:34:55 +0530
committerSashi202020-02-11 15:34:55 +0530
commitcae4b6664d3969f697008b9a1df3de8581e296af (patch)
tree4b4692eecbf839f922465dedd045491e6c1ae259 /run.inc
parent328da2ded286bbf22d8044563b8c82a2239592c0 (diff)
downloadcfd_case_study-cae4b6664d3969f697008b9a1df3de8581e296af.tar.gz
cfd_case_study-cae4b6664d3969f697008b9a1df3de8581e296af.tar.bz2
cfd_case_study-cae4b6664d3969f697008b9a1df3de8581e296af.zip
Move download abstract to download codes page
Diffstat (limited to 'run.inc')
-rwxr-xr-xrun.inc4
1 files changed, 2 insertions, 2 deletions
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' => '<div id="ajax_selected_case_study">' . l('Download Case Study', 'case-study-project/full-download/project/' . $case_study_default_value) . '</div>'
+ '#markup' => '<div id="ajax_selected_case_study">' . l('Download Abstract', "case-study-project/download/project-file/" . $case_study_default_value) . '<br>' . l('Download Case Study', 'case-study-project/full-download/project/' . $case_study_default_value) . '</div>'
);
}
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) . '<br>' . 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', '');