diff --git a/src/structure/components/com_sportsmanager/sportsmanager.php b/src/structure/components/com_sportsmanager/sportsmanager.php index 4e71fb0..4cddd72 100644 --- a/src/structure/components/com_sportsmanager/sportsmanager.php +++ b/src/structure/components/com_sportsmanager/sportsmanager.php @@ -1577,8 +1577,12 @@ function veranstaltung(): void } } + $showSeasons = false; + if (count($saisons) > 1) { + $showSeasons = true; + } // Anzeigen - HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id); + HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons, $saisons, $filter_saison_id); if ($veranstaltung->tabellenwertung != 0) tabelle($veranstaltung, $spieltag, true); diff --git a/src/structure/components/com_sportsmanager/views/sportsmanager/view.html.php b/src/structure/components/com_sportsmanager/views/sportsmanager/view.html.php index e292f0a..8d5d881 100644 --- a/src/structure/components/com_sportsmanager/views/sportsmanager/view.html.php +++ b/src/structure/components/com_sportsmanager/views/sportsmanager/view.html.php @@ -140,13 +140,6 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
- - ',screen.width,725);" class="readonget( 'pageclass_sfx' ); ?>"> - …(no menu) - */ - ?> @@ -158,7 +151,7 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s } } -static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id): void +static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons = false, $seasons = [], $filter_saison_id = 0): void { global $params; @@ -167,7 +160,7 @@ static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltun - > bezeichnung); ?> @@ -226,9 +219,40 @@ static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltun ?> + + 1)) { + ?> +
+
+ + + + + +
+ + + +    
+
+ +
+   + 0) { if ($alleine_angezeigt && $veranstaltung->tabellenwertung >= -1 && $veranstaltung->tabellenwertung <= 11 && count($spieltage) > 1) { ?> -
+
@@ -1566,7 +1590,7 @@ global $params;