diff options
author | prashant | 2014-11-07 15:16:14 +0530 |
---|---|---|
committer | prashant | 2014-11-07 15:16:14 +0530 |
commit | 08205b9b86efb75f1f171f04a34727a662a4ccbf (patch) | |
tree | 457c1e2e2dd8f2dadcf76994995620b5a6185672 | |
parent | 83705bf6bac02e74d6a0db1dc8c3d3655502167d (diff) | |
download | conference_proposal-08205b9b86efb75f1f171f04a34727a662a4ccbf.tar.gz conference_proposal-08205b9b86efb75f1f171f04a34727a662a4ccbf.tar.bz2 conference_proposal-08205b9b86efb75f1f171f04a34727a662a4ccbf.zip |
fixed errors of download abstract
-rw-r--r-- | conference_proposal.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conference_proposal.module b/conference_proposal.module index 767eaf1..821537a 100644 --- a/conference_proposal.module +++ b/conference_proposal.module @@ -342,7 +342,7 @@ $row->first_name.' '.$row->last_name, $row->bio, l(str_replace('.', '_',str_replace(' ', '_',strtolower("{$row->id}_{$row->first_name}_{$row->last_name}"))) . '.pdf', "uploads/proposal_file/{$row->id}/{$row->proposal_file}", array("attributes" => array("target" => "_blank",))), - l(str_replace('.', '_',str_replace(' ', '_',strtolower("{$row->id}_{$row->first_name}_{$row->last_name}"))) . '.zip', "uploads/proposal_file/{$row->id}/{$row->supported_file}", array("attributes" => array("target" => "_blank",))), + l("{$row->proposal_file}", "uploads/proposal_file/{$row->id}/{$row->supported_file}", array("attributes" => array("target" => "_blank",))), ); if($row->selected) { $check = "<input class='shortlist' type='checkbox' data-aid='{$row->id}' checked>"; @@ -376,7 +376,7 @@ $markup .= l("<< Back to the list of Proposals", "conference_proposal/view-applications"); $markup .= "<div style='float:right'>"; - $markup .= l("Download all applications", "conference_proposal/downloads_applications/{$row->proposal_id}/{$row->id}"); + // $markup .= l("Download all applications", "conference_proposal/downloads_applications/{$row->proposal_id}/{$row->id}"); $markup .= "</div>"; $markup .= "<h5><u>{$proposal->proposal_name} - List of applications</u></h5>"; $markup .= bootstrap_table($headers, $rows); |