Anzahl Kategorien Spielerstatistiken auf 100 erhöht

This commit is contained in:
Jürgen Meyer
2025-11-03 15:32:14 +01:00
parent 3886cc88d3
commit 8242bd09cc
2 changed files with 10 additions and 10 deletions
@@ -4628,7 +4628,7 @@ function adminKategorien(): void
$kategorien[6] = array();
$kategorien[7] = array();
$anzahl = array(0,50,100,50,50,50,50,50);
$anzahl = array(0,50,100,50,50,100,50,50);
foreach ($rows as $row)
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
@@ -5086,7 +5086,7 @@ class HTML_sportsmanager_admin
static function adminKategorien($kategorien): void
{
global $params;
$anzahl = array(0,50,100,50,50,50,50,50);
$anzahl = array(0,50,100,50,50,100,50,50);
?>
<div
@@ -6035,11 +6035,11 @@ class HTML_sportsmanager_admin
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto">
<table class="uk-table" style="width: 100%">
<table style="width: 100%">
<tr>
<td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto">
<table class="uk-table" style="width: 100%">
<table style="width: 100%">
<tr>
<td nowrap style="width: 20%; text-align: right">
<label
@@ -6047,8 +6047,8 @@ class HTML_sportsmanager_admin
:</label>
</td>
<td nowrap>
<input class="inputbox" type="text" name="bezeichnung" id="designation"
size="50" maxlength="100"
<input class="uk-select uk-form-width-large" type="text" name="bezeichnung" id="designation"
size="50" maxlength="100" style="height: 34px;"
value="<?php if ($spielerstatistik != null) echo htmlentities_utf8($spielerstatistik->bezeichnung); ?>"/>
</td>
</tr>
@@ -6077,7 +6077,7 @@ class HTML_sportsmanager_admin
<select class="uk-select uk-form-width-medium" name="kategorie"
id="category" size="1">
<?php
for ($i = 1; $i <= 50; $i++) {
for ($i = 1; $i <= 100; $i++) {
echo "<option value=\"" . $i . "\"" . ($spielerstatistik != null ? ($spielerstatistik->kategorie == $i ? " selected" : "") : "") . ">" . $i . (isset($kategorien[$i]) ? htmlentities_utf8(" " . $kategorien[$i]) : "") . "</option>";
}
?>
@@ -6093,7 +6093,7 @@ class HTML_sportsmanager_admin
<select class="uk-select uk-form-width-medium" name="reihenfolge" id="order"
size="1">
<?php
for ($i = 1; $i <= 50; $i++) {
for ($i = 1; $i <= 100; $i++) {
echo "<option value=\"" . $i . "\"" . ($spielerstatistik != null ? ($spielerstatistik->reihenfolge == $i ? " selected" : "") : "") . ">" . $i . "</option>";
}
?>
@@ -6193,7 +6193,7 @@ class HTML_sportsmanager_admin
:</label>
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="tabellenwertung"
<select class="uk-select uk-form-width-large" name="tabellenwertung"
id="table_evaluation" size="1">
<?php
$typ = array(Text::_('COM_SPORTSMANAGER_POINTS_WON_LOST_DIFFERENCE'), Text::_('COM_SPORTSMANAGER_PERFORMANCE_INDEX'), Text::_('COM_SPORTSMANAGER_PERFORMANCE_INDEX2'));
@@ -6209,7 +6209,7 @@ class HTML_sportsmanager_admin
<label for="type"><?php echo Text::_('COM_SPORTSMANAGER_TYPE'); ?>:</label>
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="typ" id="type"
<select class="uk-select uk-form-width-large" name="typ" id="type"
size="1">
<?php
$bezeichnungen = array(0 => Text::_('COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS'), 1 => Text::_('COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_SINGLES'), 2 => Text::_('COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_DOUBLES'), 3 => Text::_('COM_SPORTSMANAGER_STATISTICS_DOUBLES'));