summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
authorSashi202020-02-10 15:31:32 +0530
committerSashi202020-02-10 15:31:32 +0530
commit4252d7a8b41bd121b64d2561afb592be574aeb65 (patch)
treeb8633ea407e4ea4d2df1cf7e158fba65029d70fb /run.inc
parentea8664a466b084a09e286aa4200c447b458e6510 (diff)
downloaddwsim_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-xrun.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.inc b/run.inc
index 1e0aa7f..0a35749 100755
--- a/run.inc
+++ b/run.inc
@@ -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', '');