mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Compare commits
40 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ba9c84dfe7 | |||
| f424dfe024 | |||
| f382c3a208 | |||
| 2d7fb27ee1 | |||
| 93769df3ac | |||
| ee6d559a7f | |||
| 6e9b2c4f5e | |||
| f713362c3e | |||
| 71dd59c3d8 | |||
| 9594ec84e2 | |||
| 79adb9efd2 | |||
| 7d7f162dde | |||
| 1538738722 | |||
| eb4bcf38d9 | |||
| 0d8e61b3ca | |||
| 3f26a340dc | |||
| 87d9449417 | |||
| e0575dc125 | |||
| b1f67d1d13 | |||
| f119cae584 | |||
| 18d346a4e9 | |||
| e81600dd86 | |||
| ff7314cf3f | |||
| 1fe9d4bc5f | |||
| 5e3996dd5e | |||
| 9861f59662 | |||
| 9f6c026b2b | |||
| 850fd2c079 | |||
| 762bf50f62 | |||
| 19fc2c8800 | |||
| be1b66eb8e | |||
| cf14997acb | |||
| 0d3e54a544 | |||
| 3e577f6be1 | |||
| 2b6563dae0 | |||
| 8479691824 | |||
| ca4ce6060e | |||
| b57c7c148d | |||
| b17fcffdd5 | |||
| 97c6d9ee03 |
@@ -25,6 +25,18 @@ jobs:
|
||||
- name: Install npm dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Get version from git tag
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Update version.php
|
||||
run: |
|
||||
echo "<?php" > src/structure/components/com_sportsmanager/util/version.php
|
||||
echo "defined('_JEXEC') or die;" >> src/structure/components/com_sportsmanager/util/version.php
|
||||
echo "return [" >> src/structure/components/com_sportsmanager/util/version.php
|
||||
echo " 'version' => '${{ env.VERSION }}'," >> src/structure/components/com_sportsmanager/util/version.php
|
||||
echo " 'date' => '$(date +%F)'," >> src/structure/components/com_sportsmanager/util/version.php
|
||||
echo "];" >> src/structure/components/com_sportsmanager/util/version.php
|
||||
|
||||
- name: Generate release notes
|
||||
id: release_notes_extension
|
||||
uses: release-drafter/release-drafter@v6
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -4,10 +4,8 @@
|
||||
*/
|
||||
|
||||
use JetBrains\PhpStorm\NoReturn;
|
||||
use Joomla\CMS\Application\AdministratorApplication;
|
||||
use Joomla\CMS\Application\SiteApplication;
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\User\UserFactory;
|
||||
use Joomla\CMS\User\UserFactoryInterface;
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
@@ -43,8 +41,7 @@ function notifyChange($data): void
|
||||
try {
|
||||
$db = getDatabase();
|
||||
$query = "SELECT wert from #__sportsmanager_einstellungen WHERE name='api_push_key'";
|
||||
$db->setQuery($query);
|
||||
$push_key = $db->loadResult();
|
||||
$push_key = loadResult($db, $query);
|
||||
$push_server = !empty($push_key) && isset(_payload($push_key)->aud) ? _payload($push_key)->aud : '';
|
||||
if ($push_server != '' && $push_key != '') {
|
||||
$url = $push_server . (str_ends_with($push_server, '/') ? '' : '/') . 'v1/notifications/send';
|
||||
@@ -137,11 +134,8 @@ function begegnungVerlegenNotify($begegnung, $users, $vorschlagendes_team_id, $h
|
||||
$expires->modify('+16 hours');
|
||||
$db = getDatabase();
|
||||
$query = "SELECT berechtigt_team_id from #__sportsmanager_berechtigt_fuer_team where berechtigt_user_id = $user_id";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
abortWithError($db->stderr(true));
|
||||
}
|
||||
$team_id = $db->loadObjectList();
|
||||
$team_id = loadObjectList($db, $query);
|
||||
|
||||
JSON_sportsmanager::JSON([
|
||||
'token' => jwt_token([
|
||||
'sub' => $user_id,
|
||||
@@ -180,8 +174,7 @@ function begegnungVerlegenNotify($begegnung, $users, $vorschlagendes_team_id, $h
|
||||
$db = getDatabase();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select('id')->from('#__users')->where('username = "' . $username . '"')->setLimit(1);
|
||||
$db->setQuery($query);
|
||||
$user_id = $db->loadResult();
|
||||
$user_id = loadResult($db, $query);
|
||||
$user = $container->get(UserFactoryInterface::class)->loadUserById($user_id);
|
||||
|
||||
//TODO: pw verification modernising: use php native methods, however this also needs new pw hashing. maybe force a pw reset on all accounts
|
||||
|
||||
@@ -7,6 +7,8 @@ use Joomla\Database\DatabaseInterface;
|
||||
use Joomla\Database\Mysql\MysqlDriver;
|
||||
use Joomla\Database\Mysqli\MysqliDriver;
|
||||
|
||||
require_once JPATH_SITE . '/components/com_sportsmanager/database/util.php';
|
||||
|
||||
function initDatabase(): void
|
||||
{
|
||||
global $sportsmanager_database_local;
|
||||
@@ -22,11 +24,7 @@ function initDatabase(): void
|
||||
$sportsmanager_database_local = Factory::getContainer()->get(DatabaseInterface::class);
|
||||
|
||||
$query = "SELECT * FROM #__sportsmanager_einstellungen";
|
||||
$sportsmanager_database_local->setQuery($query);
|
||||
if (!$sportsmanager_database_local->execute()) {
|
||||
die($sportsmanager_database_local->stderr(true));
|
||||
}
|
||||
$rows = $sportsmanager_database_local->loadObjectList();
|
||||
$rows = loadObjectList($sportsmanager_database_local, $query);
|
||||
|
||||
$database_driver = "mysql";
|
||||
$database_host = "";
|
||||
@@ -75,14 +73,13 @@ function initDatabase(): void
|
||||
if ($sportsmanager_database_external === NULL) {
|
||||
echo "<strong>" . Text::_('COM_SPORTSMANAGER_CONNECTION_EXTERNAL_DB_FAILURE') . "</strong><br><br>";
|
||||
} else {
|
||||
$query = "SELECT wert FROM #__sportsmanager_einstellungen WHERE name = 'datenbank_version'";
|
||||
$sportsmanager_database_external->setQuery($query);
|
||||
try {
|
||||
if (!$sportsmanager_database_external->execute()) {
|
||||
echo "<strong>" . Text::_('COM_SPORTSMANAGER_EXTERNAL_DB_NO_SM_TABLES') . "</strong><br><br>";
|
||||
$sportsmanager_database_external = NULL;
|
||||
} else {
|
||||
$db_version = $sportsmanager_database_external->loadResult();
|
||||
$query = "SELECT wert FROM #__sportsmanager_einstellungen WHERE name = 'datenbank_version'";
|
||||
$db_version = loadResult($sportsmanager_database_external, $query);
|
||||
if ($db_version < 38) {
|
||||
echo "<strong>" . Text::_('COM_SPORTSMANAGER_EXTERNAL_DB_NO_SM_VERSION') . "</strong><br><br>";
|
||||
$sportsmanager_database_external = NULL;
|
||||
|
||||
@@ -20,27 +20,15 @@ function updateDatabase(): void
|
||||
$termin_aktionen_email_setzen = false;
|
||||
|
||||
$query = "SHOW TABLE STATUS WHERE name = '" . $db->getPrefix() . "tsleague_basis' || name = '" . $db->getPrefix() . "tsleague_einstellungen'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
|
||||
if (count($rows) > 0) {
|
||||
$query = "SHOW TABLE STATUS WHERE name = '" . $db->getPrefix() . "tsleague_basis'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
|
||||
if (count($rows) > 0) {
|
||||
$query = "SELECT * FROM #__tsleague_basis";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
if (count($rows) == 0)
|
||||
die(Text::_('COM_SPORTSMANAGER_EXTERNAL_DB_INCONSISTENCY'));
|
||||
|
||||
@@ -337,11 +325,7 @@ function updateDatabase(): void
|
||||
if ($datenbank_version < 9) {
|
||||
$query = "SELECT spieler_id, geschlecht"
|
||||
. "\n FROM #__tsleague_spieler";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$spieler = $db->loadObjectList();
|
||||
$spieler = loadObjectList($db, $query);
|
||||
|
||||
$query = "ALTER TABLE #__tsleague_spieler CHANGE geschlecht geschlecht char(1)";
|
||||
$db->setQuery($query);
|
||||
@@ -855,11 +839,7 @@ function updateDatabase(): void
|
||||
}
|
||||
|
||||
$query = "SELECT * FROM #__tsleague_einstellungen WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
if (count($rows) == 0)
|
||||
die(Text::_('COM_SPORTSMANAGER_EXTERNAL_DB_INCONSISTENCY'));
|
||||
|
||||
@@ -1728,11 +1708,7 @@ function updateDatabase(): void
|
||||
}
|
||||
|
||||
$query = "SELECT * FROM #__sportsmanager_einstellungen WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
if (count($rows) == 0)
|
||||
die(Text::_('COM_SPORTSMANAGER_EXTERNAL_DB_INCONSISTENCY'));
|
||||
|
||||
@@ -2174,11 +2150,7 @@ function updateDatabase(): void
|
||||
. "\n SELECT YEAR(erster_tag) AS jahr FROM #__sportsmanager_bestenliste WHERE NOT ISNULL(erster_tag)"
|
||||
. "\n GROUP BY jahr"
|
||||
. "\n ORDER BY jahr";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$jahre = $db->loadObjectList();
|
||||
$jahre = loadObjectList($db, $query);
|
||||
|
||||
if (count($jahre) > 0) {
|
||||
foreach ($jahre as $jahr) {
|
||||
@@ -2199,11 +2171,7 @@ function updateDatabase(): void
|
||||
}
|
||||
|
||||
$query = "SELECT * FROM #__sportsmanager_saison ORDER BY saisonbezeichnung DESC LIMIT 1";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$saisons = $db->loadObjectList();
|
||||
$saisons = loadObjectList($db, $query);
|
||||
|
||||
$aktuelle_saison_id = $saisons[0]->saison_id;
|
||||
// Saisons den Veranstaltungen zuordnen
|
||||
@@ -2644,11 +2612,7 @@ function updateDatabase(): void
|
||||
. "\n INNER JOIN #__sportsmanager_veranstaltung USING (veranstaltung_id)"
|
||||
. "\n LEFT JOIN #__sportsmanager_saison USING (saison_id)"
|
||||
. "\n ORDER BY heimspielort_name, heimspielort_anschrift";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$teams = $db->loadObjectList();
|
||||
$teams = loadObjectList($db, $query);
|
||||
|
||||
$heimspielort_name = "";
|
||||
$heimspielort_strasse = "";
|
||||
@@ -3020,11 +2984,7 @@ function updateDatabase(): void
|
||||
|
||||
$query = "SELECT * FROM #__sportsmanager_turniervoranmeldung"
|
||||
. "\n ORDER BY turnierdisziplin_id";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$query = "INSERT INTO #__sportsmanager_turniermeldung (turnierdisziplin_id, rundenstufe, platz)"
|
||||
@@ -3215,11 +3175,7 @@ function updateDatabase(): void
|
||||
|
||||
if ($datenbank_version < 40) {
|
||||
$query = "SELECT * FROM #__sportsmanager_kategorie ORDER BY typ, nummer, kategorie_id DESC";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
|
||||
$typ = -1;
|
||||
$nummer = -1;
|
||||
@@ -4053,11 +4009,7 @@ function updateDatabase(): void
|
||||
}
|
||||
|
||||
$query = "SELECT * FROM #__sportsmanager_moderator";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$moderator_id = $row->moderator_id;
|
||||
@@ -5214,8 +5166,7 @@ function updateDatabase(): void
|
||||
->from('INFORMATION_SCHEMA.COLUMNS')
|
||||
->where('TABLE_NAME = ' . $db->quote($db->replacePrefix('#__sportsmanager_rangliste')))
|
||||
->where('COLUMN_NAME = ' . $db->quote('lizenzen'));
|
||||
$db->setQuery($query);
|
||||
$exists = (bool)$db->loadResult();
|
||||
$exists = (bool)loadResult($db, $query);
|
||||
|
||||
if (!$exists) {
|
||||
$query = "ALTER TABLE #__sportsmanager_rangliste ADD lizenzen varchar(30) DEFAULT NULL AFTER streichergebnisse";
|
||||
@@ -5230,8 +5181,7 @@ function updateDatabase(): void
|
||||
->from('INFORMATION_SCHEMA.COLUMNS')
|
||||
->where('TABLE_NAME = ' . $db->quote($db->replacePrefix('#__sportsmanager_spieler')))
|
||||
->where('COLUMN_NAME = ' . $db->quote('lizenz'));
|
||||
$db->setQuery($query);
|
||||
$exists = (bool)$db->loadResult();
|
||||
$exists = (bool)loadResult($db, $query);
|
||||
|
||||
if (!$exists) {
|
||||
$query = "ALTER TABLE #__sportsmanager_spieler ADD lizenz varchar(30) DEFAULT NULL AFTER lizenznr";
|
||||
@@ -5266,14 +5216,39 @@ function updateDatabase(): void
|
||||
}
|
||||
}
|
||||
|
||||
if ($termin_aktionen_email_setzen) {
|
||||
$query = "SELECT aktion_user_id, termin_aktion_id"
|
||||
. "\n FROM #__sportsmanager_termin_aktion";
|
||||
if ($datenbank_version < 104) {
|
||||
|
||||
$query = "ALTER TABLE #__sportsmanager_veranstaltung ADD direktervergleich INT(4) NOT NULL DEFAULT '0' AFTER tabellenwertung;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
|
||||
$query = "ALTER TABLE #__sportsmanager_team ADD setzliste_nr INT(4) NULL DEFAULT NULL AFTER veranstaltung_id;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "ALTER TABLE #__sportsmanager_begegnung ADD spiel_nr INT(4) NULL DEFAULT NULL AFTER spieltag;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '104'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($termin_aktionen_email_setzen) {
|
||||
$query = "SELECT aktion_user_id, termin_aktion_id"
|
||||
. "\n FROM #__sportsmanager_termin_aktion";
|
||||
$rows = loadObjectList($db, $query);
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$container = Factory::getContainer();
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
use Joomla\CMS\Log\Log;
|
||||
|
||||
/**
|
||||
* @param $db
|
||||
* @param $query
|
||||
* @return mixed
|
||||
* @since 2.0.5
|
||||
*/
|
||||
function loadObjectList($db, $query): mixed
|
||||
{
|
||||
try {
|
||||
$db->setQuery($query);
|
||||
$objList = $db->loadObjectList();
|
||||
} catch (RuntimeException $e) {
|
||||
Log::add("Database error: " . $e->getMessage(), Log::ERROR, "com_sportsmanager");
|
||||
if(isJson()) {
|
||||
abortWithError($e->getMessage());
|
||||
} else {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
return $objList;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $db
|
||||
* @param $query
|
||||
* @return mixed
|
||||
* @since 2.0.5
|
||||
*/
|
||||
function loadResult($db, $query): mixed
|
||||
{
|
||||
try {
|
||||
$db->setQuery($query);
|
||||
$result = $db->loadResult();
|
||||
} catch (RuntimeException $e) {
|
||||
Log::add("Database error: " . $e->getMessage(), Log::ERROR, "com_sportsmanager");
|
||||
if(isJson()) {
|
||||
abortWithError($e->getMessage());
|
||||
} else {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,6 @@ use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Log\Log;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\CMS\User\User;
|
||||
use Joomla\CMS\Version;
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
@@ -7,6 +7,8 @@ use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Filesystem\File;
|
||||
use Joomla\Filesystem\Folder;
|
||||
|
||||
require_once JPATH_SITE . '/components/com_sportsmanager/database/util.php';
|
||||
|
||||
const SPORTSMANAGER_JOOMLA_PATH = JPATH_ROOT;
|
||||
define("SPORTSMANAGER_JOOMLA_URL", Uri::base());
|
||||
|
||||
@@ -241,11 +243,7 @@ function playerImage($playerId, $gender, $width = 180, $height = 240): ?string
|
||||
. "\n FROM #__sportsmanager_spieler"
|
||||
. "\n WHERE NOT ISNULL(aktueller_verein_id) AND NOT bild_ausblenden" . (!empty($spielernr) ? " AND spielernr = '$spielernr'" : " AND lizenznr = '$lizenznr'")
|
||||
. "\n ORDER BY spieler_id DESC";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
$rows = $db->loadObjectList();
|
||||
$rows = loadObjectList($db, $query);
|
||||
if (count($rows) < 1) {
|
||||
ob_end_clean(); // Wegen UTF-8-Zeichen, die in der ausgabe vorhanden sind
|
||||
header('HTTP/1.1 404 Not Found');
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php // do not change this file, this is automatically updated while building releases, see .github/workflows/build_release.yml
|
||||
defined('_JEXEC') or die;
|
||||
return [
|
||||
'version' => 'DEV',
|
||||
'date' => '2025-08-05',
|
||||
];
|
||||
@@ -1625,7 +1625,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if ($alleine_angezeigt && $praesentation == 0) {
|
||||
?>
|
||||
<th nowrap>
|
||||
<strong><?php echo $modus->punktetyp == 0 ? Text::_('COM_SPORTSMANAGER_GOALS') : Text::_('COM_SPORTSMANAGER_SETS'); ?></strong><br/>
|
||||
<strong><?php echo $modus->punktetyp != 2 ? Text::_('COM_SPORTSMANAGER_GOALS') : Text::_('COM_SPORTSMANAGER_SETS'); ?></strong><br/>
|
||||
<small><?php echo Text::_('COM_SPORTSMANAGER_STAT_TOTAL'); ?></small>
|
||||
</th>
|
||||
<?php
|
||||
@@ -1633,7 +1633,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
?>
|
||||
<th nowrap
|
||||
title="<?php echo $veranstaltung->tabellenwertung == 1 || $veranstaltung->tabellenwertung == 4 || $veranstaltung->tabellenwertung == 7 || $veranstaltung->tabellenwertung == 10 || $veranstaltung->tabellenwertung == 21 || $veranstaltung->tabellenwertung == 24 || $veranstaltung->tabellenwertung == 27 ? Text::_('COM_SPORTSMANAGER_DIFFERENCE') : Text::_('COM_SPORTSMANAGER_RATIO'); ?>">
|
||||
<strong><?php echo $modus->punktetyp == 0 ? Text::_('COM_SPORTSMANAGER_GOALS') : Text::_('COM_SPORTSMANAGER_SETS'); ?></strong>
|
||||
<strong><?php echo $modus->punktetyp != 2 ? Text::_('COM_SPORTSMANAGER_GOALS') : Text::_('COM_SPORTSMANAGER_SETS'); ?></strong>
|
||||
</th>
|
||||
<?php
|
||||
}
|
||||
@@ -2213,7 +2213,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
global $params;
|
||||
|
||||
?>
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||
<table style="width: 100%; border: none; border-spacing: 0;">
|
||||
<tr>
|
||||
<th style="width: 30px" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"></th>
|
||||
<th class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>" style="text-align: left">
|
||||
@@ -2260,7 +2260,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</table>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<div>
|
||||
@@ -2276,7 +2276,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if ($bild != null) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap><?php echo $bild; ?></td>
|
||||
</tr>
|
||||
@@ -2289,7 +2289,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if ($bild != null) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap><?php echo $bild; ?></td>
|
||||
</tr>
|
||||
@@ -2325,7 +2325,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
|| ($mitglieder_modus == 1 && $mitglieder_voruebergehend > 0)) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%"><?php echo $mitglieder_modus == 0 ? Text::_('COM_SPORTSMANAGER_PLAYER') : "Vorübergehende Spieler"; ?></td>
|
||||
@@ -2334,8 +2334,8 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</div>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="border-spacing: 0">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="border-spacing: 0;width: 100%">
|
||||
<tr>
|
||||
<?php
|
||||
$n = 0;
|
||||
@@ -2343,12 +2343,8 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if (($mitglieder_modus == 0 && !$mitglieder_ist_dauerhaft[$row->spieler_id])
|
||||
|| ($mitglieder_modus == 1 && $mitglieder_ist_dauerhaft[$row->spieler_id]))
|
||||
continue;
|
||||
if ($n % 3 == 0 && $n != 0)
|
||||
echo "</tr><tr>";
|
||||
|
||||
echo "<td style='text-align: center;vertical-align: center' class=\"sectiontableentry" . (($n % 2) + 1) . $params->get('pageclass_sfx') . "\">";
|
||||
echo "<table>";
|
||||
echo "<tr><td style='text-align: center'>";
|
||||
echo "<table style='display: inline-table;'><tr>";
|
||||
echo "<td style='text-align: center;vertical-align: center; width: 220px;' class=\"sectiontableentry" . (($n % 2) + 1) . $params->get('pageclass_sfx') . "\">";
|
||||
if (empty($row->aktueller_verein_id))
|
||||
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
||||
else {
|
||||
@@ -2357,74 +2353,55 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
}
|
||||
if (!empty($row->spielernr))
|
||||
echo "<br /><small>" . htmlentities_utf8($row->spielernr) . "</small>";
|
||||
echo "</td></tr>";
|
||||
if ($team_moderator) {
|
||||
if (!empty($row->geburtsjahr)) {
|
||||
echo "<tr><td style='text-align: center'>";
|
||||
echo "<small>" . htmlentities_utf8($row->geburtsjahr) . "</small>";
|
||||
echo "</td></tr>";
|
||||
echo "<br /><small>" . htmlentities_utf8($row->geburtsjahr) . "</small>";
|
||||
}
|
||||
if (!empty($row->strasse) ||
|
||||
!empty($row->plz) || !empty($row->ort)) {
|
||||
echo "<tr><td style='text-align: center'>";
|
||||
if (!empty($row->strasse))
|
||||
echo "<small>" . htmlentities_utf8($row->strasse) . "</small><br />";
|
||||
echo "<br /><small>" . htmlentities_utf8($row->strasse) . "</small>";
|
||||
if (!empty($row->plz) || !empty($row->ort))
|
||||
echo "<small>" . (!empty($row->plz) ? (htmlentities_utf8($row->plz) . " ") : "") . htmlentities_utf8($row->ort) . "</small>";
|
||||
echo "</td></tr>";
|
||||
}
|
||||
if (!empty($row->telefon) ||
|
||||
!empty($row->mobil) ||
|
||||
!empty($row->email)) {
|
||||
echo "<tr><td style='text-align: center'>";
|
||||
echo "<br /><small>" . (!empty($row->plz) ? (htmlentities_utf8($row->plz) . " ") : "") . htmlentities_utf8($row->ort) . "</small>";
|
||||
if (!empty($row->telefon))
|
||||
echo "<small>" . htmlentities_utf8($row->telefon) . "</small><br />";
|
||||
echo "<br /><small>" . htmlentities_utf8($row->telefon) . "</small>";
|
||||
if (!empty($row->mobil))
|
||||
echo "<small>" . htmlentities_utf8($row->mobil) . "</small><br />";
|
||||
echo "<br /><small>" . htmlentities_utf8($row->mobil) . "</small>";
|
||||
if (!empty($row->email)) {
|
||||
$replacement = HTMLHelper::_('email.cloak', $row->email, 1, $row->email, 0);
|
||||
echo "<small>" . $replacement . "</small>";
|
||||
}
|
||||
echo "</td></tr>";
|
||||
echo "<br /><small>" . $replacement . "</small>";
|
||||
}
|
||||
}
|
||||
if (isset($spielberechtigungen[$row->spieler_id])) {
|
||||
echo "<tr><td style='text-align: center'>";
|
||||
|
||||
foreach ($spielberechtigungen[$row->spieler_id] as $spielberechtigung) {
|
||||
echo "<small>";
|
||||
echo "<br><small>";
|
||||
if (isset($veranstaltungsbezeichnungen[$spielberechtigung[0]])) {
|
||||
echo htmlentities_utf8($veranstaltungsbezeichnungen[$spielberechtigung[0]]) . ": ";
|
||||
}
|
||||
if ($spielberechtigung[2] == -1) // Ohne Spielberechtigung
|
||||
echo "Nicht spielberechtigt";
|
||||
echo "<br />Nicht spielberechtigt";
|
||||
else if (empty($spielberechtigung[3])) // Letzter Spieltag ohne Einschränkung
|
||||
echo "Ab " . htmlentities_utf8(Rundenbezeichnung($spielberechtigung[2], $spielberechtigung[1] == 0));
|
||||
echo "<br />Ab " . htmlentities_utf8(Rundenbezeichnung($spielberechtigung[2], $spielberechtigung[1] == 0));
|
||||
else if ($spielberechtigung[2] < 2) // Erster Spieltag ohne Einschränkung
|
||||
echo "Bis " . htmlentities_utf8(Rundenbezeichnung($spielberechtigung[3], $spielberechtigung[1] == 0));
|
||||
echo "<br />Bis " . htmlentities_utf8(Rundenbezeichnung($spielberechtigung[3], $spielberechtigung[1] == 0));
|
||||
else if ($spielberechtigung[2] == $spielberechtigung[3]) // Erster Spieltag und letzter Spieltag gleich
|
||||
echo "Während " . htmlentities_utf8(Rundenbezeichnung($spielberechtigung[2], $spielberechtigung[1] == 0));
|
||||
echo "<br />Während " . htmlentities_utf8(Rundenbezeichnung($spielberechtigung[2], $spielberechtigung[1] == 0));
|
||||
else
|
||||
echo htmlentities_utf8(Rundenbezeichnung($spielberechtigung[2], $spielberechtigung[1] == 0)) . " bis " . htmlentities_utf8(Rundenbezeichnung($spielberechtigung[3], $spielberechtigung[1] == 0));
|
||||
echo "</small><br />";
|
||||
echo "</small>";
|
||||
}
|
||||
echo "</td></tr>";
|
||||
}
|
||||
echo "</table></td>";
|
||||
echo "<td style='text-align: center' class=\"sectiontableentry" . (($n % 2) + 1) . $params->get('pageclass_sfx') . "\">";
|
||||
echo "</td>";
|
||||
echo "<td style='text-align: left; width: 120px;' class=\"sectiontableentry" . (($n % 2) + 1) . $params->get('pageclass_sfx') . "\">";
|
||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->mitglied_von_team_id, 90, 120, 0, 0, 'border="1"');
|
||||
if ($bild == null)
|
||||
$bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, 90, 120, 0, 0, 'border="1"', $row->geschlecht == 'M' ? 'm' : 'w');
|
||||
if ($bild != null) {
|
||||
?>
|
||||
<table style="padding: 4px">
|
||||
<tr>
|
||||
<td><?php echo $bild; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
echo $bild;
|
||||
}
|
||||
echo "</td>";
|
||||
$n++;
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
@@ -2437,7 +2414,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
?>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%">
|
||||
@@ -2448,7 +2425,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</div>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
@@ -2625,10 +2602,10 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
}
|
||||
$bilder_anzeigen = false;
|
||||
foreach ($begegnungen as $begegnung) {
|
||||
if (bildHTML("mannschaften", $begegnung->gegner_id, 28, 28)) {
|
||||
if (bildHTML("mannschaften", $begegnung->gegner_id, 40, 40)) {
|
||||
$bilder_anzeigen = true;
|
||||
break;
|
||||
} else if ($begegnung->gegner_verein_id != null && bildHTML("vereine", $begegnung->gegner_verein_id, 28, 28)) {
|
||||
} else if ($begegnung->gegner_verein_id != null && bildHTML("vereine", $begegnung->gegner_verein_id, 40, 40)) {
|
||||
$bilder_anzeigen = true;
|
||||
break;
|
||||
}
|
||||
@@ -2646,9 +2623,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
|
||||
$veranstaltung_id = -1;
|
||||
$k = 0;
|
||||
foreach ($begegnungen
|
||||
|
||||
as $row) {
|
||||
foreach ($begegnungen as $row) {
|
||||
if ($veranstaltung_id != $row->veranstaltung_id) {
|
||||
if ($veranstaltung_id != -1) {
|
||||
?>
|
||||
@@ -2659,7 +2634,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
$veranstaltung_id = $row->veranstaltung_id;
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%"><?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?><?php if (isset($veranstaltungsbezeichnungen[$veranstaltung_id])) echo " " . htmlentities_utf8($veranstaltungsbezeichnungen[$veranstaltung_id]); ?></td>
|
||||
@@ -2668,7 +2643,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</div>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table style="width: 720px; border-collapse: separate;" class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<?php
|
||||
if ($row->unterteilung == 0 || $row->unterteilung == 1) {
|
||||
@@ -2678,9 +2653,9 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
}
|
||||
?>
|
||||
<?php if ($zeitpunkt_anzeigen) { ?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
||||
<th style="text-align: left;" nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
||||
</th><?php } ?>
|
||||
<th nowrap><strong>Kontrahent</strong></th>
|
||||
<th style="text-align: left;" nowrap><strong>Kontrahent</strong></th>
|
||||
<?php if ($heimspielort_anzeigen) { ?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_LOCATION'); ?></strong></th><?php } ?>
|
||||
<?php
|
||||
@@ -2713,7 +2688,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<?php
|
||||
if ($zeitpunkt_anzeigen) {
|
||||
?>
|
||||
<td nowrap>
|
||||
<td style="padding: 5px;" nowrap>
|
||||
<?php
|
||||
if ($ergebnis_vorhanden) // Veranstaltung muss die ursprüngliche für die Anzeige der Mannschaft sein, damit der Sprung zurück aus der Begegnung funktioniert
|
||||
echo "<a href=\"" . SportsManagerURL('&task=begegnung_spielplan&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&teamid=' . $team->team_id . '&id=' . $row->begegnung_id) . "\">" . FormatiertesDatum($row->zeitpunkt) . "</a>";
|
||||
@@ -2728,7 +2703,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
}
|
||||
?>
|
||||
|
||||
<td nowrap>
|
||||
<td style="padding: 5px;" nowrap>
|
||||
<a id="id<?php echo $row->begegnung_id; ?>"></a>
|
||||
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
||||
@@ -2740,13 +2715,13 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<?php
|
||||
if ($bilder_anzeigen) {
|
||||
?>
|
||||
<td style="width: 29px">
|
||||
<td style="width: 50px">
|
||||
<?php
|
||||
$bild = bildHTML("mannschaften", $row->gegner_id, 28, 28, 0, 0, 'border="0"');
|
||||
$bild = bildHTML("mannschaften", $row->gegner_id, 40, 40, 0, 0, 'border="0"');
|
||||
if ($bild != null)
|
||||
echo $bild;
|
||||
else if ($row->gegner_verein_id != null) {
|
||||
$bild = bildHTML("vereine", $row->gegner_verein_id, 28, 28, 0, 0, 'border="0"');
|
||||
$bild = bildHTML("vereine", $row->gegner_verein_id, 40, 40, 0, 0, 'border="0"');
|
||||
if ($bild != null)
|
||||
echo $bild;
|
||||
}
|
||||
@@ -2763,7 +2738,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<?php
|
||||
if ($heimspielort_anzeigen) {
|
||||
?>
|
||||
<td nowrap>
|
||||
<td style="padding: 5px;" nowrap>
|
||||
<?php
|
||||
if (!$ist_vergangen) {
|
||||
$heimspielort_url = $row->heimspielort_url;
|
||||
@@ -2791,7 +2766,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
}
|
||||
if ($row->spielpunkte_wertung_einzel != 2 || $row->spielpunkte_wertung_doppel != 2) {
|
||||
?>
|
||||
<td nowrap style="text-align: center">
|
||||
<td style="padding: 5px;" nowrap style="text-align: center">
|
||||
<?php
|
||||
if ($ergebnis_vorhanden) {
|
||||
echo "<a href=\"" . SportsManagerURL('&task=begegnung_spielplan&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&teamid=' . $team->team_id . '&id=' . $row->begegnung_id) . "\">" . ($row->auswaerts ? ($row->gast_punkte . ":" . $row->heim_punkte) : ($row->heim_punkte . ":" . $row->gast_punkte)) . "</a>";
|
||||
@@ -2802,7 +2777,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<td nowrap style="text-align: center">
|
||||
<td style="padding: 5px;" nowrap style="text-align: center">
|
||||
<?php
|
||||
if ($ergebnis_vorhanden) {
|
||||
echo "<a href=\"" . SportsManagerURL('&task=begegnung_spielplan&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&teamid=' . $team->team_id . '&id=' . $row->begegnung_id) . "\">" . ($row->auswaerts ? ($row->gast_spielpunkte . ":" . $row->heim_spielpunkte) : ($row->heim_spielpunkte . ":" . $row->gast_spielpunkte)) . "</a>";
|
||||
@@ -2833,7 +2808,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
}
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%">
|
||||
@@ -2844,7 +2819,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</div>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong></th>
|
||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_SINGLES'); ?>">
|
||||
@@ -2929,7 +2904,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
$k = 0;
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%">
|
||||
@@ -2940,7 +2915,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</div>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_MAILING_LISTS'); ?></strong></th>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_EMAIL'); ?></strong></th>
|
||||
@@ -4217,7 +4192,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
global $params;
|
||||
|
||||
?>
|
||||
<table class="uk-table" style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||
<tr>
|
||||
<?php
|
||||
if ($vorheriger_spieler_id != 0 || $naechster_spieler_id != 0) {
|
||||
@@ -4255,7 +4230,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</table>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<div>
|
||||
@@ -4271,7 +4246,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if ($bild != null) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap><?php echo $bild ?></td>
|
||||
</tr>
|
||||
@@ -4283,7 +4258,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
?>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%"><h2><?php echo Text::_('COM_SPORTSMANAGER_INFORMATION'); ?></h2></td>
|
||||
@@ -4292,7 +4267,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
</div>
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-shrink uk-table-hover uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
class="uk-table-shrink uk-table-hover uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<?php
|
||||
$kategorie_bezeichnung = array('H' => Text::_('COM_SPORTSMANAGER_CATEGORY_MEN'), 'D' => Text::_('COM_SPORTSMANAGER_CATEGORY_WOMEN'), 'J' => Text::_('COM_SPORTSMANAGER_CATEGORY_JUNIORS'), 'S' => Text::_('COM_SPORTSMANAGER_CATEGORY_SENIORS'));
|
||||
if (isset($kategorie_bezeichnung[$spieler->kategorie])) {
|
||||
@@ -4455,7 +4430,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if (count($ranglistenplatzierungen) > 0) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%"><h2><?php echo Text::_('COM_SPORTSMANAGER_RANKING_PLACEMENT'); ?></h2>
|
||||
@@ -4467,11 +4442,11 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<div class="uk-overflow-auto">
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
class="uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_RANKING'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_MESSAGES'); ?></strong></th>
|
||||
<th style="width: 200px; text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_RANKING'); ?></strong></th>
|
||||
<th style="width: 80px; text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||
<th style="width: 120px; text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_MESSAGES'); ?></strong></th>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@@ -4485,7 +4460,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<td nowrap height="4"></td>
|
||||
</tr>
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="text-align: center">
|
||||
style="text-align: left;">
|
||||
<th nowrap><span style="font-size: 70%; "><i>
|
||||
<?php
|
||||
echo htmlentities_utf8($saisonbezeichnung);
|
||||
@@ -4514,10 +4489,10 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if (count($turnierplatzierungen) > 0) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%"><h2><?php echo Text::_('COM_SPORTSMANAGER_MESSAGES'); ?></h2>
|
||||
style="width: 100%;"><h2><?php echo Text::_('COM_SPORTSMANAGER_MESSAGES'); ?></h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -4525,15 +4500,15 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-hover uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table style="width: 100%;"
|
||||
class="uk-table-hover uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENT'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_DATE'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_LOCATION'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_DISCIPLINE'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_MESSAGES'); ?></strong></th>
|
||||
<th style="width: 400px; text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENT'); ?></strong></th>
|
||||
<th style="width: 160px; text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_DATE'); ?></strong></th>
|
||||
<th style="width: 200px; text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_LOCATION'); ?></strong></th>
|
||||
<th style="width: 160px; text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_DISCIPLINE'); ?></strong></th>
|
||||
<th style="width: 80px; text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||
<th style="width: 120px; text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_MESSAGES'); ?></strong></th>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@@ -4547,7 +4522,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<td nowrap height="4"></td>
|
||||
</tr>
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="text-align: center">
|
||||
style="text-align: left">
|
||||
<th nowrap><span style="font-size: 70%; "><i>
|
||||
<?php
|
||||
echo htmlentities_utf8($saisonbezeichnung);
|
||||
@@ -4559,9 +4534,9 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
?>
|
||||
<tr class="sectiontableentry<?php echo $k + 1;
|
||||
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<td><?php echo $platzierung->turnierbezeichnung != null ? htmlentities_utf8($platzierung->turnierbezeichnung) : ""; ?></td>
|
||||
<td><?php echo $platzierung->beginn == null ? "" : htmlentities_utf8(FormatiertesDatum($platzierung->beginn, false)); ?></td>
|
||||
<td><?php echo $platzierung->turnierort != null ? htmlentities_utf8($platzierung->turnierort) : ""; ?></td>
|
||||
<td style="padding-right: 6px;"><?php echo $platzierung->turnierbezeichnung != null ? htmlentities_utf8($platzierung->turnierbezeichnung) : ""; ?></td>
|
||||
<td style="padding-right: 6px;"><?php echo $platzierung->beginn == null ? "" : htmlentities_utf8(FormatiertesDatum($platzierung->beginn, false)); ?></td>
|
||||
<td style="padding-right: 6px;"><?php echo $platzierung->turnierort != null ? htmlentities_utf8($platzierung->turnierort) : ""; ?></td>
|
||||
<td style="text-align: left"><?php echo $platzierung->disziplin != null ? htmlentities_utf8($platzierung->disziplin) : ""; ?></td>
|
||||
<td style="text-align: center"><?php echo $platzierung->platz != null ? htmlentities_utf8($platzierung->platz) : ""; ?></td>
|
||||
<td style="text-align: center"><?php echo $platzierung->teilnehmer != null ? htmlentities_utf8($platzierung->teilnehmer) : ""; ?></td>
|
||||
@@ -4579,10 +4554,10 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
if (count($teams) > 0) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%"><h2><?php echo Text::_('COM_SPORTSMANAGER_DISCIPLINE'); ?></h2>
|
||||
style="width: 100%;"><h2><?php echo Text::_('COM_SPORTSMANAGER_DISCIPLINE'); ?></h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -4590,10 +4565,10 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-hover uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
class="uk-table-hover uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></strong></th>
|
||||
<th style="width: 300px; text-align: left;" nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
|
||||
<th style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></strong></th>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@@ -4607,7 +4582,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
<td nowrap height="4"></td>
|
||||
</tr>
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="text-align: center">
|
||||
style="text-align: left">
|
||||
<th nowrap><span style="font-size: 70%; "><i>
|
||||
<?php
|
||||
echo htmlentities_utf8($saisonbezeichnung);
|
||||
@@ -4619,7 +4594,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
?>
|
||||
<tr class="sectiontableentry<?php echo $k + 1;
|
||||
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<td nowrap><?php echo htmlentities_utf8($team->teamname); ?></td>
|
||||
<td style="padding-right: 6px;"><?php echo htmlentities_utf8($team->teamname); ?></td>
|
||||
<td><?php echo htmlentities_utf8($team->wettbewerbe); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@@ -12,7 +12,8 @@ defined('_JEXEC') or die('Restricted access');
|
||||
require_once JPATH_SITE . '/components/com_sportsmanager/views/sportsmanager/view_tools.php';
|
||||
require_once JPATH_SITE . '/components/com_sportsmanager/util/image.php';
|
||||
|
||||
function formatTimediff( $timestamp1, $timestamp2, $verbose ) {
|
||||
function formatTimediff( $timestamp1, $timestamp2, $verbose ): string
|
||||
{
|
||||
if (empty($timestamp1) || empty($timestamp2)) {
|
||||
return "";
|
||||
} else {
|
||||
@@ -27,7 +28,8 @@ function formatTimediff( $timestamp1, $timestamp2, $verbose ) {
|
||||
}
|
||||
}
|
||||
|
||||
function formatTeamName( $team_name, $team_id, $highlight_team_id ) {
|
||||
function formatTeamName( $team_name, $team_id, $highlight_team_id ): string
|
||||
{
|
||||
if ($team_id == $highlight_team_id) {
|
||||
return "<b><i>" . htmlentities_utf8($team_name) . "</i></b>";
|
||||
} else {
|
||||
@@ -37,9 +39,24 @@ function formatTeamName( $team_name, $team_id, $highlight_team_id ) {
|
||||
|
||||
class HTML_sportsmanager_admin
|
||||
{
|
||||
private static $versionData = null;
|
||||
|
||||
private static function loadVersionData(): void
|
||||
{
|
||||
if (self::$versionData === null) {
|
||||
self::$versionData = include JPATH_SITE . '/components/com_sportsmanager/util/version.php';
|
||||
}
|
||||
}
|
||||
|
||||
public static function getVersion(): string
|
||||
{
|
||||
self::loadVersionData();
|
||||
return self::$versionData['version'] ?? 'DEV';
|
||||
}
|
||||
|
||||
static function adminUebersicht($veranstaltungen, $spielerstatistiken, $turniere, $ranglisten, $individualwettbewerbe, $statistik, $saisons, $filter_saison_id, $externe_datenbank): void
|
||||
{
|
||||
function checkZeilenumbruch($Spalte_Nr, $max_Spalten)
|
||||
function checkZeilenumbruch($Spalte_Nr, $max_Spalten): int
|
||||
{
|
||||
$Spalte_Nr++;
|
||||
if ($Spalte_Nr >= $max_Spalten){
|
||||
@@ -53,7 +70,7 @@ class HTML_sportsmanager_admin
|
||||
?>
|
||||
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>" style='font-weight: bold;'>
|
||||
<a href="https://github.com/Deutscher-Tischfussballbund/" target="_blank">
|
||||
Sports Manager <?php echo SPORTS_MANAGER_VERSION; ?> </a>
|
||||
Sports Manager <?php echo self::getVersion(); ?> </a>
|
||||
</div>
|
||||
<table>
|
||||
<tr>
|
||||
@@ -2276,23 +2293,21 @@ class HTML_sportsmanager_admin
|
||||
<?php
|
||||
}
|
||||
|
||||
static function adminImportSpielerFehler($spieler): void
|
||||
static function adminImportSpielerFehler($spieler, $fehler): void
|
||||
{
|
||||
global $params;
|
||||
|
||||
$spieler_anzahl = count($spieler);
|
||||
|
||||
?>
|
||||
<div
|
||||
class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS_IMPORT2'); ?></div>
|
||||
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<?php echo Text::_('COM_SPORTSMANAGER_PLAYERS_IMPORT2'); ?>
|
||||
</div>
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
if ($spieler_anzahl > 0) {
|
||||
?>
|
||||
<?php echo Text::_('COM_SPORTSMANAGER_IMPORT_CONFLICTS_MESSAGE'); ?>
|
||||
<?php
|
||||
echo Text::_('COM_SPORTSMANAGER_IMPORT_CONFLICTS_MESSAGE');
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
@@ -2305,12 +2320,20 @@ class HTML_sportsmanager_admin
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td nowrap class="contentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
style="width: 100%"><?php echo Text::_('COM_SPORTSMANAGER_IMPORT_DUPLICATE_MESSAGE'); ?></td>
|
||||
style="width: 100%">
|
||||
<?php
|
||||
if ($fehler == "konflikt")
|
||||
echo Text::_('COM_SPORTSMANAGER_IMPORT_DUPLICATE_MESSAGE');
|
||||
if ($fehler == "Passnummer")
|
||||
echo Text::_('COM_SPORTSMANAGER_IMPORT_WRONG_FORMAT_PLAYERNUMBER');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER_NUMBER_SHORT'); ?></strong></th>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_NAME'); ?></strong></th>
|
||||
</tr>
|
||||
<?php
|
||||
@@ -2320,6 +2343,7 @@ class HTML_sportsmanager_admin
|
||||
?>
|
||||
<tr class="sectiontableentry<?php echo $k + 1;
|
||||
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<td nowrap><?php echo htmlentities_utf8($s->spielernr); ?></td>
|
||||
<td nowrap><?php echo htmlentities_utf8($s->nachname . ", " . $s->vorname); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
@@ -2342,7 +2366,6 @@ class HTML_sportsmanager_admin
|
||||
static function adminImportSpielerVorschau($import_verweigern, $spieler, $veranstalter, $session_id, $persoenliche_daten, $lizenznr_beibehalten, $spalten): void
|
||||
{
|
||||
global $params;
|
||||
|
||||
$spieler_anzahl = count($spieler);
|
||||
|
||||
?>
|
||||
@@ -7204,6 +7227,22 @@ class HTML_sportsmanager_admin
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="tr_hthr">
|
||||
<td nowrap style="width: 20%; text-align: right">
|
||||
<label for="dd_hthr"><?php echo Text::_('COM_SPORTSMANAGER_HEAD_TO_HEAD_RECORD'); ?>
|
||||
:</label>
|
||||
</td>
|
||||
<td nowrap>
|
||||
<select class="uk-select uk-form-width-medium" name="direktervergleich" id="dd_hthr" size="1">
|
||||
<?php
|
||||
$direktervergleich = array(Text::_('COM_SPORTSMANAGER_NO'), Text::_('COM_SPORTSMANAGER_YES'));
|
||||
for ($i = 0; $i <= 1; $i++) {
|
||||
echo "<option value=\"" . $i . "\"" . ($row != null ? ($row->direktervergleich == $i ? " selected" : "") : "") . ">" . htmlentities_utf8($direktervergleich[$i]) . "</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="width: 20%; text-align: right">
|
||||
<label
|
||||
@@ -7378,6 +7417,26 @@ class HTML_sportsmanager_admin
|
||||
<input type="hidden" name="task" value="admin_veranstaltung_save"/>
|
||||
<input type="hidden" name="id" value="<?php echo($row != null ? $row->veranstaltung_id : "0"); ?>"/>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
// Auswahlfeld Direkter Vergleich in Abhaengigkeit von Tabellenwertung anzeigen
|
||||
const dropdown = document.getElementById("table_evaluation");
|
||||
const zeile = document.getElementById("tr_hthr");
|
||||
const unteroption = document.getElementById("dd_hthr");
|
||||
|
||||
function pruefeAnzeige() {
|
||||
const wert = parseInt(dropdown.value);
|
||||
if (wert >= 1 && wert <= 9) {
|
||||
zeile.style.display = "";
|
||||
} else {
|
||||
zeile.style.display = "none";
|
||||
unteroption.value = "0";
|
||||
}
|
||||
}
|
||||
|
||||
dropdown.addEventListener("change", pruefeAnzeige);
|
||||
window.addEventListener("DOMContentLoaded", pruefeAnzeige);
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
@@ -404,8 +404,9 @@ COM_SPORTSMANAGER_COUNTRY_CODE="Landeskennung"
|
||||
COM_SPORTSMANAGER_IMPORT="Importieren"
|
||||
COM_SPORTSMANAGER_IMPORT_MESSAGE="Im Import sind ausschließlich Spielerdaten zum Verein %s enthalten. Soll ausschließlich der Spielerbestand des einen Vereins aktualisiert werden, muss der zugehörige Verein unten ausgewählt werden. Beinhaltet der Import den gesamten Spielerbestand einer Organisation, muss die zugehörige Organisation gewählt werden."
|
||||
COM_SPORTSMANAGER_CHECK="Prüfen"
|
||||
COM_SPORTSMANAGER_IMPORT_CONFLICTS_MESSAGE="Im Import sind Konflikte enthalten, die im Vorfeld manuell beseitigt werden müssen."
|
||||
COM_SPORTSMANAGER_IMPORT_CONFLICTS_MESSAGE="Im Import sind Fehler oder Konflikte enthalten, die im Vorfeld manuell beseitigt werden müssen."
|
||||
COM_SPORTSMANAGER_IMPORT_DUPLICATE_MESSAGE="Versuch, Spielernr. auf eine bereits für einen anderen Spieler vergebene Spielernr. zu ändern"
|
||||
COM_SPORTSMANAGER_IMPORT_WRONG_FORMAT_PLAYERNUMBER="Eine oder mehrere Spielernummer enthalten ein ungültiges Format"
|
||||
COM_SPORTSMANAGER_NAME2="Name"
|
||||
COM_SPORTSMANAGER_DATA_IMPORT_ABORT_MESSAGE="Der Import wird abgebrochen, da Konflikte bei den zu importierenden Spielerdaten bestehen. Bitte kontaktiere einen Moderator und sende dabei die Importdatei mit!"
|
||||
COM_SPORTSMANAGER_DATA_IMPORT_NO_CONFLICTS="Es bestehen keine Konflikte bei den zu importierenden Spielerdaten."
|
||||
@@ -536,6 +537,7 @@ COM_SPORTSMANAGER_FULL_RATING="Volle Wertung"
|
||||
COM_SPORTSMANAGER_NO_RATING="Keine Wertung"
|
||||
COM_SPORTSMANAGER_TEAM_COMPETITIONS="Mannschaftswettbewerbe"
|
||||
COM_SPORTSMANAGER_TABLE_SUMMARY="Tabellenwertung"
|
||||
COM_SPORTSMANAGER_HEAD_TO_HEAD_RECORD="Direkter Vergleich"
|
||||
COM_SPORTSMANAGER_POINTS_WON_LOST_DIFFERENCE="Spielpunkte gewonnen, Spielpunkte verloren, Punktedifferenz"
|
||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX="Leistungsindex (SP+ * SP+ * 100) / (SP+ + SP-), Spielpunkte gewonnen, ..."
|
||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX2="Leistungsindex (S * P+ * 10) / (P+ + P-), Spielpunkte gewonnen, ..."
|
||||
|
||||
@@ -404,8 +404,9 @@ COM_SPORTSMANAGER_COUNTRY_CODE="Country code"
|
||||
COM_SPORTSMANAGER_IMPORT="Import"
|
||||
COM_SPORTSMANAGER_IMPORT_MESSAGE="In the import there are only player information about club %s present. Shall only the members of that one club be updated, the associated club has to be selected down here. If the import contains all members of the organisation then the organisation must be selected."
|
||||
COM_SPORTSMANAGER_CHECK="Check"
|
||||
COM_SPORTSMANAGER_IMPORT_CONFLICTS_MESSAGE="There are conflicts in the import which have to be fixed manually first."
|
||||
COM_SPORTSMANAGER_IMPORT_CONFLICTS_MESSAGE="There are faults or conflicts in the import which have to be fixed manually first."
|
||||
COM_SPORTSMANAGER_IMPORT_DUPLICATE_MESSAGE="Attempt to change player number into one that is already assigned to another player."
|
||||
COM_SPORTSMANAGER_IMPORT_WRONG_FORMAT_PLAYERNUMBER="One or more player numbers contain an invalid format"
|
||||
COM_SPORTSMANAGER_NAME2="Name"
|
||||
COM_SPORTSMANAGER_DATA_IMPORT_ABORT_MESSAGE="The import has been aborted because there are conflicts in the containing player information. Please contact a moderator and attach the import!"
|
||||
COM_SPORTSMANAGER_DATA_IMPORT_NO_CONFLICTS="There are conflicts in the containing player information."
|
||||
@@ -536,6 +537,7 @@ COM_SPORTSMANAGER_FULL_RATING="Full rating"
|
||||
COM_SPORTSMANAGER_NO_RATING="No rating"
|
||||
COM_SPORTSMANAGER_TEAM_COMPETITIONS="Team competitions"
|
||||
COM_SPORTSMANAGER_TABLE_SUMMARY="Table rating"
|
||||
COM_SPORTSMANAGER_HEAD_TO_HEAD_RECORD="Head-to-head record"
|
||||
COM_SPORTSMANAGER_POINTS_WON_LOST_DIFFERENCE="Game points won, game points lost, point difference"
|
||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX="Performance index (GP+ * GP+ * 100) / (GP+ + GP-), game points won, ..."
|
||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX2="Performance index (games * P+ * 10) / (P+ + P-), game points won, ..."
|
||||
|
||||
@@ -137,6 +137,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `tisch` tinytext DEFAULT NULL,"
|
||||
. "\n `zeitpunkt` datetime DEFAULT NULL,"
|
||||
. "\n `spieltag` smallint(6) DEFAULT NULL,"
|
||||
. "\n `spiel_nr` tinyint(4) DEFAULT NULL,"
|
||||
. "\n `heim_punkte` smallint(6) DEFAULT NULL,"
|
||||
. "\n `gast_punkte` smallint(6) DEFAULT NULL,"
|
||||
. "\n `heim_spielpunkte` smallint(6) DEFAULT NULL,"
|
||||
@@ -680,6 +681,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `teamgruppe_id` int(11) DEFAULT NULL,"
|
||||
. "\n `verein_id` int(11) DEFAULT NULL,"
|
||||
. "\n `veranstaltung_id` int(11) NOT NULL DEFAULT '0',"
|
||||
. "\n `setzliste_nr` tinyint(4) DEFAULT NULL,"
|
||||
. "\n `teamname` varchar(50) NOT NULL,"
|
||||
. "\n `tischtyp` varchar(200) DEFAULT NULL,"
|
||||
. "\n `tischeigenschaften` varchar(200) DEFAULT NULL,"
|
||||
@@ -1033,6 +1035,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `modus_id` int(11) NOT NULL DEFAULT '0',"
|
||||
. "\n `verschieberegel_id` int(11) NOT NULL DEFAULT '0',"
|
||||
. "\n `tabellenwertung` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `direktervergleich` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `unterteilung` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `erster_tag` date NOT NULL DEFAULT '0000-00-00',"
|
||||
. "\n `letzter_tag` date DEFAULT NULL,"
|
||||
|
||||
Reference in New Issue
Block a user