From ec453ec7e823311098506ebdd29924a26ff47a20 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Thu, 14 Nov 2019 14:16:24 +0530 Subject: Modify url to download abstract file submitted during project submission --- om_pssp.module | 10 ++++++++++ pssp_details.inc | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- cgit