mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Mannschaftsbilder in Teamsport zu klein gefixt (issue #108)
This commit is contained in:
@@ -1085,46 +1085,29 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
||||
?>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table style='width: 100%; border-collapse: collapse;' class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<?php if ($zeitpunkt_anzeigen) { ?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
||||
<th nowrap style='text-align: left; width:20%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
||||
</th><?php } ?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||
<?php
|
||||
/*
|
||||
if ($veranstaltung == NULL) {
|
||||
?>
|
||||
<th nowrap><strong>Wettbewerb</strong></th>
|
||||
<?php
|
||||
}
|
||||
*/
|
||||
?>
|
||||
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||
<?php
|
||||
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
||||
?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
|
||||
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||
</tr>
|
||||
<?php
|
||||
/*
|
||||
if ($zeitfenster != 0) {
|
||||
?> <tr><td nowrap height="4"></td></tr><tr class="sectiontableheader<?php echo $params->get( 'pageclass_sfx' ); ?>" style="text-align: center"><th nowrap><font size=-2><i>+/- <?php echo $zeitfenster; ?> Tage</i></font></th></tr> <?php
|
||||
}
|
||||
*/
|
||||
|
||||
$k = 0;
|
||||
$monat = "...";
|
||||
$spieltag = 0;
|
||||
$spielort_name = "";
|
||||
foreach ($rows as $row) {
|
||||
$ergebnis_vorhanden = $row->heim_punkte != null || $row->gast_punkte != null;
|
||||
// if ($monat == NULL)
|
||||
// $monat = substr($row->zeitpunkt, 0, 7);
|
||||
if ($zeitfenster == 0 && $veranstaltung != null) {
|
||||
if ($veranstaltung->unterteilung == 0 || $veranstaltung->unterteilung == 1) {
|
||||
if ($spieltag != $row->spieltag || $spielort_name != $row->spielort_name) {
|
||||
@@ -1132,17 +1115,17 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
||||
$spielort_name = $row->spielort_name;
|
||||
?>
|
||||
<tr>
|
||||
<td nowrap height="4"></td>
|
||||
<td nowrap height="10"></td>
|
||||
</tr>
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="text-align: center">
|
||||
<th nowrap><span style="font-size: 70%; "><i>
|
||||
<th nowrap style='text-align: left; font-size: 70%; font-style: italic;'>
|
||||
<?php
|
||||
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
|
||||
if (!empty($spielort_name))
|
||||
echo "<br />" . htmlentities_utf8($spielort_name);
|
||||
?>
|
||||
</i></span></th>
|
||||
</th>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
@@ -1179,8 +1162,7 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
||||
echo "<a href=\"" . SportsManagerURL('&task=begegnung_verlegen_form&veranstaltungid=' . $row->veranstaltung_id . '&id=' . $row->begegnung_id . ($aus_uebersicht ? "&aus_uebersicht=1" : "")) . "\">" . ($row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt)) . "</small></a>";
|
||||
else
|
||||
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
|
||||
?>
|
||||
<?php
|
||||
|
||||
if ($veranstaltung == null) {
|
||||
?>
|
||||
<br/>
|
||||
@@ -1234,13 +1216,6 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
/*
|
||||
if ($veranstaltung == NULL) {
|
||||
?>
|
||||
<td nowrap><?php echo htmlentities_utf8($row->bezeichnung); ?></td>
|
||||
<?php
|
||||
}
|
||||
*/
|
||||
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
||||
?>
|
||||
<td nowrap style="text-align: center">
|
||||
@@ -1582,7 +1557,7 @@ global $params;
|
||||
if (count($teams) > 0) {
|
||||
if ($alleine_angezeigt && $veranstaltung->tabellenwertung >= -1 && $veranstaltung->tabellenwertung <= 11 && count($spieltage) > 1) {
|
||||
?>
|
||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="matchDayForm" id="matchDayForm">
|
||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
@@ -1590,7 +1565,7 @@ global $params;
|
||||
<select
|
||||
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_ARIA_LABEL_MATCHDAY_SELECT'); ?>"
|
||||
class="uk-select uk-form-width-medium" name="spieltag" size="1"
|
||||
onChange="document.matchDayForm.submit();">
|
||||
onChange="document.adminForm.submit();">
|
||||
<?php
|
||||
foreach ($spieltage as $s) {
|
||||
echo "<option value=\"" . $s->spieltag . "\"" . ($s->spieltag == $spieltag ? " selected" : "") . ">" . htmlentities_utf8(Rundenbezeichnung($s->spieltag, $veranstaltung->unterteilung == 0)) . "</option>";
|
||||
@@ -1633,26 +1608,28 @@ global $params;
|
||||
<!-- Gruppentabelle mit Ergebnissen -->
|
||||
<!-- dtfl-table-small css from yootheme-->
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table style='width: 100%; border-collapse: collapse;'
|
||||
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||
<th style="text-align: left">
|
||||
<th style="text-align: left; width: 280px;">
|
||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
|
||||
<th style="text-align: center; width: 70px;">
|
||||
<strong></strong></th>
|
||||
<?php
|
||||
if ($praesentation == 0) {
|
||||
?>
|
||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
|
||||
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
|
||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_MATCHES_SHORTCUT'); ?></strong>
|
||||
</th>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
||||
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_VICTORIES_SHORTCUT'); ?></strong></th>
|
||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
|
||||
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
|
||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_DRAWS_SHORTCUT'); ?></strong></th>
|
||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
|
||||
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
|
||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_DEFEATS_SHORTCUT'); ?></strong></th>
|
||||
<?php
|
||||
if ($zusatzpunkte_anzeigen) {
|
||||
@@ -1751,10 +1728,6 @@ global $params;
|
||||
$buchholz2_wert = $team->buchholz2;
|
||||
}
|
||||
?>
|
||||
<td nowrap>
|
||||
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
echo "<a href=\"" . SportsManagerURL('&task=team_details&id=' . $team->team_id) . "\">" . htmlentities_utf8(NichtLeererString($team->teamname)) . "</a>";
|
||||
@@ -1763,7 +1736,7 @@ global $params;
|
||||
<?php
|
||||
if ($bilder_anzeigen) {
|
||||
?>
|
||||
<td style="width: 50px" height="50" style="text-align: right">
|
||||
<td style="text-align: center;">
|
||||
<?php
|
||||
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
|
||||
if ($bild != null) {
|
||||
@@ -1777,12 +1750,6 @@ global $params;
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<?php
|
||||
if ($praesentation == 0) {
|
||||
?>
|
||||
<td nowrap
|
||||
|
||||
Reference in New Issue
Block a user