feat: add required to firstname and lastname player fields

This commit is contained in:
Marvin Flock
2025-04-02 19:21:18 +02:00
parent 563e0e6294
commit 1d2e3bb52f
@@ -1201,14 +1201,14 @@ class HTML_sportsmanager_admin
<div class="uk-overflow-auto"><table class="uk-table" width="100%">
<tr>
<td nowrap width="20%" align="right">
<?php echo JText::_('COM_SPORTSMANAGER_LAST_NAME') ?>:
<?php echo JText::_('COM_SPORTSMANAGER_LAST_NAME') ?>*:
</td>
<td nowrap>
<?php
if (!$beschraenkter_zugriff)
{
?>
<input class="inputbox" type="text" name="nachname" size="50" maxlength="30"
<input class="inputbox" type="text" name="nachname" size="50" maxlength="30" required
value="<?php if ($row != null) if ($row->nachname != null) echo htmlentities_utf8($row->nachname); ?>"/>
<?php
}
@@ -1220,14 +1220,14 @@ class HTML_sportsmanager_admin
</tr>
<tr>
<td nowrap width="20%" align="right">
<?php echo JText::_('COM_SPORTSMANAGER_FIRST_NAME') ?>:
<?php echo JText::_('COM_SPORTSMANAGER_FIRST_NAME') ?>*:
</td>
<td nowrap>
<?php
if (!$beschraenkter_zugriff)
{
?>
<input class="inputbox" type="text" name="vorname" size="50" maxlength="30"
<input class="inputbox" type="text" name="vorname" size="50" maxlength="30" required
value="<?php if ($row != null) echo htmlentities_utf8($row->vorname); ?>"/>
<?php
}