summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
);