diff --git a/homepage/cwsvJudo/participo/cwsvjudo@bplaced/www/participo/lib/participoLib/event.php b/homepage/cwsvJudo/participo/cwsvjudo@bplaced/www/participo/lib/participoLib/event.php index 79a51ba..58a85d9 100644 --- a/homepage/cwsvJudo/participo/cwsvjudo@bplaced/www/participo/lib/participoLib/event.php +++ b/homepage/cwsvJudo/participo/cwsvjudo@bplaced/www/participo/lib/participoLib/event.php @@ -165,13 +165,15 @@ class Event public function getHtmlEventDetails() { - $html .= '
'; - $html .= '
Datum
' . $this->event()->htmlDate() . '
'; - $html .= '
Deadline zum Einschreiben:
' . $this->event()->htmlDeadline() . '
'; + $html = '
'; + $html .= '
Datum
' . $this->htmlDate() . '
'; + $html .= '
Deadline zum Einschreiben:
' . $this->htmlDeadline() . '
'; $html .= '
'; - $html .= $this->event()->shiai()->getHtml(); - $html .= $this->event()->getHtmlStarterStatistic(); - $html .= $this->event()->getHtmlStarterList(); + $html .= $this->shiai()->getHtml(); + $html .= $this->getHtmlStarterStatistic(); + $html .= $this->getHtmlStarterList(); + + return $html; } public function htmlTableRow() @@ -203,7 +205,7 @@ class Event $today = new DateTime(); if ( (isset($this->deadline) && ($today <= $this->deadline)) - || participo::isUserAdmin($userData['id']) + || participo::isUserAdmin() ) { $kids = participo::getKids(); foreach ($kids as $k) { @@ -232,7 +234,7 @@ class Event if (!isset($listOfStarter) || count($listOfStarter) == 0) { return ''; } - $starterList .= 'Bereits eingetragen:
'; + $starterList = 'Bereits eingetragen:
'; foreach ($listOfStarter as $start) { $startingUser = $start->loadStarter(); $starterList .= '
'