summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xom_pssp.module10
-rwxr-xr-xpssp_details.inc2
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