From e8dc12972b663ef53af464251e8f7d8293322de2 Mon Sep 17 00:00:00 2001
From: Saketh1499
Date: Thu, 23 Dec 2021 13:04:07 +0530
Subject: Updating url for downloading proposals
---
download_proposals.inc | 2 +-
dwsim_flowsheet.module | 8 ++++----
proposals_review_tab.inc | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/download_proposals.inc b/download_proposals.inc
index 10bb87f..a2e9c01 100644
--- a/download_proposals.inc
+++ b/download_proposals.inc
@@ -3,7 +3,7 @@
function dwsim_flowsheet_download_completed_proposals()
{
$output = "";
- $output .= "Click ".l("here","/flowsheeting-project/download-proposals"). " to download the Proposals of the participants" ."
";
+ $output .= "Click ".l("here","/flowsheeting-project/download-proposals-all"). " to download the proposals of the participants" ."";
return $output;
diff --git a/dwsim_flowsheet.module b/dwsim_flowsheet.module
index 39c020b..630f000 100755
--- a/dwsim_flowsheet.module
+++ b/dwsim_flowsheet.module
@@ -365,16 +365,16 @@ 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',
+ $items['flowsheeting-project/download-proposals'] = array(
+ 'title' => 'Download Proposals',
+ 'description' => 'Download 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(
+ $items['flowsheeting-project/download-proposals-all'] = array(
'title' => 'Download Proposals',
'description' => 'Download Proposals',
'page callback' => 'dwsim_flowsheet_download_proposals',
diff --git a/proposals_review_tab.inc b/proposals_review_tab.inc
index 7584a6e..69bbcf9 100755
--- a/proposals_review_tab.inc
+++ b/proposals_review_tab.inc
@@ -170,7 +170,7 @@ function _flowsheet_details_year_wise()
function _flowsheet_details($flowsheet_proposal_id)
{
$output = "";
- //$output = "Click here to download the Proposals of the participants
";
+ //$output = "Click here to download the Proposals of the participants
";
$result = db_query("SELECT * from {dwsim_flowsheet_proposal} WHERE approval_status = 3 and from_unixtime(actual_completion_date, '%Y') = :year",
array(
':year' => $flowsheet_proposal_id)
--
cgit