diff --git a/dist/template.php b/dist/template.php
index da24123..35d7ec1 100644
--- a/dist/template.php
+++ b/dist/template.php
@@ -35,15 +35,15 @@ $reader->read($pairingfile);
// Below is an example of what can be used. Feel free to modify this.
echo '
' . $reader->getTournament()->getName() . '
' . PHP_EOL;
-foreach($reader->getTournament()->getRounds() as $round) {
- echo 'Ronde ' . ($round->getRoundNo() + 1) . ': ' . $round->getDate()->format('d/m/Y') . '
' . PHP_EOL;
+foreach ($reader->getTournament()->getRounds() as $round) {
+ echo 'Round ' . ($round->getRoundNo() + 1) . ': ' . $round->getDate()->format('m/d/Y') . '
' . PHP_EOL;
echo '' . PHP_EOL;
echo '' . PHP_EOL;
- echo 'Wit | Zwart | Resultaat |
' . PHP_EOL;
+ echo 'White | Black | Result |
' . PHP_EOL;
echo '' . PHP_EOL;
echo '' . PHP_EOL;
- foreach($round->getGames() as $game) {
+ foreach ($round->getGames() as $game) {
echo '' . PHP_EOL;
echo '' . $game->getWhite()->getPlayer()->getName() . ' | ' . PHP_EOL;
echo '' . $game->getBlack()->getPlayer()->getName() . ' | ' . PHP_EOL;
@@ -59,7 +59,7 @@ foreach($reader->getTournament()->getRounds() as $round) {
}
echo implode(', ', $bye);
echo '' . PHP_EOL;
- echo 'Afwezig: ';
+ echo '
Absent: ';
$bye = [];
foreach ($round->getAbsent() as $pairing) {
$bye[] = $pairing->getPlayer()->getName();
@@ -68,10 +68,10 @@ foreach($reader->getTournament()->getRounds() as $round) {
echo '
' . PHP_EOL;
}
-echo 'Klassement
' . PHP_EOL;
+echo 'Rankings
' . PHP_EOL;
echo '' . PHP_EOL;
echo '' . PHP_EOL;
-echo ' | Naam (elo) | ' . PHP_EOL;
+echo '
---|
| Name (elo) | ' . PHP_EOL;
foreach ($reader->getTournament()->getTieBreaks() as $tiebreak) {
echo '' . $tiebreak->getValue() . ' | ' . PHP_EOL;
}
---|