diff options
author | Sashi20 | 2019-11-14 14:16:24 +0530 |
---|---|---|
committer | Sashi20 | 2019-11-14 14:16:24 +0530 |
commit | ec453ec7e823311098506ebdd29924a26ff47a20 (patch) | |
tree | d9c27a0c016a7e089c17617019f3e978548f7edd | |
parent | 719fa4c487995fb463f8945bf998e816b7d6cb03 (diff) | |
download | om_pssp-ec453ec7e823311098506ebdd29924a26ff47a20.tar.gz om_pssp-ec453ec7e823311098506ebdd29924a26ff47a20.tar.bz2 om_pssp-ec453ec7e823311098506ebdd29924a26ff47a20.zip |
Modify url to download abstract file submitted during project submission
-rwxr-xr-x | om_pssp.module | 10 | ||||
-rwxr-xr-x | pssp_details.inc | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/om_pssp.module b/om_pssp.module index 3f19e4a..fc4da49 100755 --- a/om_pssp.module +++ b/om_pssp.module @@ -182,6 +182,16 @@ function om_pssp_menu() 'type' => MENU_CALLBACK, 'file' => 'download.inc' ); + $items['powersystems/pssp/download/abstract-file'] = array( + 'title' => 'Download abstract file', + 'description' => 'Download abstract file', + 'page callback' => 'om_pssp_project_files', + 'access arguments' => array( + 'om pssp download code' + ), + 'type' => MENU_CALLBACK, + 'file' => 'download.inc' + ); $items['powersystems/pssp/download/file'] = array( 'title' => 'Code Download', 'description' => 'Code Download', diff --git a/pssp_details.inc b/pssp_details.inc index 80c689f..44f1b35 100755 --- a/pssp_details.inc +++ b/pssp_details.inc @@ -32,7 +32,7 @@ function om_pssp_completed_proposals_all() $preference_rows[] = array( $i, l($row->project_title, "powersystems/pssp/om-pssp-run/" . $row->id), - l('Download', "powersystems/pssp/download/resource-file/" . $row->id), + l('Download', "powersystems/pssp/download/abstract-file/" . $row->id), $row->contributor_name, $row->university, $approval_date |