mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Formulare für Spielerimport angepasst.
This commit is contained in:
@@ -2268,28 +2268,20 @@ class HTML_sportsmanager_admin
|
|||||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
|
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
|
||||||
enctype="multipart/form-data">
|
enctype="multipart/form-data">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table" style="width: 100%">
|
<table style="width: 60%">
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 60%; vertical-align: top">
|
<td nowrap style="width: 20%; text-align: right">
|
||||||
<div class="uk-overflow-auto">
|
<?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?>:
|
||||||
<table class="uk-table" style="width: 100%">
|
</td>
|
||||||
<tr>
|
<td nowrap>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<input type="file" name="daten" size="30"/>
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?>:
|
</td>
|
||||||
</td>
|
</tr>
|
||||||
<td nowrap>
|
<tr>
|
||||||
<input type="file" name="daten" size="30"/>
|
<td nowrap colspan="2">
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td nowrap colspan="2">
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -2340,109 +2332,101 @@ class HTML_sportsmanager_admin
|
|||||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
|
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
|
||||||
enctype="multipart/form-data">
|
enctype="multipart/form-data">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table" style="width: 100%">
|
<br>
|
||||||
<tr>
|
<table style="width: 100%">
|
||||||
<td nowrap style="width: 60%; vertical-align: top">
|
<?php
|
||||||
<div class="uk-overflow-auto">
|
if (!$beschraenkter_zugriff || $ansprechpartner_importieren != 1) {
|
||||||
<table class="uk-table" style="width: 100%">
|
?>
|
||||||
<?php
|
<tr>
|
||||||
if (!$beschraenkter_zugriff || $ansprechpartner_importieren != 1) {
|
<td nowrap style="width: 20%; text-align: right">
|
||||||
?>
|
<label
|
||||||
<tr>
|
for="personal_data"><?php echo Text::_('COM_SPORTSMANAGER_PERSONAL_DATA'); ?>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
:</label>
|
||||||
<label
|
</td>
|
||||||
for="personal_data"><?php echo Text::_('COM_SPORTSMANAGER_PERSONAL_DATA'); ?>
|
<td nowrap>
|
||||||
:</label>
|
<select class="uk-select uk-form-width-large" name="persoenliche_daten"
|
||||||
</td>
|
style="width: 700px;" id="personal_data" size="1">
|
||||||
<td nowrap>
|
<?php
|
||||||
<select class="uk-select uk-form-width-medium" name="persoenliche_daten"
|
$status = array("0" => Text::_('COM_SPORTSMANAGER_FIRST_AND_LAST_NAME_AND_BIRTHYEAR'), "1" => Text::_('COM_SPORTSMANAGER_FIRST_AND_LAST_NAME_AND_BIRTHYEAR'), "2" => Text::_('COM_SPORTSMANAGER_FIRST_AND_LAST_NAME_AND_PSEUDONYM'));
|
||||||
id="personal_data"
|
foreach ($status as $wert => $bezeichnung) {
|
||||||
size="1">
|
echo "<option value=\"" . $wert . "\"" . ($wert == $persoenliche_daten_vorauswahl ? " selected" : "") . ">" . htmlentities_utf8($bezeichnung) . "</option>";
|
||||||
<?php
|
}
|
||||||
$status = array("0" => Text::_('COM_SPORTSMANAGER_FIRST_AND_LAST_NAME_AND_BIRTHYEAR'), "1" => Text::_('COM_SPORTSMANAGER_FIRST_AND_LAST_NAME_AND_BIRTHYEAR'), "2" => Text::_('COM_SPORTSMANAGER_FIRST_AND_LAST_NAME_AND_PSEUDONYM'));
|
?>
|
||||||
foreach ($status as $wert => $bezeichnung) {
|
</select>
|
||||||
echo "<option value=\"" . $wert . "\"" . ($wert == $persoenliche_daten_vorauswahl ? " selected" : "") . ">" . htmlentities_utf8($bezeichnung) . "</option>";
|
</td>
|
||||||
}
|
</tr>
|
||||||
?>
|
<?php
|
||||||
</select>
|
}
|
||||||
</td>
|
?>
|
||||||
</tr>
|
<tr>
|
||||||
<?php
|
<td nowrap style="width: 20%; text-align: right">
|
||||||
}
|
</td>
|
||||||
?>
|
<td nowrap>
|
||||||
<tr>
|
<label>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<input type="checkbox" name="lizenznr_beibehalten" value="1"
|
||||||
</td>
|
checked><?php echo Text::_('COM_SPORTSMANAGER_INTERNATIONAL_PLATYERS_OVERWRITE'); ?>
|
||||||
<td nowrap>
|
</label>
|
||||||
<label>
|
</td>
|
||||||
<input type="checkbox" name="lizenznr_beibehalten" value="1"
|
</tr>
|
||||||
checked><?php echo Text::_('COM_SPORTSMANAGER_INTERNATIONAL_PLATYERS_OVERWRITE'); ?>
|
<?php
|
||||||
</label>
|
$n = 1;
|
||||||
</td>
|
foreach ($veranstalter_import as $v) {
|
||||||
</tr>
|
?>
|
||||||
<?php
|
<tr>
|
||||||
$n = 1;
|
<td nowrap style="width: 20%; text-align: right">
|
||||||
foreach ($veranstalter_import as $v) {
|
<label for="organizer_<?php echo $n; ?>"><?php
|
||||||
?>
|
echo htmlentities_utf8(empty($v->veranstalterbezeichnung) ? Text::_('COM_SPORTSMANAGER_CLUB_WITHOUT_ORGANISATION') : (Text::_('COM_SPORTSMANAGER_CLUBS') . $v->veranstalterbezeichnung));
|
||||||
<tr>
|
?></label>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
</td>
|
||||||
<label for="organizer_<?php echo $n; ?>"><?php
|
<td nowrap>
|
||||||
echo htmlentities_utf8(empty($v->veranstalterbezeichnung) ? Text::_('COM_SPORTSMANAGER_CLUB_WITHOUT_ORGANISATION') : (Text::_('COM_SPORTSMANAGER_CLUBS') . $v->veranstalterbezeichnung));
|
<select class="uk-select uk-form-width-medium"
|
||||||
?></label>
|
name="veranstalter_<?php echo $n; ?>_id"
|
||||||
</td>
|
id="organizer_<?php echo $n; ?>" size="1">
|
||||||
<td nowrap>
|
<option
|
||||||
<select class="uk-select uk-form-width-medium"
|
value=""><?php echo Text::_('COM_SPORTSMANAGER_NO_IMPORT'); ?></option>
|
||||||
name="veranstalter_<?php echo $n; ?>_id"
|
<optgroup
|
||||||
id="organizer_<?php echo $n; ?>" size="1">
|
label="<?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?>">
|
||||||
<option
|
<?php
|
||||||
value=""><?php echo Text::_('COM_SPORTSMANAGER_NO_IMPORT'); ?></option>
|
if (!$beschraenkter_zugriff) {
|
||||||
<optgroup
|
?>
|
||||||
label="<?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?>">
|
<option
|
||||||
<?php
|
value="0"><?php echo Text::_('COM_SPORTSMANAGER_LOOSER_CLUB'); ?></option>
|
||||||
if (!$beschraenkter_zugriff) {
|
<?php
|
||||||
?>
|
}
|
||||||
<option
|
foreach ($veranstalter as $veranstalter_row) {
|
||||||
value="0"><?php echo Text::_('COM_SPORTSMANAGER_LOOSER_CLUB'); ?></option>
|
echo "<option value=\"" . $veranstalter_row->veranstalter_id . "\" " . (empty($verein_import) && ($v->veranstalterbezeichnung == $veranstalter_row->veranstalterbezeichnung || (isset($veranstalter_zugehoerigkeit[$v->veranstalterbezeichnung]) && $veranstalter_zugehoerigkeit[$v->veranstalterbezeichnung] == $veranstalter_row->veranstalter_id)) ? "selected" : "") . ">" . htmlentities_utf8($veranstalter_row->veranstalterbezeichnung) . "</option>";
|
||||||
<?php
|
}
|
||||||
}
|
?>
|
||||||
foreach ($veranstalter as $veranstalter_row) {
|
</optgroup>
|
||||||
echo "<option value=\"" . $veranstalter_row->veranstalter_id . "\" " . (empty($verein_import) && ($v->veranstalterbezeichnung == $veranstalter_row->veranstalterbezeichnung || (isset($veranstalter_zugehoerigkeit[$v->veranstalterbezeichnung]) && $veranstalter_zugehoerigkeit[$v->veranstalterbezeichnung] == $veranstalter_row->veranstalter_id)) ? "selected" : "") . ">" . htmlentities_utf8($veranstalter_row->veranstalterbezeichnung) . "</option>";
|
<?php
|
||||||
}
|
if (!empty($verein_import)) {
|
||||||
?>
|
$veranstalterbezeichnung = -1;
|
||||||
</optgroup>
|
foreach ($vereine as $verein) {
|
||||||
<?php
|
if ($veranstalterbezeichnung != $verein->veranstalterbezeichnung) {
|
||||||
if (!empty($verein_import)) {
|
if ($veranstalterbezeichnung != -1)
|
||||||
$veranstalterbezeichnung = -1;
|
echo "</optgroup>";
|
||||||
foreach ($vereine as $verein) {
|
echo "<optgroup label=\"" . Text::_('COM_SPORTSMANAGER_CLUBS') . " " . htmlentities_utf8($verein->veranstalterbezeichnung != null ? $verein->veranstalterbezeichnung : "") . "\">";
|
||||||
if ($veranstalterbezeichnung != $verein->veranstalterbezeichnung) {
|
$veranstalterbezeichnung = $verein->veranstalterbezeichnung;
|
||||||
if ($veranstalterbezeichnung != -1)
|
}
|
||||||
echo "</optgroup>";
|
echo "<option value=\"-" . $verein->verein_id . "\"" . ($verein_import_id == $verein->verein_id ? " selected" : "") . ">" . htmlentities_utf8($verein->vereinsname) . "</option>";
|
||||||
echo "<optgroup label=\"" . Text::_('COM_SPORTSMANAGER_CLUBS') . " " . htmlentities_utf8($verein->veranstalterbezeichnung != null ? $verein->veranstalterbezeichnung : "") . "\">";
|
}
|
||||||
$veranstalterbezeichnung = $verein->veranstalterbezeichnung;
|
if ($veranstalterbezeichnung != -1)
|
||||||
}
|
echo "</optgroup>";
|
||||||
echo "<option value=\"-" . $verein->verein_id . "\"" . ($verein_import_id == $verein->verein_id ? " selected" : "") . ">" . htmlentities_utf8($verein->vereinsname) . "</option>";
|
|
||||||
}
|
|
||||||
if ($veranstalterbezeichnung != -1)
|
|
||||||
echo "</optgroup>";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$n++;
|
$n++;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap colspan="2">
|
<td nowrap colspan="2">
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user