diff options
author | Sashi20 | 2020-02-11 15:34:55 +0530 |
---|---|---|
committer | Sashi20 | 2020-02-11 15:34:55 +0530 |
commit | cae4b6664d3969f697008b9a1df3de8581e296af (patch) | |
tree | 4b4692eecbf839f922465dedd045491e6c1ae259 /run.inc | |
parent | 328da2ded286bbf22d8044563b8c82a2239592c0 (diff) | |
download | cfd_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-x | run.inc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', ''); |