diff options
-rw-r--r-- | download_proposals.inc | 10 | ||||
-rwxr-xr-x | dwsim_flowsheet.module | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/download_proposals.inc b/download_proposals.inc new file mode 100644 index 0000000..10bb87f --- /dev/null +++ b/download_proposals.inc @@ -0,0 +1,10 @@ +<?php + +function dwsim_flowsheet_download_completed_proposals() +{ + $output = ""; + $output .= "Click ".l("here","/flowsheeting-project/download-proposals"). " to download the Proposals of the participants" ."<h4>"; + + return $output; + +}
\ No newline at end of file diff --git a/dwsim_flowsheet.module b/dwsim_flowsheet.module index 7e2a5a9..39c020b 100755 --- a/dwsim_flowsheet.module +++ b/dwsim_flowsheet.module @@ -365,6 +365,15 @@ function dwsim_flowsheet_menu() 'type' => MENU_CALLBACK, 'file' => 'full_download.inc' ); + $items['flowsheeting-project/download-completed-proposals'] = array( + 'title' => 'Download Completed Proposals', + 'description' => 'Download Completed Proposals', + 'page callback' => 'dwsim_flowsheet_download_completed_proposals', + 'access arguments' => array( + 'dwsim flowsheet download proposals' + ), + 'file' => 'download_proposals.inc' + ); $items['flowsheeting-project/download-proposals'] = array( 'title' => 'Download Proposals', 'description' => 'Download Proposals', |