WIP: bring participo back - consistent use of bootstrap - formatting -
phpstan level 0 error free - fixes for kyu subpage - move mams into participo framework - remove legacy `lib/db.php` usage - add attributer admin function - add newsposter - fixing apiKey creation
This commit is contained in:
@@ -24,7 +24,7 @@ class EventPage
|
||||
public function getHtmlNotFound()
|
||||
{
|
||||
return '<div>Der Event "' .
|
||||
$this->id .
|
||||
$this->eventId .
|
||||
'" existiert leider nicht!</div>' .
|
||||
"<h2>Anstehende Termine</h2>" .
|
||||
eventPlaner::getHtmlEventTable(eventPlaner::getComingWkEvents());
|
||||
@@ -55,9 +55,7 @@ class EventPage
|
||||
if ($this->event()->shiai()) {
|
||||
$html .=
|
||||
"<dt>Wettkampfdetails</dt><dd>" .
|
||||
$this->event()
|
||||
->shiai()
|
||||
->getHtmlDetails() .
|
||||
$this->event()->shiai()->getHtmlDetails() .
|
||||
"</dd>";
|
||||
}
|
||||
$html .=
|
||||
@@ -73,9 +71,7 @@ class EventPage
|
||||
$html .= "<div>";
|
||||
|
||||
foreach (
|
||||
$this->event()
|
||||
->shiai()
|
||||
->ageGroups()
|
||||
$this->event()->shiai()->ageGroups()
|
||||
as $ageClass => $starterList
|
||||
) {
|
||||
$html .=
|
||||
@@ -91,7 +87,7 @@ class EventPage
|
||||
if (
|
||||
!array_key_exists(
|
||||
$starter->getId(),
|
||||
$this->event()->getStarter()
|
||||
$this->event()->getStarter(),
|
||||
)
|
||||
) {
|
||||
$html .=
|
||||
@@ -101,6 +97,8 @@ class EventPage
|
||||
$starter->getFirstname() .
|
||||
" - " .
|
||||
$starter->yearOfBirth() .
|
||||
" " .
|
||||
$this->event()->getHtmlAddStarterForm($starter) .
|
||||
'
|
||||
</li>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user