Formulare optimiert

This commit is contained in:
Jürgen Meyer
2026-01-14 18:22:02 +01:00
parent 379427d4c4
commit 41e229340d
@@ -13146,11 +13146,7 @@ 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%">
<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">
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENT'); ?>
@@ -13175,7 +13171,7 @@ class HTML_sportsmanager_admin
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="ranglisteid"
id="classification" size="1">
style="width: 320px" id="classification" size="1">
<option
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NONE2'); ?></option>
<?php
@@ -13196,7 +13192,7 @@ class HTML_sportsmanager_admin
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="sortierung"
id="sort" size="1">
style="width: 320px" id="sort" size="1">
<?php
$status = array(Text::_('COM_SPORTSMANAGER_POINTS_SUM'), Text::_('COM_SPORTSMANAGER_POINTS_MAXIMUM'));
for ($i = 0; $i <= 1; $i++) {
@@ -13216,7 +13212,7 @@ class HTML_sportsmanager_admin
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="format" id="format"
size="1">
style="width: 320px" size="1">
<?php
$format = array(1 => Text::_('COM_SPORTSMANAGER_NONE_SET'), 2 => Text::_('COM_SPORTSMANAGER_FOUR_SET'), 3 => Text::_('COM_SPORTSMANAGER_EIGHT_SET'), 0 => "CSV");
foreach ($format as $i => $bezeichnung)
@@ -13232,10 +13228,6 @@ class HTML_sportsmanager_admin
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?>"
class="button"/>
@@ -13521,7 +13513,7 @@ class HTML_sportsmanager_admin
?>
<div
class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_IMPORT_MESSAGES_GAMES'); ?><?php echo htmlentities_utf8($row->turnierbezeichnung . (!empty($row->turnierort) ? (" in " . $row->turnierort) : "") . ": " . $row->disziplin . " (" . FormatiertesDatum($row->beginn) . ")"); ?></div>
<br>
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr>
<td>
@@ -13529,15 +13521,11 @@ class HTML_sportsmanager_admin
</td>
</tr>
</table>
<br>
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
enctype="multipart/form-data">
<div class="uk-overflow-auto">
<table class="uk-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">
<?php echo Text::_('COM_SPORTSMANAGER_IMPORT_MESSAGE_MAIN_ROUND_CSV'); ?>:
@@ -13594,10 +13582,6 @@ class HTML_sportsmanager_admin
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_IMPORT'); ?>" class="button"
onclick="if (document.adminForm.daten.value === '') { alert('<?php echo Text::_('COM_SPORTSMANAGER_SELECT_MAIN_ROUND_FIRST'); ?>'); return false; } return true;"/>
@@ -13619,18 +13603,14 @@ class HTML_sportsmanager_admin
<form action="<?php echo SportsManagerURL($meldung != null ? ('#mid' . $meldung->turniermeldung_id) : ''); ?>"
method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto">
<table class="uk-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">
<?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?>:
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="spieler_1_id" size="1"
onchange="spieler_1_changed();"
style='width: 320px;' onchange="spieler_1_changed();"
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?>">
<option value="0"><?php echo Text::_('COM_SPORTSMANAGER_LAST_NAME'); ?>
, <?php echo Text::_('COM_SPORTSMANAGER_FIRST_NAME'); ?>
@@ -13681,7 +13661,7 @@ class HTML_sportsmanager_admin
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="spieler_2_id"
size="1"
size="1" style='width: 320px;'
onchange="spieler_2_changed();"
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?>">
<option
@@ -13743,7 +13723,7 @@ class HTML_sportsmanager_admin
echo "<input type=\"checkbox\" name=\"rundenstufen[]\" value=\"" . $rundenstufe . "\"" . (in_array($rundenstufe, $rundenstufen) ? " checked" : "") . ">" . htmlentities_utf8(rundenstufe($rundenstufe));
?>
</td>
<td style="width: 16px">
<td style="width: 30px">
</td>
<td>
<?php
@@ -13774,10 +13754,6 @@ class HTML_sportsmanager_admin
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<?php
if ($meldung == null || $weitere) {
@@ -13818,11 +13794,7 @@ 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%">
<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%">
<?php
foreach (array(0, 1, 2, 3, 10, 20) as $rundenstufe) {
if (count($meldungen[$rundenstufe]) > 0) {
@@ -13916,10 +13888,6 @@ class HTML_sportsmanager_admin
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<input type="submit" name="copy" value="<?php echo Text::_('COM_SPORTSMANAGER_LINK'); ?>" class="button"/>
<input type="submit" name="cancel" value="<?php echo Text::_('COM_SPORTSMANAGER_CANCEL'); ?>"
@@ -14080,11 +14048,7 @@ class HTML_sportsmanager_admin
<form action="<?php echo SportsManagerURL($row != null ? ('#sid' . $row->turnierspiel_id) : ''); ?>"
method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto">
<table class="uk-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 for="home_team"><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?>
@@ -14092,7 +14056,7 @@ class HTML_sportsmanager_admin
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="gewinner_meldung_id"
id="home_team" size="1">
style="width: 400px;" id="home_team" size="1">
<?php
$i = -1;
foreach ($meldungen as $meldung) {
@@ -14118,7 +14082,7 @@ class HTML_sportsmanager_admin
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="verlierer_meldung_id"
id="guest_team" size="1">
style="width: 400px;"id="guest_team" size="1">
<?php
$i = -1;
foreach ($meldungen as $meldung) {
@@ -14171,7 +14135,7 @@ class HTML_sportsmanager_admin
}
} else {
?>
<select class="uk-select uk-form-width-medium" name="ergebnis" size="1"
<select class="uk-select uk-form-width-medium" name="ergebnis" size="1" style="width: 400px;"
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?>">
<?php
$auswahl = array(1 => Text::_('COM_SPORTSMANAGER_HOME_WINS'), 2 => Text::_('COM_SPORTSMANAGER_GUEST_WINS'));
@@ -14206,7 +14170,7 @@ class HTML_sportsmanager_admin
</script>
<select class="uk-select uk-form-width-medium" name="rundentyp" size="1"
onchange="rundentyp_changed();"
style="width: 400px;" onchange="rundentyp_changed();"
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_ARIA_LABEL_ROUND_TYPE'); ?>">
<?php
echo "<option value=\"0\">" . Text::_('COM_SPORTSMANAGER_NONE2') . "</option>";
@@ -14251,10 +14215,6 @@ class HTML_sportsmanager_admin
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_SAVE'); ?>" class="button"/>
<input type="submit" name="cancel" value="<?php echo Text::_('COM_SPORTSMANAGER_CANCEL'); ?>"