diff options
author | Sashi20 | 2020-02-10 15:31:32 +0530 |
---|---|---|
committer | Sashi20 | 2020-02-10 15:31:32 +0530 |
commit | 4252d7a8b41bd121b64d2561afb592be574aeb65 (patch) | |
tree | b8633ea407e4ea4d2df1cf7e158fba65029d70fb /run.inc | |
parent | ea8664a466b084a09e286aa4200c447b458e6510 (diff) | |
download | dwsim_custom_model-4252d7a8b41bd121b64d2561afb592be574aeb65.tar.gz dwsim_custom_model-4252d7a8b41bd121b64d2561afb592be574aeb65.tar.bz2 dwsim_custom_model-4252d7a8b41bd121b64d2561afb592be574aeb65.zip |
Modiy link to proposal terms, add link to download abstract in Download codes
Diffstat (limited to 'run.inc')
-rwxr-xr-x | run.inc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,7 +44,7 @@ function custom_model_run_form($form, &$form_state) ); $form['selected_custom_model'] = array( '#type' => 'item', - '#markup' => '<div id="ajax_selected_custom_model">' . l('Download Custom Model', 'custom-model/full-download/project/' . $custom_model_default_value) . '</div>' + '#markup' => '<div id="ajax_selected_custom_model">' . l('Download Abstract', 'custom-model/download/project-file/' . $custom_model_default_value) . '<br>' . l('Download Custom Model', 'custom-model/full-download/project/' . $custom_model_default_value) . '</div>' ); } return $form; @@ -58,7 +58,7 @@ function custom_model_project_details_callback($form, $form_state) $custom_model_details = _custom_model_information($custom_model_default_value); $provider = user_load($custom_model_details->uid); if ($custom_model_details->uid > 0) { - $commands[] = ajax_command_html('#ajax_selected_custom_model', l('Download Custom Model', 'custom-model/full-download/project/' . $custom_model_default_value)); + $commands[] = ajax_command_html('#ajax_selected_custom_model',l('Download Abstract', 'custom-model/download/project-file/' . $custom_model_default_value) . '<br>' . l('Download Custom Model', 'custom-model/full-download/project/' . $custom_model_default_value)); } //$custom_model_details->uid > 0 else { $commands[] = ajax_command_html('#ajax_selected_custom_model', ''); |