mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
add missing Option in rangliste_doppel_teilwertung
This commit is contained in:
@@ -10901,8 +10901,23 @@ class HTML_sportsmanager_admin
|
|||||||
<option value="1"><?php echo JText::_('COM_SPORTSMANAGER_FULL_RATING'); ?></option>
|
<option value="1"><?php echo JText::_('COM_SPORTSMANAGER_FULL_RATING'); ?></option>
|
||||||
<option value="0"<?php if (!empty($row) && $i < $n && $rangliste_doppel_teilwertung == 0) echo " selected"; ?>><?php echo JText::_('COM_SPORTSMANAGER_NO_RATING'); ?></option>
|
<option value="0"<?php if (!empty($row) && $i < $n && $rangliste_doppel_teilwertung == 0) echo " selected"; ?>><?php echo JText::_('COM_SPORTSMANAGER_NO_RATING'); ?></option>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
for ($j = -1.25; $j >= -10; $j -= 0.25)
|
for ($j = -1.25; $j >= -10; $j -= 0.25)
|
||||||
echo "<option value=\"" . $j . "\" " . (!empty($row) && $i < $n && $rangliste_doppel_teilwertung == $j ? "selected" : "") . ">" . htmlentities_utf8("1/" . abs($j) . "-fach") . "</option>";
|
$wertungen[] = $j;
|
||||||
|
}
|
||||||
|
|
||||||
|
$wertungen[] = 0.7;
|
||||||
|
$wertungen[] = 1.3;
|
||||||
|
$wertungen[] = 1.7;
|
||||||
|
$wertungen[] = -0.7;
|
||||||
|
$wertungen[] = -1.3;
|
||||||
|
$wertungen[] = -1.7;
|
||||||
|
|
||||||
|
asort($wertungen);
|
||||||
|
|
||||||
|
foreach ($wertungen as $wertung) {
|
||||||
|
echo "<option value=\"" . $wertung . "\" " . (!empty($row) && $i < $n && $rangliste_doppel_teilwertung == $wertung ? "selected" : "") . ">" . htmlentities_utf8("1/" . abs($wertung) . "-fach") . "</option>";
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user