Falsche Versionsnr in script.php. Style von Formular Export Spielberichte optimiert.

This commit is contained in:
Jürgen Meyer
2025-06-12 10:50:57 +02:00
parent a922b11b6d
commit feb08ff903
2 changed files with 43 additions and 46 deletions
@@ -10013,52 +10013,49 @@ class HTML_sportsmanager_admin
{ {
global $params; global $params;
?> ?>
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?></div>
<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="" style="width: 100%"> <div class="uk-overflow-auto">
<tr> <table class="" style="width: 500px">
<td nowrap style="width: 60%; vertical-align: top"> <tr>
<div class="uk-overflow-auto"><table class="" style="width: 100%"> <th align=center colspan='2'><?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?></th>
<tr> </tr>
<td nowrap style="width: 20%; text-align: right"> <tr>
<label for="veranstaltungId">Veranstaltung</label> <td nowrap style="width: 120px; text-align: right">
</td> <label for="veranstaltungId">Veranstaltung</label>
<td nowrap> </td>
<select class="uk-select uk-form-width-medium" name="veranstaltungid" size="1"> <td nowrap>
<option value='<?PHP echo $veranstaltung->veranstaltung_id; ?>'><?PHP echo $veranstaltung->bezeichnung; ?></option> <select class="uk-select uk-form-width-large" style='width: 320px;' name="veranstaltungid" size="1">
<?PHP foreach ($saison AS $key => $value) { ?> <option value='<?PHP echo $veranstaltung->veranstaltung_id; ?>'><?PHP echo $veranstaltung->bezeichnung; ?></option>
<option value='<?PHP echo $value->veranstaltung_id; ?>'><?PHP echo $value->bezeichnung; ?></option> <?PHP foreach ($saison AS $key => $value) { ?>
<?PHP } ?> <option value='<?PHP echo $value->veranstaltung_id; ?>'><?PHP echo $value->bezeichnung; ?></option>
</select> <?PHP } ?>
</td> </select>
</tr> </td>
<tr> </tr>
<td nowrap style="width: 20%; text-align: right"> <tr>
<label for="export">Exportieren</label> <td nowrap style="text-align: right">
</td> <label for="export">Exportieren</label>
<td nowrap> </td>
<select class="uk-select uk-form-width-medium" name="export" id="export" size="1"> <td nowrap>
<option value='spieler'>Spieler</option> <select class="uk-select uk-form-width-large" style='width: 320px;' name="export" id="export" size="1">
<option value='spielplan'>Spielplan</option> <option value='spieler'>Spieler</option>
<option value='spielberichte'>Spielberichte</option> <option value='spielplan'>Spielplan</option>
</select> <option value='spielberichte'>Spielberichte</option>
</td> </select>
</tr> </td>
<tr> </tr>
<td nowrap style="width: 20%; text-align: right"> <tr>
<label for="exportformat">Exportformat</label> <td nowrap style="text-align: right">
</td> <label for="exportformat">Exportformat</label>
<td nowrap> </td>
<select class="uk-select uk-form-width-medium" name="exportformat" id="exportformat" size="1"> <td nowrap>
<option value='csvdatei'>CSV-Datei</option> <select class="uk-select uk-form-width-large" style='width: 320px;' name="exportformat" id="exportformat" size="1">
</select> <option value='csvdatei'>CSV-Datei</option>
</td> </select>
</tr> </td>
</table></div> </tr>
</td> </table>
</tr> </div>
</table></div>
<input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?>" <input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?>"
class="button"/> class="button"/>
+1 -1
View File
@@ -1110,7 +1110,7 @@ return new class () implements InstallerScriptInterface
$db->setQuery( $query ); $db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); } if (!$db->execute()) { die($db->stderr(true)); }
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '102';"; $query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '103';";
$db->setQuery( $query ); $db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); } if (!$db->execute()) { die($db->stderr(true)); }