mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
Anzeige naegative Satzpunkte in Ligatabelle
This commit is contained in:
@@ -1844,6 +1844,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
$punkte_quotient = 0;
|
||||
$buchholz1_wert = 0;
|
||||
$buchholz2_wert = 0;
|
||||
$$gesamtpunkte_verloren = 0;
|
||||
$k = 0;
|
||||
foreach ($teams as $team) {
|
||||
?>
|
||||
@@ -1874,6 +1875,12 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
$buchholz1_wert = $team->buchholz1;
|
||||
$buchholz2_wert = $team->buchholz2;
|
||||
}
|
||||
if (in_array($veranstaltung->tabellenwertung, [7,8,9])){
|
||||
$gesamtpunkte_verloren = $team->niederlagen;
|
||||
}
|
||||
if (in_array($veranstaltung->tabellenwertung, [1,2,3])){
|
||||
$gesamtpunkte_verloren = $team->niederlagen * 2 + $team->unentschieden;
|
||||
}
|
||||
?>
|
||||
<td>
|
||||
<?php
|
||||
@@ -1968,8 +1975,15 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
}
|
||||
if ($veranstaltung->tabellenwertung <= 9 || $veranstaltung->tabellenwertung >= 21) {
|
||||
?>
|
||||
<td nowrap style="text-align: center"><?php echo $gesamtpunkte; ?></td>
|
||||
<td nowrap style="text-align: center">
|
||||
<?php
|
||||
if (in_array($veranstaltung->tabellenwertung, [7,8,9,1,2,3]))
|
||||
echo $gesamtpunkte . ":" . $gesamtpunkte_verloren;
|
||||
else
|
||||
echo $gesamtpunkte;
|
||||
?>
|
||||
</td>
|
||||
<?PHP
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
|
||||
@@ -170,9 +170,9 @@ COM_SPORTSMANAGER_GAME_POINTS="Spielpunkte"
|
||||
COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT="SP"
|
||||
COM_SPORTSMANAGER_SUFFIX_ONE_TEAM=" (eine Mannschaft)"
|
||||
COM_SPORTSMANAGER_SUFFIX_TEAMS_TOGETHER=" (Mannschaften zusammen)"
|
||||
COM_SPORTSMANAGER_DIFFERENCE="Differenz"
|
||||
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Punktedifferenz"
|
||||
COM_SPORTSMANAGER_POINTS_RATIO="Punkteverhältnis"
|
||||
COM_SPORTSMANAGER_DIFFERENCE="Differenz Tore"
|
||||
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Differenz Spielpunkte"
|
||||
COM_SPORTSMANAGER_POINTS_RATIO="Verhältnis Spielpunkte"
|
||||
COM_SPORTSMANAGER_SCHEDULE_DATE="Zeitpunkt"
|
||||
COM_SPORTSMANAGER_TEAM_HOME="Heim"
|
||||
COM_SPORTSMANAGER_TEAM_VISITOR="Gast"
|
||||
|
||||
@@ -170,9 +170,9 @@ COM_SPORTSMANAGER_GAME_POINTS="Game points"
|
||||
COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT="GP"
|
||||
COM_SPORTSMANAGER_SUFFIX_ONE_TEAM=" (one team)"
|
||||
COM_SPORTSMANAGER_SUFFIX_TEAMS_TOGETHER=" (teams together)"
|
||||
COM_SPORTSMANAGER_DIFFERENCE="Difference"
|
||||
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Difference in points"
|
||||
COM_SPORTSMANAGER_POINTS_RATIO="Points ratio"
|
||||
COM_SPORTSMANAGER_DIFFERENCE="Goal difference"
|
||||
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Difference in game points"
|
||||
COM_SPORTSMANAGER_POINTS_RATIO="Game points ratio"
|
||||
COM_SPORTSMANAGER_SCHEDULE_DATE="Appointment date"
|
||||
COM_SPORTSMANAGER_TEAM_HOME="Home"
|
||||
COM_SPORTSMANAGER_TEAM_VISITOR="Visitor"
|
||||
|
||||
Reference in New Issue
Block a user