fix: code review changes

This commit is contained in:
Marvin Flock
2025-09-01 18:02:20 +02:00
parent bc6c44e82a
commit b16638ed47
3 changed files with 51 additions and 54 deletions
@@ -726,10 +726,10 @@ if ($task == "spielerbild") {
vereinBegegnungeniCal();
break;
case 'sort_by_vereinsname':
vereine($sort="vereinsname");
vereine("vereinsname");
break;
default:
vereine($sort="mitglieder");
vereine("mitglieder");
break;
}
} else if ($content == "turniervoranmeldungen") {
@@ -2986,8 +2986,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
</strong></th>
<th style='text-align: center;width: 120px;' nowrap><strong>
<a href="verband/vereine?view=sportsmanager&task=sort_by_mitglieder">
<?php echo Text::_('COM_SPORTSMANAGER_MEMBERS'); ?></strong></th>
</a>
<?php echo Text::_('COM_SPORTSMANAGER_MEMBERS'); ?></a></strong></th>
<th style='text-align: left;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_SEAT'); ?></strong></th>
<?php if ($organisationAnzeigen) { ?>
<th style='text-align: left;' nowrap>Organisation</th>
@@ -2995,7 +2994,6 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
</tr>
<?php
$k = 0;
foreach ($rows as $row) {
?>
<tr>
@@ -3017,13 +3015,12 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
<a href="<?php echo SportsManagerURL('&task=verein_details&id=' . $row->verein_id); ?>">
<?php echo htmlentities_utf8(NichtLeererString($row->vereinsname)); ?></a>
</td>
</td>
<td nowrap style="text-align: center">
<?php echo $row->mitglieder; ?>
</td>
<td style='text-align: left;' nowrap><?php if (!empty($row->vereinssitz)) echo htmlentities_utf8($row->vereinssitz . (!empty($row->vereinssitz_ortsteil) ? ("-" . $row->vereinssitz_ortsteil) : "")); ?></td>
<?php if ($organisationAnzeigen) {
echo "<td nowrap style='text-align: left;'>" . $row->veranstalterbezeichnung . "<td>";
echo "<td nowrap style='text-align: left;'>" . $row->veranstalterbezeichnung . "</td>";
} ?>
</tr>
@@ -3505,7 +3505,7 @@ class HTML_sportsmanager_admin
<tr>
<td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto">
<table tyle="width: 100%">
<table style="width: 100%">
<tr>
<td nowrap style="width: 20%; text-align: right">
<label
@@ -14499,17 +14499,17 @@ class HTML_sportsmanager_admin
:</label>
</td>
<td nowrap>
<input class="inputbox" type="text" name="ort" list="location" id="location" size="50"
<input class="inputbox" type="text" name="ort" list="locationList" id="location" size="50"
maxlength="100"
value="<?php if (!empty($termin)) echo htmlentities_utf8($termin->ort); ?>"/>
</td>
<datalist id="location">
<datalist id="locationList">
<?php
foreach ($orte As $ort){
echo "<option value=\"" . $ort->ort ."\">";
}
?>
</datalist>
</td>
</tr>
<tr>
<td nowrap style="width: 20%; text-align: right">