summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaketh14992021-11-15 11:50:22 +0530
committerSaketh14992021-11-15 11:50:22 +0530
commitd9d5af764f8e549e11d814e660d342c0071c7c0b (patch)
tree3e8e06cbf21ac9bab24083746bc60330489324e5
parent15dca07df6dd9d49257c86228092eac0382a3897 (diff)
downloaddwsim_flowsheet-d9d5af764f8e549e11d814e660d342c0071c7c0b.tar.gz
dwsim_flowsheet-d9d5af764f8e549e11d814e660d342c0071c7c0b.tar.bz2
dwsim_flowsheet-d9d5af764f8e549e11d814e660d342c0071c7c0b.zip
Updating download proposals of participants interface
-rw-r--r--download_proposals.inc10
-rwxr-xr-xdwsim_flowsheet.module9
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',