Bilder hinzugefügt und ein paar Optimierungen

This commit is contained in:
Jürgen Meyer
2026-02-11 17:03:02 +01:00
parent d462137424
commit d41376494f
5 changed files with 22 additions and 12 deletions
@@ -4295,7 +4295,7 @@ function verbandsorganeDetails($uebergabe_id = 0): void
$mitglieder = loadObjectList($db, $query); $mitglieder = loadObjectList($db, $query);
if (isJson()) { if (isJson()) {
echo json_encode($verbandsorgane); echo json_encode($mitglieder);
} else { } else {
HTML_sportsmanager::verbandsorganeDetails($params->get('titel'), $params->get('beschreibung'), $verbandsorgane[0], $mitglieder); HTML_sportsmanager::verbandsorganeDetails($params->get('titel'), $params->get('beschreibung'), $verbandsorgane[0], $mitglieder);
} }
@@ -4079,7 +4079,7 @@ static function verbandsorganeDetails($titel, $beschreibung, $verbandsorgan, $ro
</div> </div>
<?php <?php
} }
echo "<H1>" . $verbandsorgan->verbandsorgan . "</H1>"; echo "<H1>" . $verbandsorgan->verbandsorgan . "</H1>";
echo $verbandsorgan->beschreibung; echo $verbandsorgan->beschreibung;
@@ -4095,14 +4095,17 @@ static function verbandsorganeDetails($titel, $beschreibung, $verbandsorgan, $ro
?> ?>
<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>
<?PHP echo bildHTML("spieler", $row->spieler_id, 45, 60, 0, 0, 'border="1"'); ?>
</td>
<td nowrap> <td nowrap>
<?php echo htmlentities_utf8($row->nachname . ", " . $row->vorname); ?> <?php echo htmlentities_utf8($row->nachname . ", " . $row->vorname); ?>
</td> </td>
<td nowrap> <td nowrap>
<?php echo $row->funktion; ?> <?php echo htmlentities_utf8($row->funktion); ?>
</td> </td>
<td nowrap> <td nowrap>
<?php echo $row->zusatzinfo; ?> <?php echo htmlentities_utf8($row->zusatzinfo); ?>
</td> </td>
</tr> </tr>
<?php <?php
@@ -7634,7 +7634,8 @@ class HTML_sportsmanager_admin
:</label> :</label>
</td> </td>
<td nowrap> <td nowrap>
<textarea name="beschreibung" id="description" cols="50" rows="8"><?php echo htmlentities_utf8($row->beschreibung); ?></textarea> <textarea name="beschreibung" id="description" cols="50" rows="8"
title="<?php echo Text::_('COM_SPORTSMANAGER_USE_HTML'); ?>"><?php echo htmlentities_utf8($row->beschreibung); ?></textarea>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -7677,9 +7678,10 @@ static function adminVerbandsorganMitglieder($rows,$verbandsorgan): void
?> ?>
<table style='width: 800px;' class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>"> <table style='width: 800px;' class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"> <tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th style='text-align: left; width: 250px;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_MEMBER'); ?></strong></th> <th style='text-align: left; width: 240px;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_MEMBER'); ?></strong></th>
<th style='text-align: left; width: 250px;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_FUNCTION'); ?></strong></th> <th style='text-align: left; width: 60px;' nowrap><strong></strong></th>
<th style='text-align: left; width: 250px;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_ADDITIONAL_INFO'); ?></strong></th> <th style='text-align: left; width: 240px;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_FUNCTION'); ?></strong></th>
<th style='text-align: left; width: 240px;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_ADDITIONAL_INFO'); ?></strong></th>
</tr> </tr>
<?php <?php
@@ -7693,11 +7695,14 @@ static function adminVerbandsorganMitglieder($rows,$verbandsorgan): void
<?php echo htmlentities_utf8($row->nachname . ", " . $row->vorname); ?> <?php echo htmlentities_utf8($row->nachname . ", " . $row->vorname); ?>
</a> </a>
</td> </td>
<td nowrap>
<?PHP echo bildHTML("spieler", $row->spieler_id, 45, 60, 0, 0, 'border="1"'); ?>
</td>
<td nowrap> <td nowrap>
<?php echo $row->funktion; ?> <?php echo htmlentities_utf8($row->funktion); ?>
</td> </td>
<td nowrap> <td nowrap>
<?php echo $row->zusatzinfo; ?> <?php echo htmlentities_utf8($row->zusatzinfo); ?>
</td> </td>
<td nowrap><small><a <td nowrap><small><a
href="<?php echo SportsManagerURL('&task=admin_verbandsorgan_mitglied_remove&id=' . $row->mitglied_von_verbandsorgan_id . '&verbandsorgane_id=' . $row->verbandsorgane_id); ?>" href="<?php echo SportsManagerURL('&task=admin_verbandsorgan_mitglied_remove&id=' . $row->mitglied_von_verbandsorgan_id . '&verbandsorgane_id=' . $row->verbandsorgane_id); ?>"
@@ -1077,4 +1077,5 @@ COM_SPORTSMANAGER_ADD_ASSOCIATION_BODY="Verbandsorgan hinzuf&uuml;gen"
COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY="Willst Du dieses Verbandsorgan wirklich entfernen?" COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY="Willst Du dieses Verbandsorgan wirklich entfernen?"
COM_SPORTSMANAGER_INVALID_ASSOCIATION_BODY_NAME="Ung&uuml;ltiger Name f&uuml;r Verbandsorgan!" COM_SPORTSMANAGER_INVALID_ASSOCIATION_BODY_NAME="Ung&uuml;ltiger Name f&uuml;r Verbandsorgan!"
COM_SPORTSMANAGER_NAME_NOT_COMPLETE="Der Name ist nicht komplett ausgef&uuml;llt" COM_SPORTSMANAGER_NAME_NOT_COMPLETE="Der Name ist nicht komplett ausgef&uuml;llt"
COM_SPORTSMANAGER_ADDITIONAL_INFO="Zusatzinfo" COM_SPORTSMANAGER_ADDITIONAL_INFO="Zusatzinfo"
COM_SPORTSMANAGER_USE_HTML="Hier sollte HTML-formatierter Text verwendet werden"
@@ -1077,4 +1077,5 @@ COM_SPORTSMANAGER_ADD_ASSOCIATION_BODY="Add association body"
COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY="Do you really want to remove this association body?" COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY="Do you really want to remove this association body?"
COM_SPORTSMANAGER_INVALID_ASSOCIATION_BODY_NAME="Invalid association body name" COM_SPORTSMANAGER_INVALID_ASSOCIATION_BODY_NAME="Invalid association body name"
COM_SPORTSMANAGER_NAME_NOT_COMPLETE="The name is not completely filled in" COM_SPORTSMANAGER_NAME_NOT_COMPLETE="The name is not completely filled in"
COM_SPORTSMANAGER_ADDITIONAL_INFO="Additional information" COM_SPORTSMANAGER_ADDITIONAL_INFO="Additional information"
COM_SPORTSMANAGER_USE_HTML="HTML-formatted text should be used here."