summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaketh14992021-12-23 13:04:07 +0530
committerSaketh14992021-12-23 13:04:07 +0530
commite8dc12972b663ef53af464251e8f7d8293322de2 (patch)
tree270903af63f39f4d46ad20a21c0a1c2c440f3709
parentd9d5af764f8e549e11d814e660d342c0071c7c0b (diff)
downloaddwsim_flowsheet-e8dc12972b663ef53af464251e8f7d8293322de2.tar.gz
dwsim_flowsheet-e8dc12972b663ef53af464251e8f7d8293322de2.tar.bz2
dwsim_flowsheet-e8dc12972b663ef53af464251e8f7d8293322de2.zip
Updating url for downloading proposals
-rw-r--r--download_proposals.inc2
-rwxr-xr-xdwsim_flowsheet.module8
-rwxr-xr-xproposals_review_tab.inc2
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" ."<h4>";
+ $output .= "Click ".l("here","/flowsheeting-project/download-proposals-all"). " to download the proposals of the participants" ."<h4>";
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 <a href='/flowsheeting-project/download-proposals'>here</a> to download the Proposals of the participants <br>";
+ //$output = "Click <a href='/flowsheeting-project/download-proposals-all'>here</a> to download the Proposals of the participants <br>";
$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)