Doppel 7 und 8 für Dropdown Mannschaftsspielpläne hinzugefügt.

This commit is contained in:
Jürgen Meyer
2025-03-31 09:58:53 +02:00
parent 9e730ad179
commit 65152e51d3
@@ -4263,10 +4263,10 @@ class HTML_sportsmanager_admin
} }
</script> </script>
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"> <form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto"><table class="uk-table" width="100%"> <div class="uk-overflow-auto"><table width="100%">
<tr> <tr>
<td nowrap width="60%" valign="top"> <td nowrap width="60%" valign="top">
<div class="uk-overflow-auto"><table class="uk-table" width="100%"> <div class="uk-overflow-auto"><table width="100%">
<tr> <tr>
<td nowrap width="20%" align="right"> <td nowrap width="20%" align="right">
<?php echo JText::_('COM_SPORTSMANAGER_DESIGNATION'); ?>: <?php echo JText::_('COM_SPORTSMANAGER_DESIGNATION'); ?>:
@@ -4440,7 +4440,15 @@ class HTML_sportsmanager_admin
</td> </td>
</tr> </tr>
<?php <?php
$spieltyp = array("D1" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 1", "D2" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 2", "D3" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 3", "D4" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 4", "D5" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 5", "D6" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 6", "E1" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 1", "E2" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 2", "E3" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 3", "E4" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 4", "E5" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 5", "E6" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 6", "S1" => JText::_('COM_SPORTSMANAGER_RESULT_ONLY')); //Doppel 7 und 8 hinzugefuegt, Jürgen Meyer, 28.03.2025
$spieltyp = array("D1" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 1", "D2" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 2",
"D3" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 3", "D4" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 4",
"D5" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 5", "D6" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 6",
"D7" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 7", "D8" => JText::_('COM_SPORTSMANAGER_DOUBLES') . " 8",
"E1" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 1", "E2" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 2",
"E3" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 3", "E4" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 4",
"E5" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 5", "E6" => JText::_('COM_SPORTSMANAGER_SINGLES') . " 6",
"S1" => JText::_('COM_SPORTSMANAGER_RESULT_ONLY'));
$modus = $row != null ? explode("|", $row->modus) : null; $modus = $row != null ? explode("|", $row->modus) : null;
$spiele = $modus != null && isset($modus[0]) ? explode(",", $modus[0]) : array(); $spiele = $modus != null && isset($modus[0]) ? explode(",", $modus[0]) : array();
for ($spiel_nr = 1; $spiel_nr <= 36; $spiel_nr++) for ($spiel_nr = 1; $spiel_nr <= 36; $spiel_nr++)