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);
if (isJson()) {
echo json_encode($verbandsorgane);
echo json_encode($mitglieder);
} else {
HTML_sportsmanager::verbandsorganeDetails($params->get('titel'), $params->get('beschreibung'), $verbandsorgane[0], $mitglieder);
}
@@ -4095,14 +4095,17 @@ static function verbandsorganeDetails($titel, $beschreibung, $verbandsorgan, $ro
?>
<tr class="sectiontableentry<?php echo $k + 1;
$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>
<?php echo htmlentities_utf8($row->nachname . ", " . $row->vorname); ?>
</td>
<td nowrap>
<?php echo $row->funktion; ?>
<?php echo htmlentities_utf8($row->funktion); ?>
</td>
<td nowrap>
<?php echo $row->zusatzinfo; ?>
<?php echo htmlentities_utf8($row->zusatzinfo); ?>
</td>
</tr>
<?php
@@ -7634,7 +7634,8 @@ class HTML_sportsmanager_admin
:</label>
</td>
<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>
</tr>
<tr>
@@ -7677,9 +7678,10 @@ static function adminVerbandsorganMitglieder($rows,$verbandsorgan): void
?>
<table style='width: 800px;' class="contentpaneopen<?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: 250px;' nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_FUNCTION'); ?></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_MEMBER'); ?></strong></th>
<th style='text-align: left; width: 60px;' nowrap><strong></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>
<?php
@@ -7693,11 +7695,14 @@ static function adminVerbandsorganMitglieder($rows,$verbandsorgan): void
<?php echo htmlentities_utf8($row->nachname . ", " . $row->vorname); ?>
</a>
</td>
<td nowrap>
<?PHP echo bildHTML("spieler", $row->spieler_id, 45, 60, 0, 0, 'border="1"'); ?>
</td>
<td nowrap>
<?php echo $row->funktion; ?>
<?php echo htmlentities_utf8($row->funktion); ?>
</td>
<td nowrap>
<?php echo $row->zusatzinfo; ?>
<?php echo htmlentities_utf8($row->zusatzinfo); ?>
</td>
<td nowrap><small><a
href="<?php echo SportsManagerURL('&task=admin_verbandsorgan_mitglied_remove&id=' . $row->mitglied_von_verbandsorgan_id . '&verbandsorgane_id=' . $row->verbandsorgane_id); ?>"
@@ -1078,3 +1078,4 @@ COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY="Willst Du dieses 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_ADDITIONAL_INFO="Zusatzinfo"
COM_SPORTSMANAGER_USE_HTML="Hier sollte HTML-formatierter Text verwendet werden"
@@ -1078,3 +1078,4 @@ COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY="Do you really want to remove t
COM_SPORTSMANAGER_INVALID_ASSOCIATION_BODY_NAME="Invalid association body name"
COM_SPORTSMANAGER_NAME_NOT_COMPLETE="The name is not completely filled in"
COM_SPORTSMANAGER_ADDITIONAL_INFO="Additional information"
COM_SPORTSMANAGER_USE_HTML="HTML-formatted text should be used here."