mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
fix: code review changes
This commit is contained in:
@@ -726,10 +726,10 @@ if ($task == "spielerbild") {
|
|||||||
vereinBegegnungeniCal();
|
vereinBegegnungeniCal();
|
||||||
break;
|
break;
|
||||||
case 'sort_by_vereinsname':
|
case 'sort_by_vereinsname':
|
||||||
vereine($sort="vereinsname");
|
vereine("vereinsname");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
vereine($sort="mitglieder");
|
vereine("mitglieder");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else if ($content == "turniervoranmeldungen") {
|
} else if ($content == "turniervoranmeldungen") {
|
||||||
|
|||||||
@@ -2986,8 +2986,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
|||||||
</strong></th>
|
</strong></th>
|
||||||
<th style='text-align: center;width: 120px;' nowrap><strong>
|
<th style='text-align: center;width: 120px;' nowrap><strong>
|
||||||
<a href="verband/vereine?view=sportsmanager&task=sort_by_mitglieder">
|
<a href="verband/vereine?view=sportsmanager&task=sort_by_mitglieder">
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_MEMBERS'); ?></strong></th>
|
<?php echo Text::_('COM_SPORTSMANAGER_MEMBERS'); ?></a></strong></th>
|
||||||
</a>
|
|
||||||
<th style='text-align: left;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_SEAT'); ?></strong></th>
|
<th style='text-align: left;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_SEAT'); ?></strong></th>
|
||||||
<?php if ($organisationAnzeigen) { ?>
|
<?php if ($organisationAnzeigen) { ?>
|
||||||
<th style='text-align: left;' nowrap>Organisation</th>
|
<th style='text-align: left;' nowrap>Organisation</th>
|
||||||
@@ -2995,7 +2994,6 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$k = 0;
|
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<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); ?>">
|
<a href="<?php echo SportsManagerURL('&task=verein_details&id=' . $row->verein_id); ?>">
|
||||||
<?php echo htmlentities_utf8(NichtLeererString($row->vereinsname)); ?></a>
|
<?php echo htmlentities_utf8(NichtLeererString($row->vereinsname)); ?></a>
|
||||||
</td>
|
</td>
|
||||||
</td>
|
|
||||||
<td nowrap style="text-align: center">
|
<td nowrap style="text-align: center">
|
||||||
<?php echo $row->mitglieder; ?>
|
<?php echo $row->mitglieder; ?>
|
||||||
</td>
|
</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>
|
<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) {
|
<?php if ($organisationAnzeigen) {
|
||||||
echo "<td nowrap style='text-align: left;'>" . $row->veranstalterbezeichnung . "<td>";
|
echo "<td nowrap style='text-align: left;'>" . $row->veranstalterbezeichnung . "</td>";
|
||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -3505,7 +3505,7 @@ class HTML_sportsmanager_admin
|
|||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 60%; vertical-align: top">
|
<td nowrap style="width: 60%; vertical-align: top">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table tyle="width: 100%">
|
<table style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<td nowrap style="width: 20%; text-align: right">
|
||||||
<label
|
<label
|
||||||
@@ -14499,17 +14499,17 @@ class HTML_sportsmanager_admin
|
|||||||
:</label>
|
:</label>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<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"
|
maxlength="100"
|
||||||
value="<?php if (!empty($termin)) echo htmlentities_utf8($termin->ort); ?>"/>
|
value="<?php if (!empty($termin)) echo htmlentities_utf8($termin->ort); ?>"/>
|
||||||
</td>
|
<datalist id="locationList">
|
||||||
<datalist id="location">
|
|
||||||
<?php
|
<?php
|
||||||
foreach ($orte As $ort){
|
foreach ($orte As $ort){
|
||||||
echo "<option value=\"" . $ort->ort ."\">";
|
echo "<option value=\"" . $ort->ort ."\">";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</datalist>
|
</datalist>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<td nowrap style="width: 20%; text-align: right">
|
||||||
|
|||||||
Reference in New Issue
Block a user