summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfossee-dell2017-10-17 16:08:33 +0530
committerfossee-dell2017-10-17 16:08:33 +0530
commitf02e46fa6605f00de2d1450920a1e5271148d1fc (patch)
treee2d8806635f9d8e8572e8715331505ae32e3986d
parent31c85860d821af590b312740157c153040f98289 (diff)
downloadesim_circuit_simulation_project_module-f02e46fa6605f00de2d1450920a1e5271148d1fc.tar.gz
esim_circuit_simulation_project_module-f02e46fa6605f00de2d1450920a1e5271148d1fc.tar.bz2
esim_circuit_simulation_project_module-f02e46fa6605f00de2d1450920a1e5271148d1fc.zip
Added Terms and condition to proposal form
-rwxr-xr-xfull_download.inc4
-rwxr-xr-xproposal.inc2
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('<a href="/term-and-conditions" target="_blank">I agree to the Terms and Conditions</a>')
),
'#required' => TRUE
);