Letzter Feinschliff

This commit is contained in:
Jürgen Meyer
2026-01-04 12:14:21 +01:00
parent 825ff04a89
commit 4a448cb61d
3 changed files with 26 additions and 20 deletions
@@ -11953,8 +11953,8 @@ function adminBegegnungenExportForm(): void
$dateiname = ""; $dateiname = "";
if ($export == "spieler") { if ($export == "spieler") {
$query = " $query = "
SELECT t5.bezeichnung AS Veranstaltung, t2.vereinsname AS Verein, t1.teamname AS Team, SELECT t5.bezeichnung AS Veranstaltung, t2.vereinsname AS Verein, t1.teamname AS Team, t4.spielernr AS Passnummer,
t4.spielernr AS Passnummer, t4.nachname AS Nachname, t4.vorname AS Vorname, t4.geburtsjahr AS Geburtsjahr, t4.nachname AS Nachname, t4.vorname AS Vorname, t4.geburtsjahr AS Geburtsjahr, LOWER(LEFT(geschlecht, 1)) AS Geschlecht,
t6.saisonbezeichnung AS Saison, t3.erster_spieltag AS Spielberechtigt_von, t3.letzter_spieltag AS Spielberechtigt_bis t6.saisonbezeichnung AS Saison, t3.erster_spieltag AS Spielberechtigt_von, t3.letzter_spieltag AS Spielberechtigt_bis
FROM #__sportsmanager_team AS t1 FROM #__sportsmanager_team AS t1
LEFT JOIN #__sportsmanager_veranstaltung AS t5 ON t1.veranstaltung_id = t5.veranstaltung_id LEFT JOIN #__sportsmanager_veranstaltung AS t5 ON t1.veranstaltung_id = t5.veranstaltung_id
@@ -3949,12 +3949,12 @@ static function spielverlegungen($titel, $beschreibung, $rows): void
} }
?> ?>
<div class="uk-overflow-auto"> <div class="uk-overflow-auto">
<table class="uk-table-shrink contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>" style='width: 900px;'> <table class="uk-table-shrink contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>" style='width: 1000px;'>
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"> <tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th nowrap style='text-align: center; width: 120px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_OLD_DATE'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 180px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?></STRONG></th> <th nowrap style='text-align: center; width: 180px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 200px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_MATCH'); ?></STRONG></th> <th nowrap style='text-align: center; width: 200px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_MATCH'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 120px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_NEW_DATE'); ?></STRONG></th> <th nowrap style='text-align: center; width: 150px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_OLD_DATE'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 150px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_NEW_DATE'); ?></STRONG></th>
<th nowrap style='text-align: left; width: 280px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMMENT'); ?></STRONG></th> <th nowrap style='text-align: left; width: 280px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMMENT'); ?></STRONG></th>
</tr> </tr>
<?php <?php
@@ -3964,9 +3964,6 @@ static function spielverlegungen($titel, $beschreibung, $rows): void
?> ?>
<tr class="sectiontableentry<?php echo $k + 1; <tr class="sectiontableentry<?php echo $k + 1;
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>"> $k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
<td nowrap style='text-align: center;'>
<?php echo str_replace(" ", "<br>", date('d.m.Y h:i', strtotime($row->Termin_alt))); ?>
</td>
<td nowrap style='text-align: center;'> <td nowrap style='text-align: center;'>
<?php echo htmlentities_utf8($row->Liga); ?> <?php echo htmlentities_utf8($row->Liga); ?>
</td> </td>
@@ -3983,6 +3980,9 @@ static function spielverlegungen($titel, $beschreibung, $rows): void
echo htmlentities_utf8($row->Gast); echo htmlentities_utf8($row->Gast);
?> ?>
</td> </td>
<td nowrap style='text-align: center;'>
<?php echo str_replace(" ", "<br>", date('d.m.Y h:i', strtotime($row->Termin_alt))); ?>
</td>
<td nowrap style='text-align: center;'> <td nowrap style='text-align: center;'>
<?php echo $row->Termin_neu == "" ? "" : str_replace(" ", "<br>", date('d.m.Y h:i', strtotime($row->Termin_neu))); ?> <?php echo $row->Termin_neu == "" ? "" : str_replace(" ", "<br>", date('d.m.Y h:i', strtotime($row->Termin_neu))); ?>
</td> </td>
@@ -7287,14 +7287,16 @@ class HTML_sportsmanager_admin
</table> </table>
</form> </form>
<div class="uk-overflow-auto"> <div class="uk-overflow-auto">
<table class="uk-table-shrink contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>" style='width: 960px;'> <table class="uk-table-shrink contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>" style='width: 100%;'>
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"> <tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th nowrap style='text-align: center; width: 60px;'><STRONG>ID</STRONG></th> <th nowrap style='text-align: center; width: 60px;'><STRONG>ID</STRONG></th>
<th nowrap style='text-align: center; width: 120px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_OLD_DATE'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 180px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?></STRONG></th> <th nowrap style='text-align: center; width: 180px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 200px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_MATCH'); ?></STRONG></th> <th nowrap style='text-align: center; width: 200px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_MATCH'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 120px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_OLD_DATE'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 120px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_NEW_DATE'); ?></STRONG></th> <th nowrap style='text-align: center; width: 120px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_NEW_DATE'); ?></STRONG></th>
<th nowrap style='text-align: left; width: 280px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMMENT'); ?></STRONG></th> <th nowrap style='text-align: left; width: 280px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_COMMENT'); ?></STRONG></th>
<th nowrap style='text-align: center; width: 120px;'><STRONG><?php echo Text::_('COM_SPORTSMANAGER_status'); ?></strong></th>
<th></th>
</tr> </tr>
<?php <?php
if (count($rows) > 0) { if (count($rows) > 0) {
@@ -7310,9 +7312,6 @@ class HTML_sportsmanager_admin
<?php echo $row->begegnung_id; ?> <?php echo $row->begegnung_id; ?>
</a> </a>
</td> </td>
<td nowrap style='text-align: center;'>
<?php echo str_replace(" ", "<br>", date('d.m.Y H:i', strtotime($row->Termin_alt))); ?>
</td>
<td nowrap style='text-align: center;'> <td nowrap style='text-align: center;'>
<?php echo htmlentities_utf8($row->Liga); ?> <?php echo htmlentities_utf8($row->Liga); ?>
</td> </td>
@@ -7329,23 +7328,28 @@ class HTML_sportsmanager_admin
echo htmlentities_utf8($row->Gast); echo htmlentities_utf8($row->Gast);
?> ?>
</td> </td>
<td nowrap style='text-align: center;'>
<?php echo str_replace(" ", "<br>", date('d.m.Y H:i', strtotime($row->Termin_alt))); ?>
</td>
<td nowrap style='text-align: center;'> <td nowrap style='text-align: center;'>
<?php echo $row->Termin_neu == "" ? "" : str_replace(" ", "<br>", date('d.m.Y H:i', strtotime($row->Termin_neu))); ?> <?php echo $row->Termin_neu == "" ? "" : str_replace(" ", "<br>", date('d.m.Y H:i', strtotime($row->Termin_neu))); ?>
</td> </td>
<td nowrap style='text-align: left;'> <td style='text-align: left;'>
<?php echo htmlentities_utf8($row->Begruendung_beantragt); ?> <?php echo htmlentities_utf8($row->Begruendung_beantragt); ?>
</td> </td>
<td style='text-align: center;'>
<?php echo htmlentities_utf8($row->status); ?>
</td>
<td nowrap><small><a <td nowrap><small><a
href="<?php echo SportsManagerURL('&task=admin_spielverlegung_remove&id=' . $row->begegnung_id); ?>" href="<?php echo SportsManagerURL('&task=admin_spielverlegung_remove&id=' . $row->begegnung_id); ?>"
onclick="return confirm('<?php echo Text::_('COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING'); ?>');" onclick="return confirm('<?php echo Text::_('COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING'); ?>');"
title="<?php echo Text::_('COM_SPORTSMANAGER_REMOVE'); ?>">X</a></small> title="<?php echo Text::_('COM_SPORTSMANAGER_REMOVE'); ?>">X</a></small>
</td>
<?php if (benutzerZugriff("benutzerVeranstalterModerator")){ ?> <?php if (benutzerZugriff("benutzerVeranstalterModerator")){ ?>
<td nowrap><small><a <a href="<?php echo SportsManagerURL('&task=admin_spielverlegung_mailen&id=' . $row->begegnung_id); ?>"
href="<?php echo SportsManagerURL('&task=admin_spielverlegung_mailen&id=' . $row->begegnung_id); ?>" title="<?php echo Text::_('COM_SPORTSMANAGER_EMAIL_SEND'); ?>">M</a></small>
title="<?php echo Text::_('COM_SPORTSMANAGER_EMAIL_SEND'); ?>">M</a></small>
</td>
<?php } ?> <?php } ?>
</td>
</tr> </tr>
<?php <?php
} }
@@ -9951,7 +9955,8 @@ class HTML_sportsmanager_admin
<?php echo Text::_('COM_SPORTSMANAGER_ENCOUNTERS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_ENCOUNTERS'); ?>
'<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?> '<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
': <?php echo Text::_('COM_SPORTSMANAGER_JOOMLA_MANAGEMENT'); ?></div> ': <?php echo Text::_('COM_SPORTSMANAGER_JOOMLA_MANAGEMENT'); ?></div>
<div class="uk-overflow-auto">
<table style="border-spacing: 10px; width: 100%;"> <table style="border-spacing: 10px; width: 100%;">
<tr> <tr>
<td colspan="3" nowrap> <td colspan="3" nowrap>
@@ -10114,6 +10119,7 @@ class HTML_sportsmanager_admin
} }
?> ?>
</table> </table>
</div>
<?php <?php
} }
} }