Compare commits

..

2 Commits

Author SHA1 Message Date
Tim e0d0f0f1c1 Removed nowrap comments 2025-06-30 14:55:04 +00:00
google-labs-jules[bot] 7d1fae417d I've made some improvements to the mobile usability of the Sportsmanager views.
I implemented responsive design features using the UIkit CSS framework to enhance your experience on mobile devices.

Here are the key changes in `src/structure/components/com_sportsmanager/views/sportsmanager/view.html.php`:
- I made images responsive by removing fixed dimensions and applying UIkit classes like `uk-responsive-width` or `uk-preserve-width`.
- I improved table responsiveness by removing `nowrap` attributes to allow text wrapping and applying `uk-visible@<breakpoint>` classes to hide less critical columns on smaller screens.
- I utilized `uk-table-responsive` for UIkit's default responsive table behavior on some tables.
- I ensured player card layouts in `mannschaftDetails` and `vereinDetails` use UIkit's grid system.
- I removed various fixed pixel widths from table cells to allow for more fluid layouts.

I identified the `individualwettbewerb` pyramid layout as an area that may require further CSS fine-tuning or PHP refactoring for optimal responsiveness. I've noted specific CSS media query suggestions for future implementation by a developer with visual testing capabilities.
2025-06-03 08:05:16 +00:00
9 changed files with 801 additions and 3252 deletions
-39
View File
@@ -1,39 +0,0 @@
# This workflow will run release using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Snapshot Release
on:
push:
tags:
- 'v*-snapshot' # run only on version tags like v1.0.0-snapshot
# - 'v*' # Run only on version tags like v1.0.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: sportsmanager2-stage
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install npm dependencies
run: npm ci
- name: Run build script
run: npm run release
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
prerelease: true
name: SNAPSHOT
files: package/packages/com_sportsmanager.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+8 -17
View File
@@ -1,22 +1,16 @@
# SportsManager # SportsManager
## DEV/STAGE environments ## Deploy status
| LV | HOSTER | DOMAIN | BRANCH | ### DEV environment
| ------ | -------- | ------------------------------------------------------------ | ------------------ | [![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/173/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/173) [Preview: sportsmanager.s10.kicktemp.dev](https://sportsmanager.s10.kicktemp.dev)
| DTFB | Kicktemp | [stage.dtfb.de](https://stage.dtfb.de) | dev |
| TFVHH | Kicktemp | [stage.kickern-hamburg.de](https://stage.kickern-hamburg.de) | dev |
| STFVH | DTFB | [stage.stfv.de](https://stage.stfv.de/) | sportsmanager2-dev |
## PROD environments [![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/204/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/204) [Preview: stage.kickern-hamburg.de](https://stage.kickern-hamburg.de)
| LV | HOSTER | DOMAIN | BRANCH | ### PROD environment
| ------ | -------- | ------------------------------------------------ | ------------------- | [![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/218/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/218) [Preview: dtfb.de](https://dtfb.de)
| DTFB | Kicktemp | [dtfb.de](https://dtfb.de) | production |
| TFVHH | Kicktemp | [kickern-hamburg.de](https://kickern-hamburg.de) | production | [![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/219/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/219) [Preview: kickern-hamburg.de](https://kickern-hamburg.de)
| MTFV | DTFB | [mtfv.de](https://mtfv.de/) | sportsmanager2-prod |
| TFVSH | DTFB | [tfvsh.de](https://tfvsh.de/) | sportsmanager2-prod |
| STFVH | DTFB | [stfv.de](https://stfv.de/) | sportsmanager2-prod |
## Test setup ## Test setup
@@ -46,6 +40,3 @@ joomla specific database prefixes like #__
To set it up, insert into the configuration popup which follows after you enable the framework support: To set it up, insert into the configuration popup which follows after you enable the framework support:
Joomla install path: `./data/joomla_data` Joomla install path: `./data/joomla_data`
JConfig: `./data/joomla_data/configuration.php` JConfig: `./data/joomla_data/configuration.php`
Test
@@ -5183,9 +5183,6 @@ function adminKategorien(): void
$kategorien[2] = array(); $kategorien[2] = array();
$kategorien[3] = array(); $kategorien[3] = array();
$kategorien[4] = array(); $kategorien[4] = array();
$kategorien[5] = array();
$kategorien[6] = array();
$kategorien[7] = array();
foreach ($rows as $row) foreach ($rows as $row)
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung; $kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
@@ -5219,12 +5216,12 @@ function adminKategorien(): void
$kategorien[4] = array(); $kategorien[4] = array();
$kategorien[5] = array(); $kategorien[5] = array();
$kategorien[6] = array(); $kategorien[6] = array();
$kategorien[7] = array();
foreach ($rows as $row) foreach ($rows as $row)
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung; $kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
for ($typ = 1; $typ <= 7; $typ++) { for ($typ = 1; $typ <= 6; $typ++) {
for ($nummer = 1; $nummer <= 50; $nummer++) { for ($nummer = 1; $nummer <= 50; $nummer++) {
$bezeichnung = $db->escape($jInput->get('bezeichnung_' . $typ . '_' . $nummer, '', 'RAW')); $bezeichnung = $db->escape($jInput->get('bezeichnung_' . $typ . '_' . $nummer, '', 'RAW'));
if (empty($bezeichnung)) { if (empty($bezeichnung)) {
@@ -11258,7 +11255,6 @@ function adminBegegnungenExportForm(): void
// Veranstaltung ermitteln // Veranstaltung ermitteln
$query = "SELECT * FROM #__sportsmanager_veranstaltung WHERE veranstaltung_id = $veranstaltungId"; $query = "SELECT * FROM #__sportsmanager_veranstaltung WHERE veranstaltung_id = $veranstaltungId";
$db->setQuery($query); $db->setQuery($query);
if (!$db->execute()) { if (!$db->execute()) {
die($db->stderr(true)); die($db->stderr(true));
@@ -1,4 +1,4 @@
<?php <?php
namespace Dtfb\Component\com_sportsmanager\Site\Controller; namespace Dtfb\Component\com_sportsmanager\Site\Controller;
/* /*
* Sports Manager (C) 2006-2020, Sven Nickel * Sports Manager (C) 2006-2020, Sven Nickel
File diff suppressed because it is too large Load Diff
@@ -16,156 +16,145 @@ class HTML_sportsmanager_admin
{ {
static function adminUebersicht($veranstaltungen, $spielerstatistiken, $turniere, $ranglisten, $individualwettbewerbe, $statistik, $saisons, $filter_saison_id, $externe_datenbank): void static function adminUebersicht($veranstaltungen, $spielerstatistiken, $turniere, $ranglisten, $individualwettbewerbe, $statistik, $saisons, $filter_saison_id, $externe_datenbank): void
{ {
function checkZeilenumbruch($Spalte_Nr, $max_Spalten)
{
$Spalte_Nr++;
if ($Spalte_Nr >= $max_Spalten){
echo "</tr>\n<tr>\n";
$Spalte_Nr = 0;
}
return $Spalte_Nr;
}
global $params; global $params;
?> ?>
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>" style='font-weight: bold;'> <div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><a
<a href="https://github.com/Deutscher-Tischfussballbund/" target="_blank"> href="https://github.com/Deutscher-Tischfussballbund/" target="_blank">Sports
Sports Manager <?php echo SPORTS_MANAGER_VERSION; ?> </a> Manager <?php echo SPORTS_MANAGER_VERSION; ?> </a>
</div> </div>
<table> <table style="border-spacing: 10px">
<tr> <?php
<?php if (benutzerZugriff("spieler_aendern")
$max_Spalten = 6; || benutzerVeranstalterModerator()
$Spalte_Nr = 0; || benutzerVereinModerator()
if (benutzerZugriff("spieler_aendern") || benutzerVeranstalterModerator() || benutzerVereinModerator()) { || benutzerZugriff("vereine_aendern")
?> || benutzerZugriff("organisationen_aendern")
<td style="padding-right: 15px" nowrap> || benutzerZugriff("kategorien_aendern")
<a href="<?php echo SportsManagerURL('&task=admin_spieler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></a> || benutzerZugriff("moderatoren_aendern")
</td> || benutzerZugriff("einstufungen_aendern")
<?php || benutzerZugriff("basiseinstellungen_aendern")) {
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); ?>
} <tr>
if (benutzerZugriff("vereine_aendern")) { <?php
?> if (benutzerZugriff("spieler_aendern") || benutzerVeranstalterModerator() || benutzerVereinModerator()) {
<td style="padding-right: 15px" nowrap> ?>
<a href="<?php echo SportsManagerURL('&task=admin_vereine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLUBS'); ?></a> <td nowrap><a
</td> href="<?php echo SportsManagerURL('&task=admin_spieler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></a>
<?php </td>
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); <?php
} }
if (benutzerZugriff("organisationen_aendern")) { if (benutzerZugriff("vereine_aendern")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_veranstalter'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?></a> href="<?php echo SportsManagerURL('&task=admin_vereine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLUBS'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); }
} if (benutzerZugriff("organisationen_aendern")) {
if (benutzerZugriff("kategorien_aendern")) { ?>
?> <td nowrap><a
<td style="padding-right: 15px" nowrap> href="<?php echo SportsManagerURL('&task=admin_veranstalter'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?></a>
<a href="<?php echo SportsManagerURL('&task=admin_kategorien'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></a> </td>
</td> <?php
<?php }
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); if (benutzerZugriff("kategorien_aendern")) {
} ?>
if (benutzerZugriff("moderatoren_aendern")) { <td nowrap><a
?> href="<?php echo SportsManagerURL('&task=admin_kategorien'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></a>
<td style="padding-right: 15px" nowrap> </td>
<a href="<?php echo SportsManagerURL('&task=admin_moderatoren'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MODERATORS'); ?></a> <?php
</td> }
<?php if (benutzerZugriff("moderatoren_aendern")) {
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); ?>
} <td nowrap><a
if (benutzerZugriff("einstufungen_aendern")) { href="<?php echo SportsManagerURL('&task=admin_moderatoren'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MODERATORS'); ?></a>
?> </td>
<td style="padding-right: 15px" nowrap> <?php
<a href="<?php echo SportsManagerURL('&task=admin_einstufungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLASSIFICATIONS'); ?></a> }
</td> if (benutzerZugriff("einstufungen_aendern")) {
<?php ?>
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); <td nowrap><a
} href="<?php echo SportsManagerURL('&task=admin_einstufungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLASSIFICATIONS'); ?></a>
if (benutzerZugriff("basiseinstellungen_aendern")) { </td>
?> <?php
<td style="padding-right: 15px" nowrap> }
<a href="<?php echo SportsManagerURL('&task=admin_einstellungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SETTINGS'); ?></a> if (benutzerZugriff("basiseinstellungen_aendern")) {
</td> ?>
<?php <td nowrap><a
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); href="<?php echo SportsManagerURL('&task=admin_einstellungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SETTINGS'); ?></a>
?> </td>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_datenbank'); ?>"><?php echo $externe_datenbank ? Text::_('COM_SPORTSMANAGER_DATABASE_EXTERNAL') : Text::_('COM_SPORTSMANAGER_DATABASE_LOCAL'); ?></a> href="<?php echo SportsManagerURL('&task=admin_datenbank'); ?>"><?php echo $externe_datenbank ? Text::_('COM_SPORTSMANAGER_DATABASE_EXTERNAL') : Text::_('COM_SPORTSMANAGER_DATABASE_LOCAL'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten); }
} ?>
</tr>
<?php
}
?>
<tr>
<?php
if (benutzerZugriff("termine_aendern")) { if (benutzerZugriff("termine_aendern")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_termine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_APPOINTMENTS'); ?></a> href="<?php echo SportsManagerURL('&task=admin_termine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_APPOINTMENTS'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
if (benutzerZugriff("verteiler_aendern") || benutzerZugriff("verteiler_lesen")) { if (benutzerZugriff("verteiler_aendern") || benutzerZugriff("verteiler_lesen")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_verteiler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MAILING_LISTS'); ?></a> href="<?php echo SportsManagerURL('&task=admin_verteiler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MAILING_LISTS'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
if (benutzerZugriff("rechnungen_aendern") && $statistik["saisons"] > 0) { if (benutzerZugriff("rechnungen_aendern") && $statistik["saisons"] > 0) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_rechnungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_INVOICES'); ?></a> href="<?php echo SportsManagerURL('&task=admin_rechnungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_INVOICES'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
if (benutzerZugriff("spielorte_aendern")) { if (benutzerZugriff("spielorte_aendern")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_spielorte'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_LOCATIONS'); ?></a> href="<?php echo SportsManagerURL('&task=admin_spielorte'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_LOCATIONS'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
if (benutzerZugriff("saisons_aendern")) { if (benutzerZugriff("saisons_aendern")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_saisons'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SEASONS'); ?></a> href="<?php echo SportsManagerURL('&task=admin_saisons'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SEASONS'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
if (benutzerZugriff("mannschaftsspielplaene_aendern")) { if (benutzerZugriff("mannschaftsspielplaene_aendern")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_teamspiel_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_TEAM_PLANS'); ?></a> href="<?php echo SportsManagerURL('&task=admin_teamspiel_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_TEAM_PLANS'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
if (benutzerZugriff("verschieberegeln_aendern")) { if (benutzerZugriff("verschieberegeln_aendern")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_verschieben_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_POSTPONE_RULES'); ?></a> href="<?php echo SportsManagerURL('&task=admin_verschieben_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_POSTPONE_RULES'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
if (benutzerZugriff("ranglistenwertungen_aendern")) { if (benutzerZugriff("ranglistenwertungen_aendern")) {
?> ?>
<td style="padding-right: 15px" nowrap> <td nowrap><a
<a href="<?php echo SportsManagerURL('&task=admin_ranglistensysteme'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_RANKING_RATING'); ?></a> href="<?php echo SportsManagerURL('&task=admin_ranglistensysteme'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_RANKING_RATING'); ?></a>
</td> </td>
<?php <?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
} }
?> ?>
</tr> </tr>
</table><br> </table>
<?php <?php
if (count($saisons) > 0) { if (count($saisons) > 0) {
?> ?>
@@ -4902,20 +4891,20 @@ class HTML_sportsmanager_admin
static function adminKategorien($kategorien): void static function adminKategorien($kategorien): void
{ {
global $params; global $params;
?> ?>
<div <div
class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></div> class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></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"> <div class="uk-overflow-auto">
<table class="" style="width: 100%"> <table class="uk-table" style="width: 100%">
<tr> <tr>
<td nowrap style="width: 60%; vertical-align: top"> <td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto"> <div class="uk-overflow-auto">
<table class="" style="width: 100%"> <table class="uk-table" style="width: 100%">
<?php <?php
for ($typ = 1; $typ <= 7; $typ++) { for ($typ = 1; $typ <= 6; $typ++) {
?> ?>
<tr> <tr>
<td></td> <td></td>
@@ -4935,8 +4924,6 @@ class HTML_sportsmanager_admin
echo Text::_('COM_SPORTSMANAGER_PLAYER_STATISTICS'); echo Text::_('COM_SPORTSMANAGER_PLAYER_STATISTICS');
else if ($typ == 6) else if ($typ == 6)
echo Text::_('COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS'); echo Text::_('COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS');
else if ($typ == 7)
echo Text::_('COM_SPORTSMANAGER_ASSOCIATION_BODIES');
?> ?>
</H2> </H2>
</div> </div>
@@ -6935,11 +6922,11 @@ 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="" style="width: 100%"> <table class="uk-table" style="width: 100%">
<tr> <tr>
<td nowrap style="width: 60%; vertical-align: top"> <td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto"> <div class="uk-overflow-auto">
<table class="" style="width: 100%"> <table class="uk-table" style="width: 100%">
<tr> <tr>
<td nowrap style="width: 20%; text-align: right"> <td nowrap style="width: 20%; text-align: right">
<label <label
@@ -6974,7 +6961,7 @@ class HTML_sportsmanager_admin
:</label> :</label>
</td> </td>
<td nowrap> <td nowrap>
<select class="uk-select uk-form-width-medium" style='width: 350px;' name="kategorie" <select class="uk-select uk-form-width-medium" name="kategorie"
id="category" size="1"> id="category" size="1">
<?php <?php
for ($i = 1; $i <= 50; $i++) { for ($i = 1; $i <= 50; $i++) {
@@ -7145,7 +7132,7 @@ class HTML_sportsmanager_admin
:</label> :</label>
</td> </td>
<td nowrap> <td nowrap>
<select class="uk-select uk-form-width-large" style='width: 600px;' name="tabellenwertung" <select class="uk-select uk-form-width-medium" name="tabellenwertung"
id="table_evaluation" size="1"> id="table_evaluation" size="1">
<?php <?php
$typ = array( $typ = array(
@@ -7262,7 +7249,7 @@ class HTML_sportsmanager_admin
} }
?> ?>
</tr> </tr>
</table><br/> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -7277,13 +7264,13 @@ class HTML_sportsmanager_admin
?> ?>
<input type="radio" name="bildbeibehalten_logo" id="keep_logo" value="1" <input type="radio" name="bildbeibehalten_logo" id="keep_logo" value="1"
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?> checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
<br/><?php echo $bild; ?> <br/><br/><?php echo $bild; ?>
<br/><label><input type="radio" name="bildbeibehalten_logo" <br/><br/><label><input type="radio" name="bildbeibehalten_logo"
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?> value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
</label> </label>
<br/><input type="file" name="bild_logo" size="30" <br/><br/><input type="file" name="bild_logo" size="30"
onchange="document.adminForm.bildbeibehalten_logo[1].checked = true;"/> onchange="document.adminForm.bildbeibehalten_logo[1].checked = true;"/>
<br/><label>URL: <input class="inputbox" type="text" <br/><br/><label>URL: <input class="inputbox" type="text"
name="logo_url" size="50" name="logo_url" size="50"
maxlength="150" maxlength="150"
value="<?php if (!empty($row)) echo htmlentities_utf8($row->logo_url); ?>"/></label> value="<?php if (!empty($row)) echo htmlentities_utf8($row->logo_url); ?>"/></label>
@@ -7292,13 +7279,13 @@ class HTML_sportsmanager_admin
?> ?>
<label <label
for="logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label> for="logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
<br/><input type="file" name="bild_logo" size="30"/> <br/><br/><input type="file" name="bild_logo" size="30"/>
<br/><label>URL: <input class="inputbox" type="text" <br/><br/><label>URL: <input class="inputbox" type="text"
name="logo_url" id="logo_url" size="50" name="logo_url" id="logo_url" size="50"
maxlength="150"/></label> maxlength="150"/></label>
<?php <?php
} }
?><br/><br/> ?>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -7314,13 +7301,13 @@ class HTML_sportsmanager_admin
<input type="radio" name="bildbeibehalten_ticker_logo" <input type="radio" name="bildbeibehalten_ticker_logo"
id="keep_ticker_logo" value="1" id="keep_ticker_logo" value="1"
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?> checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
<br/><?php echo $bild; ?> <br/><br/><?php echo $bild; ?>
<br/><label><input type="radio" name="bildbeibehalten_ticker_logo" <br/><br/><label><input type="radio" name="bildbeibehalten_ticker_logo"
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?> value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
</label> </label>
<br/><input type="file" name="bild_ticker_logo" size="30" <br/><br/><input type="file" name="bild_ticker_logo" size="30"
onchange="document.adminForm.bildbeibehalten_ticker_logo[1].checked = true;"/> onchange="document.adminForm.bildbeibehalten_ticker_logo[1].checked = true;"/>
<br/><label>URL: <input class="inputbox" type="text" <br/><br/><label>URL: <input class="inputbox" type="text"
name="ticker_logo_url" name="ticker_logo_url"
size="50" maxlength="150" size="50" maxlength="150"
value="<?php if (!empty($row)) echo htmlentities_utf8($row->ticker_logo_url); ?>"/></label> value="<?php if (!empty($row)) echo htmlentities_utf8($row->ticker_logo_url); ?>"/></label>
@@ -7329,8 +7316,8 @@ class HTML_sportsmanager_admin
?> ?>
<label <label
for="ticker_logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label> for="ticker_logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
<br/><input type="file" name="bild_ticker_logo" size="30"/> <br/><br/><input type="file" name="bild_ticker_logo" size="30"/>
<br/>URL: <input class="inputbox" type="text" <br/><br/>URL: <input class="inputbox" type="text"
name="ticker_logo_url" id="ticker_logo_url" name="ticker_logo_url" id="ticker_logo_url"
size="50" maxlength="150"/> size="50" maxlength="150"/>
<?php <?php
@@ -9551,7 +9538,7 @@ class HTML_sportsmanager_admin
$jahr = $veranstaltung->erster_tag != null ? substr($veranstaltung->erster_tag, 0, 4) : 0; $jahr = $veranstaltung->erster_tag != null ? substr($veranstaltung->erster_tag, 0, 4) : 0;
?> ?>
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>" <div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"
style='background-color:#000066;color: #cccccc;width:760px;font-weight:600;text-align:center;'> style='background-color:#000066;width:760px;font-weight:600;text-align:center;'>
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?> <?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?>
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?> <?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
: <?php echo Text::_('COM_SPORTSMANAGER_GENERATE_ENCOUNTERS_NEXT_ROUND'); ?></div> : <?php echo Text::_('COM_SPORTSMANAGER_GENERATE_ENCOUNTERS_NEXT_ROUND'); ?></div>
@@ -9563,7 +9550,7 @@ class HTML_sportsmanager_admin
<td nowrap style="width: 60%; vertical-align: top"> <td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto"> <div class="uk-overflow-auto">
<table> <table>
<tr><td colspan=2 style="text-align: center; background-color: #660033;color: #cccccc;"><b>Grundeinstellungen</b></td></tr> <tr><td colspan=2 style="text-align: center; background-color: #660033"><b>Grundeinstellungen</b></td></tr>
<tr> <tr>
<td>Runden</td> <td>Runden</td>
<td colspan style="text-align: left"> <td colspan style="text-align: left">
@@ -9620,14 +9607,14 @@ class HTML_sportsmanager_admin
$bgcolor = "#000099"; $bgcolor = "#000099";
} }
if ($spieltag == 1){ if ($spieltag == 1){
echo "<tr><td colspan=2 style='text-align: center; background-color: #000099; color: #cccccc;'><b>Hinrunde</b></td></tr>"; echo "<tr><td colspan=2 style='text-align: center; background-color: #000099'><b>Hinrunde</b></td></tr>";
} }
if ($spieltag == $spieltage + 1){ if ($spieltag == $spieltage + 1){
echo "<tr><td colspan=2 style='text-align: center; background-color: #000033; color: #cccccc;'><b>R&uuml;ckrunde</b> (Bei <i><u>Nur Hinrunde</u></i> sind hier keine Eingaben erforderlich)</td></tr>"; echo "<tr><td colspan=2 style='text-align: center; background-color: #000033'><b>R&uuml;ckrunde</b> (Bei <i><u>Nur Hinrunde</u></i> sind hier keine Eingaben erforderlich)</td></tr>";
} }
?> ?>
<tr> <tr>
<td nowrap style="width: 130px; text-align: center; background-color: <?php echo $bgcolor; ?>; color: #cccccc;"> <td nowrap style="width: 130px; text-align: center; background-color: <?php echo $bgcolor; ?>">
<label <label
for="calendar_week_<?php echo $spieltag; ?>"><?php echo $spieltag; ?> for="calendar_week_<?php echo $spieltag; ?>"><?php echo $spieltag; ?>
. <?php echo Text::_('COM_SPORTSMANAGER_GAMEDAY'); ?>:</label> . <?php echo Text::_('COM_SPORTSMANAGER_GAMEDAY'); ?>:</label>
@@ -9672,7 +9659,7 @@ class HTML_sportsmanager_admin
<?php <?php
} }
echo "<tr><td colspan=2 style='text-align: center'>&nbsp;</td></tr>"; echo "<tr><td colspan=2 style='text-align: center'>&nbsp;</td></tr>";
echo "<tr><td colspan=2 style='text-align: center; background-color: #660033; color: #cccccc;' echo "<tr><td colspan=2 style='text-align: center; background-color: #660033'
title='Setzliste bzw. Erste Paarung&#10;Automatisch: Spiele sind die die erste Begegnungen in der Saison&#10;Setzliste: Mannschaften werden in eine Spielmatrix gesetzt&#10;Manschaften aud 1/2 bzw. 3/4 bzw. 5/6 usw. haben nie gleichzeitg Heimrecht!'><b>Setzliste bzw. Erste Paarung</b></td></tr>"; title='Setzliste bzw. Erste Paarung&#10;Automatisch: Spiele sind die die erste Begegnungen in der Saison&#10;Setzliste: Mannschaften werden in eine Spielmatrix gesetzt&#10;Manschaften aud 1/2 bzw. 3/4 bzw. 5/6 usw. haben nie gleichzeitg Heimrecht!'><b>Setzliste bzw. Erste Paarung</b></td></tr>";
for ($teamnr = 1; $teamnr <= $anzahlteams; $teamnr += 2) { for ($teamnr = 1; $teamnr <= $anzahlteams; $teamnr += 2) {
?> ?>
@@ -10026,49 +10013,52 @@ 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"> <div class="uk-overflow-auto"><table class="" style="width: 100%">
<table class="" style="width: 500px"> <tr>
<tr> <td nowrap style="width: 60%; vertical-align: top">
<th align=center colspan='2'><?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?></th> <div class="uk-overflow-auto"><table class="" style="width: 100%">
</tr> <tr>
<tr> <td nowrap style="width: 20%; text-align: right">
<td nowrap style="width: 120px; text-align: right"> <label for="veranstaltungId">Veranstaltung</label>
<label for="veranstaltungId">Veranstaltung</label> </td>
</td> <td nowrap>
<td nowrap> <select class="uk-select uk-form-width-medium" name="veranstaltungid" size="1">
<select class="uk-select uk-form-width-large" style='width: 320px;' name="veranstaltungid" size="1"> <option value='<?PHP echo $veranstaltung->veranstaltung_id; ?>'><?PHP echo $veranstaltung->bezeichnung; ?></option>
<option value='<?PHP echo $veranstaltung->veranstaltung_id; ?>'><?PHP echo $veranstaltung->bezeichnung; ?></option> <?PHP foreach ($saison AS $key => $value) { ?>
<?PHP foreach ($saison AS $key => $value) { ?> <option value='<?PHP echo $value->veranstaltung_id; ?>'><?PHP echo $value->bezeichnung; ?></option>
<option value='<?PHP echo $value->veranstaltung_id; ?>'><?PHP echo $value->bezeichnung; ?></option> <?PHP } ?>
<?PHP } ?> </select>
</select> </td>
</td> </tr>
</tr> <tr>
<tr> <td nowrap style="width: 20%; text-align: right">
<td nowrap style="text-align: right"> <label for="export">Exportieren</label>
<label for="export">Exportieren</label> </td>
</td> <td nowrap>
<td nowrap> <select class="uk-select uk-form-width-medium" name="export" id="export" size="1">
<select class="uk-select uk-form-width-large" style='width: 320px;' name="export" id="export" size="1"> <option value='spieler'>Spieler</option>
<option value='spieler'>Spieler</option> <option value='spielplan'>Spielplan</option>
<option value='spielplan'>Spielplan</option> <option value='spielberichte'>Spielberichte</option>
<option value='spielberichte'>Spielberichte</option> </select>
</select> </td>
</td> </tr>
</tr> <tr>
<tr> <td nowrap style="width: 20%; text-align: right">
<td nowrap style="text-align: right"> <label for="exportformat">Exportformat</label>
<label for="exportformat">Exportformat</label> </td>
</td> <td nowrap>
<td nowrap> <select class="uk-select uk-form-width-medium" name="exportformat" id="exportformat" size="1">
<select class="uk-select uk-form-width-large" style='width: 320px;' name="exportformat" id="exportformat" size="1"> <option value='csvdatei'>CSV-Datei</option>
<option value='csvdatei'>CSV-Datei</option> </select>
</select> </td>
</td> </tr>
</tr> </table></div>
</table> </td>
</div> </tr>
</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,4 +1,4 @@
; Sports Manager (C) 2006-2020, Sven Nickel (Test) ; Sports Manager (C) 2006-2020, Sven Nickel (Test)
COM_SPORTSMANAGER="Sports Manager" COM_SPORTSMANAGER="Sports Manager"
COM_SPORTSMANAGER_PLAYERS="Spieler" COM_SPORTSMANAGER_PLAYERS="Spieler"
COM_SPORTSMANAGER_CLUBS="Vereine" COM_SPORTSMANAGER_CLUBS="Vereine"
@@ -70,7 +70,6 @@ COM_SPORTSMANAGER_CONFIRM_REMOVE_RANKING="Willst du die Rangliste wirklich entfe
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Individualwettbewerb hinzuf&uuml;gen" COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Individualwettbewerb hinzuf&uuml;gen"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individualwettbewerb" COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individualwettbewerb"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individualwettbewerbe" COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individualwettbewerbe"
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Verbandsorgane"
COM_SPORTSMANAGER_GAME="Spiel" COM_SPORTSMANAGER_GAME="Spiel"
COM_SPORTSMANAGER_GAMES="Spiele" COM_SPORTSMANAGER_GAMES="Spiele"
COM_SPORTSMANAGER_GAMES_SHORTCUT="S" COM_SPORTSMANAGER_GAMES_SHORTCUT="S"
@@ -1,4 +1,4 @@
; Sports Manager (C) 2006-2020, Sven Nickel ; Sports Manager (C) 2006-2020, Sven Nickel
COM_SPORTSMANAGER="Sports Manager" COM_SPORTSMANAGER="Sports Manager"
COM_SPORTSMANAGER_PLAYERS="Players" COM_SPORTSMANAGER_PLAYERS="Players"
COM_SPORTSMANAGER_CLUBS="Clubs" COM_SPORTSMANAGER_CLUBS="Clubs"
@@ -70,7 +70,6 @@ COM_SPORTSMANAGER_CONFIRM_REMOVE_RANKING="Do you really want to remove the ranki
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Add individual competition" COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Add individual competition"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individual competition" COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individual competition"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individual competitions" COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individual competitions"
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Association bodies"
COM_SPORTSMANAGER_GAME="Game" COM_SPORTSMANAGER_GAME="Game"
COM_SPORTSMANAGER_GAMES="Games" COM_SPORTSMANAGER_GAMES="Games"
COM_SPORTSMANAGER_GAMES_SHORTCUT="G" COM_SPORTSMANAGER_GAMES_SHORTCUT="G"
+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 = '103';"; $query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '102';";
$db->setQuery( $query ); $db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); } if (!$db->execute()) { die($db->stderr(true)); }