Skip to content

Commit

Permalink
Merge pull request #997 from inbaz/fixup
Browse files Browse the repository at this point in the history
changed 2017 to 2018 with setting entries
  • Loading branch information
BigAndini authored Dec 30, 2017
2 parents bd73bd4 + cccb2b6 commit d8ab5aa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions module/PreReg/src/PreReg/Form/CreditCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ public function __construct()
'class' => '',
),*/
'option_values' => array(
'2017' => '2017',
'2018' => '2018',
'2019' => '2019',
'2020' => '2020',
'2021' => '2021',
'2022' => '2022',
'2023' => '2023',
),
),
));
Expand Down Expand Up @@ -366,4 +366,4 @@ public function getInputFilter()

return $this->inputFilter;
}
}
}
6 changes: 3 additions & 3 deletions module/PreReg/view/partial/eticket-package-overview.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
'',
'',
];
$datestring = preg_replace($pattern, $replace, $value->getValue()).' 2017';
$datestring = preg_replace($pattern, $replace, $value->getValue()).' '.$this->setting('ers.year');
$timestamp = strtotime($datestring);
$date = new DateTime();
$date->setTimestamp($timestamp);
Expand All @@ -134,7 +134,7 @@
'',
'',
];
$datestring = preg_replace($pattern, $replace, $value->getValue()).' 2017';
$datestring = preg_replace($pattern, $replace, $value->getValue()).' '.$this->setting('ers.year');
$timestamp = strtotime($datestring);
$date = new DateTime();
$date->setTimestamp($timestamp); ?>
Expand Down Expand Up @@ -203,4 +203,4 @@
<?php break;
endswitch; ?>
<?php endforeach; ?>
</div>
</div>
3 changes: 2 additions & 1 deletion module/PreReg/view/pre-reg/info/help.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
we will have to cancel your order. Sorry. To avoid that, best pay
immediately!<br>
If you have already paid your order and received your e-ticket, but
for some reasons cannot attend EJC 2017, the best thing to do is
for some reasons cannot attend
<?php $this->setting('ers.name_short'); ?>, the best thing to do is
find another juggler who can take over your ticket. When you have
done that, it is very important that you let us know who the ticket
shall be transferred! Please contact
Expand Down
2 changes: 1 addition & 1 deletion module/PreReg/view/pre-reg/order/thankyou.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $this->headTitle($title);
<div class="jumbotron">
<h1><span class="green"><?php echo $this->escapeHtml($title); ?></span></h1>

<p><?php echo $this->translate('...for your purchase and with that for your support to make the EJC 2017 possible.'); ?></p>
<p><?php echo sprintf($this->translate('...for your purchase and with that for your support to make the %s possible.'), $this->setting('ers.name_short')); ?></p>

<p><strong><?php echo $this->translate('Note:'); ?></strong> <?php echo sprintf($this->translate('To receive the email with your E-Tickets correctly
it\'s important that you add the email address %s to your
Expand Down

0 comments on commit d8ab5aa

Please sign in to comment.