From f02e46fa6605f00de2d1450920a1e5271148d1fc Mon Sep 17 00:00:00 2001 From: fossee-dell Date: Tue, 17 Oct 2017 16:08:33 +0530 Subject: Added Terms and condition to proposal form --- full_download.inc | 4 ++-- proposal.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/full_download.inc b/full_download.inc index 932b4d7..eafd6c7 100755 --- a/full_download.inc +++ b/full_download.inc @@ -22,7 +22,7 @@ function circuit_simulation_download_full_project() $circuit_simulation_udc_q = $query->execute(); while ($circuit_simulation_udc_row = $circuit_simulation_udc_q->fetchObject()) { if ($circuit_simulation_udc_row->samplefilepath != 'NULL') { - $REFERENCE_PATH = 'reference_file/'; + $REFERENCE_PATH = 'Reference_file/'; $str = substr($circuit_simulation_udc_row->samplefilepath,strrpos($circuit_simulation_udc_row->samplefilepath, '/')); $resource_file =ltrim($str, '/'); $zip->addFile($root_path . $CIRCUITSIMULATION_PATH . $resource_file , $REFERENCE_PATH . str_replace(' ', '_', basename($resource_file))); @@ -93,7 +93,7 @@ function circuit_simulation_download_completed_project() $circuit_simulation_udc_q = $query->execute(); while ($circuit_simulation_udc_row = $circuit_simulation_udc_q->fetchObject()) { if ($circuit_simulation_udc_row->samplefilepath != 'NULL') { - $REFERENCE_PATH = 'reference_file/'; + $REFERENCE_PATH = 'Reference_file/'; $str = substr($circuit_simulation_udc_row->samplefilepath,strrpos($circuit_simulation_udc_row->samplefilepath, '/')); $resource_file =ltrim($str, '/'); $zip->addFile($root_path . $CIRCUITSIMULATION_PATH . $resource_file , $REFERENCE_PATH . str_replace(' ', '_', basename($resource_file))); diff --git a/proposal.inc b/proposal.inc index e5345a3..ce8e8e6 100755 --- a/proposal.inc +++ b/proposal.inc @@ -248,7 +248,7 @@ function circuit_simulation_proposal_form($form, &$form_state, $no_js_use = FALS '#type' => 'checkboxes', '#title' => t('Terms And Conditions'), '#options' => array( - 'status' => t('I agree to the Terms and Conditions') + 'status' => t('I agree to the Terms and Conditions') ), '#required' => TRUE ); -- cgit