mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-09-11 18:41:50 +00:00
Compare commits
87
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
983083d761 | ||
|
|
2a0ccfd98f | ||
|
|
668f917a25 | ||
|
|
ab6b91f2b5 | ||
|
|
7b8fbe6f45 | ||
|
|
cc07d7d53a | ||
|
|
1a111b792f | ||
|
|
fa63e1e2d6 | ||
|
|
111fdeb306 | ||
|
|
49ce079900 | ||
|
|
64588f71ac | ||
|
|
79f3abc01a | ||
|
|
e1a0637795 | ||
|
|
5d1df8579d | ||
|
|
7f1bedc41e | ||
|
|
35384a5c43 | ||
|
|
2c4b3e0908 | ||
|
|
84211e9f9e | ||
|
|
099174c0ef | ||
|
|
554ad25156 | ||
|
|
09ae1c1609 | ||
|
|
5aee02830d | ||
|
|
cb2e614604 | ||
|
|
5d126b0d28 | ||
|
|
69cf0e46ab | ||
|
|
df794966df | ||
|
|
12da0a9c00 | ||
|
|
ca827a049f | ||
|
|
70fb4d97b7 | ||
|
|
d39dc45cec | ||
|
|
c290986bac | ||
|
|
9541bc0652 | ||
|
|
50e6872214 | ||
|
|
a953ebf130 | ||
|
|
e8051bbcf6 | ||
|
|
a01efae2e9 | ||
|
|
04e4ea6cdf | ||
|
|
f787681fec | ||
|
|
541af8fb7f | ||
|
|
cc92b938be | ||
|
|
4c21d66fbe | ||
|
|
afb89dba6e | ||
|
|
c4d599834a | ||
|
|
dcea759ab2 | ||
|
|
19037d0729 | ||
|
|
bfc65d6030 | ||
|
|
2a307b0987 | ||
|
|
e8e6f7046d | ||
|
|
20ab5a44a9 | ||
|
|
a5357e4a51 | ||
|
|
68e16a3adb | ||
|
|
7d47b3ed24 | ||
|
|
cfc821f8ff | ||
|
|
582829331c | ||
|
|
d8ccd08843 | ||
|
|
57e92da771 | ||
|
|
7f85888a26 | ||
|
|
13ad52f221 | ||
|
|
a44564a40e | ||
|
|
ee4e817ad4 | ||
|
|
8a7ff6c234 | ||
|
|
8fb4ed1cdd | ||
|
|
a2243d9ccf | ||
|
|
308fbae4e5 | ||
|
|
d6d2a04ceb | ||
|
|
d7d6751b70 | ||
|
|
b112b4dc31 | ||
|
|
ac416c1822 | ||
|
|
c92774b27d | ||
|
|
b33a7e6a25 | ||
|
|
f86815dae5 | ||
|
|
43a03bbb09 | ||
|
|
f430c7d35d | ||
|
|
73c352f6cf | ||
|
|
c8c19ef8e0 | ||
|
|
cb0db3833c | ||
|
|
29e7ea7ffa | ||
|
|
426a582844 | ||
|
|
507861fd56 | ||
|
|
168ad7dab4 | ||
|
|
c8483b077e | ||
|
|
c23ed24962 | ||
|
|
f70048f90f | ||
|
|
572ccee6fd | ||
|
|
fa03965b17 | ||
|
|
0376b46470 | ||
|
|
ba50b0d6a4 |
@@ -0,0 +1,84 @@
|
|||||||
|
# Builds the codebase and publishes a rolling dev-preview release (no version bump).
|
||||||
|
# The release uses a fixed tag "dev-preview" so each run replaces the previous one.
|
||||||
|
|
||||||
|
name: Sportsmanager Dev Preview
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: 'Branch to build'
|
||||||
|
required: true
|
||||||
|
default: 'sportsmanager2-prod'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.branch }}
|
||||||
|
|
||||||
|
- 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: Delete existing dev-preview release (if any)
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
run: |
|
||||||
|
release_id=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
|
||||||
|
"https://api.github.com/repos/$REPO/releases/tags/dev-preview" \
|
||||||
|
| jq -r '.id // empty')
|
||||||
|
|
||||||
|
if [ -n "$release_id" ]; then
|
||||||
|
curl -s -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
|
||||||
|
"https://api.github.com/repos/$REPO/releases/$release_id"
|
||||||
|
echo "Deleted existing dev-preview release (ID: $release_id)"
|
||||||
|
else
|
||||||
|
echo "No existing dev-preview release found"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Delete existing dev-preview tag (if any)
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
run: |
|
||||||
|
status=$(curl -s -o /dev/null -w "%{http_code}" \
|
||||||
|
-H "Authorization: token $GITHUB_TOKEN" \
|
||||||
|
"https://api.github.com/repos/$REPO/git/refs/tags/dev-preview")
|
||||||
|
|
||||||
|
if [ "$status" = "200" ]; then
|
||||||
|
curl -s -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
|
||||||
|
"https://api.github.com/repos/$REPO/git/refs/tags/dev-preview"
|
||||||
|
echo "Deleted existing dev-preview tag"
|
||||||
|
else
|
||||||
|
echo "No existing dev-preview tag found"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Publish dev-preview release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
tag_name: dev-preview
|
||||||
|
name: "Dev Preview (${{ github.run_number }})"
|
||||||
|
body: |
|
||||||
|
Automated dev preview build from branch `${{ inputs.branch }}`.
|
||||||
|
Commit: ${{ github.sha }}
|
||||||
|
Run: ${{ github.run_number }}
|
||||||
|
|
||||||
|
> This is a temporary preview release and will be replaced on the next run.
|
||||||
|
files: package/packages/com_sportsmanager.zip
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Generated
+19
-5
@@ -52,7 +52,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.0.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.0.tgz",
|
||||||
"integrity": "sha512-iV7Gwg0DePKvdDZZWRTkj4MW+6/AbVWd4ZCg+zk8H1RVt5xBpUZS6vLQWwb3pyLg4BFTaGiQCPoJ4Ibmbne4fA==",
|
"integrity": "sha512-iV7Gwg0DePKvdDZZWRTkj4MW+6/AbVWd4ZCg+zk8H1RVt5xBpUZS6vLQWwb3pyLg4BFTaGiQCPoJ4Ibmbne4fA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"peer": true,
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/code-frame": "^7.10.4",
|
"@babel/code-frame": "^7.10.4",
|
||||||
"@babel/generator": "^7.12.0",
|
"@babel/generator": "^7.12.0",
|
||||||
@@ -2695,10 +2694,25 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001148",
|
"version": "1.0.30001810",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001148.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz",
|
||||||
"integrity": "sha512-E66qcd0KMKZHNJQt9hiLZGE3J4zuTqE1OnU53miEVtylFbwOEmeA5OsRu90noZful+XGSQOni1aT2tiqu/9yYw==",
|
"integrity": "sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==",
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/browserslist"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tidelift",
|
||||||
|
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/ai"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "CC-BY-4.0"
|
||||||
},
|
},
|
||||||
"node_modules/chalk": {
|
"node_modules/chalk": {
|
||||||
"version": "1.1.3",
|
"version": "1.1.3",
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_DESCRIPTION="Beschreibung"
|
|||||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_DESCRIPTION_DESC="Beschreibung, die unterhalb des Titels angezeigt wird (WICHTIG: Werden HTML-Tags verwendet, müssen auch Umlaute in HTML-Code angeben werden)"
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_DESCRIPTION_DESC="Beschreibung, die unterhalb des Titels angezeigt wird (WICHTIG: Werden HTML-Tags verwendet, müssen auch Umlaute in HTML-Code angeben werden)"
|
||||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES="Kategorien"
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES="Kategorien"
|
||||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="Eine optionale Auswahl von Kategorienummern durch Kommata oder Spiegelstrich getrennt"
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="Eine optionale Auswahl von Kategorienummern durch Kommata oder Spiegelstrich getrennt"
|
||||||
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_EXTRA_PARAMS="Zusätzliche Parameter"
|
||||||
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_EXTRA_PARAMS_DESC="Optionale zusätzliche Parameter für den Link in der Form Name1=Wert1&Name2=Wert2, die bei Aufruf dieses Menüpunkts wie GET-Parameter zur Verfügung stehen"
|
||||||
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_TITLE="Layout: Elo-Rangliste"
|
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_TITLE="Layout: Elo-Rangliste"
|
||||||
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_DESC="Auflistung der Spieler sortiert nach Elo-Wertung"
|
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_DESC="Auflistung der Spieler sortiert nach Elo-Wertung"
|
||||||
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_OPTION_ELO_RANKING="Elo-Rangliste"
|
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_OPTION_ELO_RANKING="Elo-Rangliste"
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_DESCRIPTION="Description"
|
|||||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_DESCRIPTION_DESC="Description that will be shows below the titel (IMPORTANT: if html tags are used, special characters must be maskeraded)"
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_DESCRIPTION_DESC="Description that will be shows below the titel (IMPORTANT: if html tags are used, special characters must be maskeraded)"
|
||||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES="Categories"
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES="Categories"
|
||||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="An optional selection of category numbers seperated by commas or bullet point"
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="An optional selection of category numbers seperated by commas or bullet point"
|
||||||
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_EXTRA_PARAMS="Additional parameters"
|
||||||
|
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_EXTRA_PARAMS_DESC="Optional additional parameters for the link in the form name1=value1&name2=value2, made available as GET parameters whenever this menu item is called"
|
||||||
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_TITLE="Layout: elo ranking"
|
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_TITLE="Layout: elo ranking"
|
||||||
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_DESC="Listing of players sorted by elo rating"
|
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_DESC="Listing of players sorted by elo rating"
|
||||||
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_OPTION_ELO_RANKING="Elo ranking"
|
COM_SPORTSMANAGER_LAYOUT_ELO_RANKING_OPTION_ELO_RANKING="Elo ranking"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -5708,6 +5708,221 @@ function updateDatabase(): void
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($datenbank_version < 120) {
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_teamspiel_modus');
|
||||||
|
if (!array_key_exists('spiele_in_spielerstatistik', $columns)){
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_teamspiel_modus`"
|
||||||
|
. "\n ADD `spiele_in_spielerstatistik` INT(4) NOT NULL DEFAULT '0' AFTER `heimtausch`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_bestenliste_punkte');
|
||||||
|
if (!array_key_exists('team_id', $columns)){
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_bestenliste_punkte`"
|
||||||
|
. "\n ADD `team_id` INT(11) NULL DEFAULT NULL AFTER `spieler_2_id`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$spielerstatistik_aktualisieren = true;
|
||||||
|
|
||||||
|
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||||
|
. "\n SET wert = '120'"
|
||||||
|
. "\n WHERE name = 'datenbank_version'";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($datenbank_version < 121) {
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_mitglied_von_halloffame');
|
||||||
|
if (!array_key_exists('teamspieler', $columns)){
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_mitglied_von_halloffame`"
|
||||||
|
. "\n ADD `teamspieler` TEXT NULL DEFAULT NULL AFTER `teamname`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!array_key_exists('nicht_ausgespielt', $columns)){
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_mitglied_von_halloffame`"
|
||||||
|
. "\n ADD `nicht_ausgespielt` TINYINT(1) NOT NULL DEFAULT '0' AFTER `jahr`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_spielort');
|
||||||
|
if (!array_key_exists('zusatzinfo', $columns)){
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_spielort`"
|
||||||
|
. "\n ADD `zusatzinfo` TEXT NULL DEFAULT NULL AFTER `ruhetage`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$zielpfad = JPATH_ROOT . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'sportsmanager' . DIRECTORY_SEPARATOR . 'spieler' . DIRECTORY_SEPARATOR . 'n.png';
|
||||||
|
if (!is_file($zielpfad)) {
|
||||||
|
$quellpfad = JPATH_SITE . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_sportsmanager' . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'spieler-n.png';
|
||||||
|
bildKopierenAngepasst($quellpfad, $zielpfad, 180, 240, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||||
|
. "\n SET wert = '121'"
|
||||||
|
. "\n WHERE name = 'datenbank_version'";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($datenbank_version < 122) {
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_teamspiel_modus');
|
||||||
|
if (!array_key_exists('satzergebnisse', $columns)) {
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_teamspiel_modus`"
|
||||||
|
. "\n ADD `satzergebnisse` TINYINT(4) NOT NULL DEFAULT '0' AFTER `punktetyp`,"
|
||||||
|
. "\n ADD `punkte_vorsprung_einzel` TINYINT(4) NOT NULL DEFAULT '1' AFTER `punkte_sieg_doppel`,"
|
||||||
|
. "\n ADD `punkte_vorsprung_doppel` TINYINT(4) NOT NULL DEFAULT '1' AFTER `punkte_vorsprung_einzel`,"
|
||||||
|
. "\n ADD `punkte_deckel_einzel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `punkte_vorsprung_doppel`,"
|
||||||
|
. "\n ADD `punkte_deckel_doppel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `punkte_deckel_einzel`,"
|
||||||
|
. "\n ADD `satz_sieg_einzel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `punkte_deckel_doppel`,"
|
||||||
|
. "\n ADD `satz_sieg_doppel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `satz_sieg_einzel`,"
|
||||||
|
. "\n ADD `satz_vorsprung_einzel` TINYINT(4) NOT NULL DEFAULT '1' AFTER `satz_sieg_doppel`,"
|
||||||
|
. "\n ADD `satz_vorsprung_doppel` TINYINT(4) NOT NULL DEFAULT '1' AFTER `satz_vorsprung_einzel`,"
|
||||||
|
. "\n ADD `satz_deckel_einzel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `satz_vorsprung_doppel`,"
|
||||||
|
. "\n ADD `satz_deckel_doppel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `satz_deckel_einzel`,"
|
||||||
|
. "\n ADD `saetze_modus_einzel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `satz_deckel_doppel`,"
|
||||||
|
. "\n ADD `saetze_modus_doppel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `saetze_modus_einzel`,"
|
||||||
|
. "\n ADD `entscheidung_sieg_einzel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `saetze_modus_doppel`,"
|
||||||
|
. "\n ADD `entscheidung_sieg_doppel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `entscheidung_sieg_einzel`,"
|
||||||
|
. "\n ADD `entscheidung_vorsprung_einzel` TINYINT(4) NOT NULL DEFAULT '1' AFTER `entscheidung_sieg_doppel`,"
|
||||||
|
. "\n ADD `entscheidung_vorsprung_doppel` TINYINT(4) NOT NULL DEFAULT '1' AFTER `entscheidung_vorsprung_einzel`,"
|
||||||
|
. "\n ADD `entscheidung_deckel_einzel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `entscheidung_vorsprung_doppel`,"
|
||||||
|
. "\n ADD `entscheidung_deckel_doppel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `entscheidung_deckel_einzel`,"
|
||||||
|
. "\n ADD `zaehlweise` TINYINT(4) NOT NULL DEFAULT '0' AFTER `entscheidung_deckel_doppel`,"
|
||||||
|
. "\n ADD `race_schritt` TINYINT(4) NOT NULL DEFAULT '0' AFTER `zaehlweise`,"
|
||||||
|
. "\n ADD `race_vorsprung` TINYINT(4) NOT NULL DEFAULT '1' AFTER `race_schritt`,"
|
||||||
|
. "\n ADD `race_deckel` TINYINT(4) NOT NULL DEFAULT '0' AFTER `race_vorsprung`,"
|
||||||
|
. "\n ADD `race_remis` TINYINT(4) NOT NULL DEFAULT '0' AFTER `race_deckel`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$query = "UPDATE #__sportsmanager_teamspiel_modus"
|
||||||
|
. "\n SET saetze_modus_einzel = CASE"
|
||||||
|
. "\n WHEN punktetyp = 0 THEN 0"
|
||||||
|
. "\n WHEN punkte_sieg_einzel = 1 THEN 1"
|
||||||
|
. "\n WHEN punkte_sieg_einzel >= 2 THEN -punkte_sieg_einzel"
|
||||||
|
. "\n WHEN punkte_sieg_einzel <= -2 THEN 2 * (-punkte_sieg_einzel - 1)"
|
||||||
|
. "\n ELSE 0 END,"
|
||||||
|
. "\n saetze_modus_doppel = CASE"
|
||||||
|
. "\n WHEN punktetyp = 0 THEN 0"
|
||||||
|
. "\n WHEN punkte_sieg_doppel = 1 THEN 1"
|
||||||
|
. "\n WHEN punkte_sieg_doppel >= 2 THEN -punkte_sieg_doppel"
|
||||||
|
. "\n WHEN punkte_sieg_doppel <= -2 THEN 2 * (-punkte_sieg_doppel - 1)"
|
||||||
|
. "\n ELSE 0 END"
|
||||||
|
. "\n WHERE saetze_modus_einzel = 0 AND saetze_modus_doppel = 0";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
|
||||||
|
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||||
|
. "\n SET wert = '122'"
|
||||||
|
. "\n WHERE name = 'datenbank_version'";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($datenbank_version < 123) {
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_teamspiel');
|
||||||
|
if (!array_key_exists('teamspiel_heim_tore', $columns)) {
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_teamspiel`"
|
||||||
|
. "\n ADD `teamspiel_heim_tore` SMALLINT(6) NULL DEFAULT NULL AFTER `ergebnis_detailliert`,"
|
||||||
|
. "\n ADD `teamspiel_gast_tore` SMALLINT(6) NULL DEFAULT NULL AFTER `teamspiel_heim_tore`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!array_key_exists('teamspiel_saetze_remis', $columns)) {
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_teamspiel`"
|
||||||
|
. "\n ADD `teamspiel_saetze_remis` SMALLINT(6) NULL DEFAULT NULL AFTER `teamspiel_gast_tore`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_begegnung');
|
||||||
|
if (!array_key_exists('heim_tore', $columns)) {
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_begegnung`"
|
||||||
|
. "\n ADD `heim_tore` SMALLINT(6) NULL DEFAULT NULL AFTER `gast_spielpunkte`,"
|
||||||
|
. "\n ADD `gast_tore` SMALLINT(6) NULL DEFAULT NULL AFTER `heim_tore`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!array_key_exists('saetze_remis', $columns)) {
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_begegnung`"
|
||||||
|
. "\n ADD `saetze_remis` SMALLINT(6) NULL DEFAULT NULL AFTER `gast_tore`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$columns = $db->getTableColumns('#__sportsmanager_team');
|
||||||
|
if (!array_key_exists('tore_gewonnen', $columns)) {
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_team`"
|
||||||
|
. "\n ADD `tore_gewonnen` SMALLINT(6) NULL DEFAULT NULL AFTER `punkte_quotient`,"
|
||||||
|
. "\n ADD `tore_verloren` SMALLINT(6) NULL DEFAULT NULL AFTER `tore_gewonnen`,"
|
||||||
|
. "\n ADD `tore_differenz` SMALLINT(6) NULL DEFAULT NULL AFTER `tore_verloren`,"
|
||||||
|
. "\n ADD `tore_quotient` FLOAT(8,2) NULL DEFAULT NULL AFTER `tore_differenz`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!array_key_exists('saetze_remis', $columns)) {
|
||||||
|
$query = "ALTER TABLE `#__sportsmanager_team`"
|
||||||
|
. "\n ADD `saetze_remis` SMALLINT(6) NULL DEFAULT NULL AFTER `tore_quotient`;";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||||
|
. "\n SET wert = '123'"
|
||||||
|
. "\n WHERE name = 'datenbank_version'";
|
||||||
|
$db->setQuery($query);
|
||||||
|
if (!$db->execute()) {
|
||||||
|
die($db->stderr(true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($termin_aktionen_email_setzen) {
|
if ($termin_aktionen_email_setzen) {
|
||||||
$query = "SELECT aktion_user_id, termin_aktion_id"
|
$query = "SELECT aktion_user_id, termin_aktion_id"
|
||||||
. "\n FROM #__sportsmanager_termin_aktion";
|
. "\n FROM #__sportsmanager_termin_aktion";
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
File diff suppressed because it is too large
Load Diff
@@ -19,11 +19,17 @@ require_once JPATH_SITE . '/components/com_sportsmanager/database/init.php';
|
|||||||
|
|
||||||
/** @noinspection PhpUnused */
|
/** @noinspection PhpUnused */
|
||||||
function mathParserVerteilung($rohpunkte, $platz, $teilnehmer, $multiplikator) {
|
function mathParserVerteilung($rohpunkte, $platz, $teilnehmer, $multiplikator) {
|
||||||
|
if ($teilnehmer <= 1){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return max(round($multiplikator * round(((($rohpunkte - 1) * (-log($platz / $teilnehmer) * (1 - ($platz / $teilnehmer)))) / (-log(1 / $teilnehmer) * (1 - (1 / $teilnehmer)))) + 1)), 1);
|
return max(round($multiplikator * round(((($rohpunkte - 1) * (-log($platz / $teilnehmer) * (1 - ($platz / $teilnehmer)))) / (-log(1 / $teilnehmer) * (1 - (1 / $teilnehmer)))) + 1)), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @noinspection PhpUnused */
|
/** @noinspection PhpUnused */
|
||||||
function mathParserVerteilungR($rohpunkte, $platz, $teilnehmer, $multiplikator) {
|
function mathParserVerteilungR($rohpunkte, $platz, $teilnehmer, $multiplikator) {
|
||||||
|
if ($teilnehmer <= 1){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return max(round(((($multiplikator * $rohpunkte - 1) * (-log($platz / $teilnehmer) * (1 - ($platz / $teilnehmer)))) / (-log(1 / $teilnehmer) * (1 - (1 / $teilnehmer)))) + 1), 1);
|
return max(round(((($multiplikator * $rohpunkte - 1) * (-log($platz / $teilnehmer) * (1 - ($platz / $teilnehmer)))) / (-log(1 / $teilnehmer) * (1 - (1 / $teilnehmer)))) + 1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -226,6 +232,217 @@ function kategorieFilter($prefix, $suffix = ""): string
|
|||||||
return " $prefix (" . implode(", ", $filter) . ") $suffix";
|
return " $prefix (" . implode(", ", $filter) . ") $suffix";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function idListeParameterFilter(string $parameterName, string $prefix, string $suffix = ""): string
|
||||||
|
{
|
||||||
|
$jInput = Factory::getContainer()->get(SiteApplication::class)->input;
|
||||||
|
$werte = $jInput->get($parameterName, '', 'STRING');
|
||||||
|
|
||||||
|
$result = [];
|
||||||
|
foreach (explode(",", $werte) as $item) {
|
||||||
|
$item = trim($item);
|
||||||
|
if ($item === '') continue;
|
||||||
|
|
||||||
|
$num = intval($item);
|
||||||
|
if ($num > 0) {
|
||||||
|
$result[$num] = true; // Duplikate vermeiden
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (empty($result)) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
$filter = array_keys($result);
|
||||||
|
sort($filter, SORT_NUMERIC);
|
||||||
|
|
||||||
|
return " $prefix (" . implode(", ", $filter) . ") $suffix";
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameIdFilter($prefix): string
|
||||||
|
{
|
||||||
|
// Keine Bereichssuche bei der Halloffame-Id, nur einzelne Werte
|
||||||
|
return idListeParameterFilter('halloffame_id', $prefix);
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameJahrFilter($prefix): string
|
||||||
|
{
|
||||||
|
$minJahr = 1900;
|
||||||
|
$maxJahr = (int) date('Y') + 5;
|
||||||
|
|
||||||
|
$jInput = Factory::getContainer()->get(SiteApplication::class)->input;
|
||||||
|
$werte = $jInput->get('jahr', '', 'STRING');
|
||||||
|
|
||||||
|
$result = [];
|
||||||
|
foreach (explode(",", $werte) as $item) {
|
||||||
|
$item = trim($item);
|
||||||
|
if ($item === '') continue;
|
||||||
|
|
||||||
|
// Prüfen, ob es ein Bereich ist
|
||||||
|
if (strpos($item, '-') !== false) {
|
||||||
|
$rangeParts = explode('-', $item);
|
||||||
|
|
||||||
|
// genau 2 Teile für einen gültigen Bereich
|
||||||
|
if (count($rangeParts) !== 2) continue;
|
||||||
|
|
||||||
|
$start = intval(trim($rangeParts[0]));
|
||||||
|
$end = intval(trim($rangeParts[1]));
|
||||||
|
|
||||||
|
if ($start <= 0 || $end <= 0) continue;
|
||||||
|
|
||||||
|
// Werte vertauschen, falls der 2. Wert kleiner als der 1. ist
|
||||||
|
if ($end < $start) {
|
||||||
|
[$start, $end] = [$end, $start];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Bereich auf 1900 .. aktuelles Jahr+5 begrenzen
|
||||||
|
$start = max($start, $minJahr);
|
||||||
|
$end = min($end, $maxJahr);
|
||||||
|
|
||||||
|
if ($start > $end) continue;
|
||||||
|
|
||||||
|
for ($i = $start; $i <= $end; $i++) {
|
||||||
|
$result[$i] = true; // Duplikate vermeiden
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$num = intval($item);
|
||||||
|
if ($num <= 0) continue;
|
||||||
|
|
||||||
|
// Einzelwert auf 1900 .. aktuelles Jahr+5 begrenzen
|
||||||
|
$num = max($minJahr, min($maxJahr, $num));
|
||||||
|
$result[$num] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (empty($result)) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
$filter = array_keys($result);
|
||||||
|
sort($filter, SORT_NUMERIC);
|
||||||
|
|
||||||
|
return " $prefix (" . implode(", ", $filter) . ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameAlleTeams($db): array
|
||||||
|
{
|
||||||
|
return loadObjectList($db, "SELECT team_id, teamname FROM #__sportsmanager_team ORDER BY team_id DESC");
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameTeamIdFuerTeamname(array $alleTeams, ?string $teamname)
|
||||||
|
{
|
||||||
|
if (empty($teamname))
|
||||||
|
return null;
|
||||||
|
foreach ($alleTeams as $team) {
|
||||||
|
if (str_starts_with($team->teamname, $teamname))
|
||||||
|
return $team->team_id;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameAlleSpielerInfo($db): array
|
||||||
|
{
|
||||||
|
// "Aktiv" = hat einen aktuellen Verein; ohne aktuellen Verein liefert spieler_details ohnehin keine Daten
|
||||||
|
$rows = loadObjectList($db, "SELECT spieler_id, geschlecht, aktueller_verein_id FROM #__sportsmanager_spieler");
|
||||||
|
$result = [];
|
||||||
|
foreach ($rows as $row) {
|
||||||
|
$result[$row->spieler_id] = (object) [
|
||||||
|
'geschlecht' => $row->geschlecht,
|
||||||
|
'aktiv' => !empty($row->aktueller_verein_id),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameSpielerAktiv(array $alleSpielerInfo, $spieler_id): bool
|
||||||
|
{
|
||||||
|
return empty($spieler_id) || !isset($alleSpielerInfo[$spieler_id]) || $alleSpielerInfo[$spieler_id]->aktiv;
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameSpielerBildId(array $alleSpielerInfo, $spieler_id)
|
||||||
|
{
|
||||||
|
return halloffameSpielerAktiv($alleSpielerInfo, $spieler_id) ? $spieler_id : '';
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameSpielerBildAlternativ(array $alleSpielerInfo, $spieler_id, string $geschaetztesGeschlecht = ''): string
|
||||||
|
{
|
||||||
|
if (!empty($spieler_id) && isset($alleSpielerInfo[$spieler_id]))
|
||||||
|
return $alleSpielerInfo[$spieler_id]->geschlecht == 'M' ? 'm' : 'w';
|
||||||
|
if ($geschaetztesGeschlecht === 'M')
|
||||||
|
return 'm';
|
||||||
|
if ($geschaetztesGeschlecht === 'W')
|
||||||
|
return 'w';
|
||||||
|
return 'n';
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameGeschlechtZaehlen(object $ziel, array $alleSpielerInfo, $spieler1_id, $spieler2_id): void
|
||||||
|
{
|
||||||
|
foreach ([$spieler1_id, $spieler2_id] as $id) {
|
||||||
|
if (empty($id) || !isset($alleSpielerInfo[$id]))
|
||||||
|
continue;
|
||||||
|
if ($alleSpielerInfo[$id]->geschlecht == 'M')
|
||||||
|
$ziel->anzahl_m++;
|
||||||
|
else
|
||||||
|
$ziel->anzahl_w++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameGeschaetztesGeschlecht($anzahl_m, $anzahl_w): string
|
||||||
|
{
|
||||||
|
if ($anzahl_m > $anzahl_w)
|
||||||
|
return 'M';
|
||||||
|
if ($anzahl_w > $anzahl_m)
|
||||||
|
return 'W';
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameAlleVereineInfo($db): array
|
||||||
|
{
|
||||||
|
$rows = loadObjectList($db, "SELECT verein_id, ausgetreten FROM #__sportsmanager_verein");
|
||||||
|
$result = [];
|
||||||
|
foreach ($rows as $row) {
|
||||||
|
$result[$row->verein_id] = (object) [
|
||||||
|
'aktiv' => empty($row->ausgetreten),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameVereinAktiv(array $alleVereineInfo, $verein_id): bool
|
||||||
|
{
|
||||||
|
return empty($verein_id) || !isset($alleVereineInfo[$verein_id]) || $alleVereineInfo[$verein_id]->aktiv;
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameNameLink(string $bild_type, $id, array $alleSpielerInfo, array $alleVereineInfo, string $nameHtml): string
|
||||||
|
{
|
||||||
|
if (empty($id))
|
||||||
|
return $nameHtml;
|
||||||
|
if ($bild_type === 'spieler' && !halloffameSpielerAktiv($alleSpielerInfo, $id))
|
||||||
|
return $nameHtml;
|
||||||
|
if ($bild_type === 'vereine' && !halloffameVereinAktiv($alleVereineInfo, $id))
|
||||||
|
return $nameHtml;
|
||||||
|
|
||||||
|
$tasks = ['spieler' => 'spieler_details', 'vereine' => 'verein_details', 'mannschaften' => 'team_details'];
|
||||||
|
if (!isset($tasks[$bild_type]))
|
||||||
|
return $nameHtml;
|
||||||
|
|
||||||
|
return '<a href="' . SportsManagerURL('&task=' . $tasks[$bild_type] . '&id=' . $id) . '">' . $nameHtml . '</a>';
|
||||||
|
}
|
||||||
|
|
||||||
|
function halloffameTitel(): string
|
||||||
|
{
|
||||||
|
global $params;
|
||||||
|
|
||||||
|
$titel = trim((string) $params->get('titel', ''));
|
||||||
|
if ($titel !== '')
|
||||||
|
return $titel;
|
||||||
|
|
||||||
|
$menu = Factory::getContainer()->get(SiteApplication::class)->getMenu()->getActive();
|
||||||
|
if ($menu !== null && trim((string) $menu->title) !== '')
|
||||||
|
return $menu->title;
|
||||||
|
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
function turnierFilter($prefix): string
|
function turnierFilter($prefix): string
|
||||||
{
|
{
|
||||||
$user_id = isExternalDatabase() ? 0 : Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id;
|
$user_id = isExternalDatabase() ? 0 : Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id;
|
||||||
@@ -411,6 +628,65 @@ function runden_detailliert_auswertung($runden): array
|
|||||||
return array($ergebnis, $heim_saetze, $unentschieden_saetze, $gast_saetze, $heim_punkte, $gast_punkte);
|
return array($ergebnis, $heim_saetze, $unentschieden_saetze, $gast_saetze, $heim_punkte, $gast_punkte);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function spielpunkteFuerSpiel($wertung, $heim_punkte, $gast_punkte, $ergebnis_detailliert = null): array
|
||||||
|
{
|
||||||
|
if ($wertung == 2)
|
||||||
|
return array($heim_punkte, $gast_punkte);
|
||||||
|
$je_satz = $wertung >= 10;
|
||||||
|
$grund = $wertung % 10;
|
||||||
|
$sieg = $grund == 0 ? 2 : ($grund == 1 ? 3 : 1);
|
||||||
|
$remis = $grund == 3 ? 0 : 1;
|
||||||
|
if ($je_satz) {
|
||||||
|
if (empty($ergebnis_detailliert))
|
||||||
|
return array($sieg * (int)$heim_punkte, $sieg * (int)$gast_punkte);
|
||||||
|
$auswertung = runden_detailliert_auswertung($ergebnis_detailliert);
|
||||||
|
return array($sieg * $auswertung[1] + $remis * $auswertung[2],
|
||||||
|
$sieg * $auswertung[3] + $remis * $auswertung[2]);
|
||||||
|
}
|
||||||
|
if ($heim_punkte > $gast_punkte)
|
||||||
|
return array($sieg, 0);
|
||||||
|
if ($heim_punkte < $gast_punkte)
|
||||||
|
return array(0, $sieg);
|
||||||
|
if ($heim_punkte == 0 && $gast_punkte == 0)
|
||||||
|
return array(0, 0);
|
||||||
|
return array($remis, $remis);
|
||||||
|
}
|
||||||
|
|
||||||
|
function toreFuerSpiel($punktetyp, $satzergebnisse, $heim_punkte, $gast_punkte, $ergebnis_detailliert): array
|
||||||
|
{
|
||||||
|
if ($punktetyp == 0)
|
||||||
|
return array((int)$heim_punkte, (int)$gast_punkte);
|
||||||
|
if (!empty($satzergebnisse) && !empty($ergebnis_detailliert)) {
|
||||||
|
$auswertung = runden_detailliert_auswertung($ergebnis_detailliert);
|
||||||
|
return array($auswertung[4], $auswertung[5]);
|
||||||
|
}
|
||||||
|
return array(null, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
function jeSatzWertung($wertung_einzel, $wertung_doppel): bool
|
||||||
|
{
|
||||||
|
return $wertung_einzel >= 10 || $wertung_doppel >= 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
function ausgetragenBedingung($je_satz, $alias): string
|
||||||
|
{
|
||||||
|
return "($alias.heim_punkte != 0 OR $alias.gast_punkte != 0"
|
||||||
|
. ($je_satz ? " OR NOT ISNULL($alias.heim_tore)" : "") . ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
function ergebnisVorhanden($je_satz, $heim_punkte, $gast_punkte, $heim_tore): bool
|
||||||
|
{
|
||||||
|
return $heim_punkte != null || $gast_punkte != null || ($je_satz && $heim_tore !== null);
|
||||||
|
}
|
||||||
|
|
||||||
|
function saetzeRemisFuerSpiel($punktetyp, $satzergebnisse, $ergebnis_detailliert): ?int
|
||||||
|
{
|
||||||
|
if ($punktetyp == 0 || empty($satzergebnisse) || empty($ergebnis_detailliert))
|
||||||
|
return null;
|
||||||
|
$auswertung = runden_detailliert_auswertung($ergebnis_detailliert);
|
||||||
|
return $auswertung[2];
|
||||||
|
}
|
||||||
|
|
||||||
// pass two file names
|
// pass two file names
|
||||||
// returns TRUE if files are the same, FALSE otherwise
|
// returns TRUE if files are the same, FALSE otherwise
|
||||||
function files_identical($fn1, $fn2): bool
|
function files_identical($fn1, $fn2): bool
|
||||||
|
|||||||
@@ -45,6 +45,11 @@
|
|||||||
default=""
|
default=""
|
||||||
label="COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES"
|
label="COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES"
|
||||||
description="COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC" />
|
description="COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC" />
|
||||||
|
<field name="zusatzparameter"
|
||||||
|
type="text"
|
||||||
|
default=""
|
||||||
|
label="COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_EXTRA_PARAMS"
|
||||||
|
description="COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_EXTRA_PARAMS_DESC" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</fields>
|
</fields>
|
||||||
</metadata>
|
</metadata>
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -34,7 +34,7 @@ class HTML_sportsmanager_ticker
|
|||||||
$zeit = date("H:i", $zeitpunkt_ts);
|
$zeit = date("H:i", $zeitpunkt_ts);
|
||||||
if ($begegnung->zwischenergebnis)
|
if ($begegnung->zwischenergebnis)
|
||||||
$status = 'livenow';
|
$status = 'livenow';
|
||||||
elseif (!empty($begegnung->heim_spielpunkte) || !empty($begegnung->gast_spielpunkte))
|
elseif (!empty($begegnung->heim_spielpunkte) || !empty($begegnung->gast_spielpunkte) || $begegnung->heim_tore !== null)
|
||||||
$status = 'finished';
|
$status = 'finished';
|
||||||
elseif ($begegnung->verlegung_eingetragen)
|
elseif ($begegnung->verlegung_eingetragen)
|
||||||
continue;
|
continue;
|
||||||
@@ -111,7 +111,7 @@ class HTML_sportsmanager_ticker
|
|||||||
continue;
|
continue;
|
||||||
if ($begegnung->zwischenergebnis)
|
if ($begegnung->zwischenergebnis)
|
||||||
$status = 'livenow';
|
$status = 'livenow';
|
||||||
elseif (!empty($begegnung->heim_spielpunkte) || !empty($begegnung->gast_spielpunkte))
|
elseif (!empty($begegnung->heim_spielpunkte) || !empty($begegnung->gast_spielpunkte) || $begegnung->heim_tore !== null)
|
||||||
$status = 'finished';
|
$status = 'finished';
|
||||||
elseif ($begegnung->verlegung_eingetragen)
|
elseif ($begegnung->verlegung_eingetragen)
|
||||||
continue;
|
continue;
|
||||||
@@ -216,7 +216,7 @@ class HTML_sportsmanager_ticker
|
|||||||
<div id="match_resultat">
|
<div id="match_resultat">
|
||||||
<div id="team_heim_logo"><?php if (!empty($heim_logo)) echo $heim_logo; ?></div>
|
<div id="team_heim_logo"><?php if (!empty($heim_logo)) echo $heim_logo; ?></div>
|
||||||
<div
|
<div
|
||||||
id="resultat_holder"><?php if (!$begegnung->zwischenergebnis && empty($begegnung->heim_spielpunkte) && empty($begegnung->gast_spielpunkte)) echo "--|--"; else echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></div>
|
id="resultat_holder"><?php if (!$begegnung->zwischenergebnis && empty($begegnung->heim_spielpunkte) && empty($begegnung->gast_spielpunkte) && $begegnung->heim_tore === null) echo "--|--"; else echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></div>
|
||||||
<div id="team_gast_logo"><?php if (!empty($gast_logo)) echo $gast_logo; ?></div>
|
<div id="team_gast_logo"><?php if (!empty($gast_logo)) echo $gast_logo; ?></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -224,7 +224,10 @@ class HTML_sportsmanager_ticker
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3" class="matchdate"><?php echo FormatiertesDatum($begegnung->zeitpunkt); ?>
|
<td colspan="3" class="matchdate"><?php echo FormatiertesDatum($begegnung->zeitpunkt); ?>
|
||||||
- <?php echo Rundenbezeichnung($begegnung->spieltag, $begegnung->unterteilung == 0); ?></td>
|
- <?php echo Rundenbezeichnung($begegnung->spieltag, $begegnung->unterteilung == 0);
|
||||||
|
if ($begegnung->heim_tore !== null
|
||||||
|
&& ($begegnung->heim_tore != $begegnung->heim_spielpunkte || $begegnung->gast_tore != $begegnung->gast_spielpunkte))
|
||||||
|
echo " - " . Text::_('COM_SPORTSMANAGER_GOALS') . " " . $begegnung->heim_tore . ":" . $begegnung->gast_tore; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -257,7 +260,12 @@ class HTML_sportsmanager_ticker
|
|||||||
<!-- <tr class="<?php echo ($n % 2 == 0) ? "even" : "odd"; ?>" title="5:2 | 3:5 | 5:4 | 5:1"><td class="num"><?php //echo $n++; ?></td> -->
|
<!-- <tr class="<?php echo ($n % 2 == 0) ? "even" : "odd"; ?>" title="5:2 | 3:5 | 5:4 | 5:1"><td class="num"><?php //echo $n++; ?></td> -->
|
||||||
<td class="heim"><?php if ($sieger == 1) echo "<b>"; ?><?php if (!empty($spiel->heim_spieler_1_id)) echo $spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname;
|
<td class="heim"><?php if ($sieger == 1) echo "<b>"; ?><?php if (!empty($spiel->heim_spieler_1_id)) echo $spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname;
|
||||||
if (!empty($spiel->heim_spieler_2_id)) echo "<br />" . $spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname; ?><?php if ($sieger == 1) echo "</b>"; ?></td>
|
if (!empty($spiel->heim_spieler_2_id)) echo "<br />" . $spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname; ?><?php if ($sieger == 1) echo "</b>"; ?></td>
|
||||||
<td class="ergeb"><?php if ($spiel->teamspiel_heim_punkte != 0 || $spiel->teamspiel_gast_punkte != 0) echo $spiel->teamspiel_heim_punkte . ":" . $spiel->teamspiel_gast_punkte; ?></td>
|
<td class="ergeb"><?php if ($spiel->teamspiel_heim_punkte != 0 || $spiel->teamspiel_gast_punkte != 0 || !empty($spiel->ergebnis_detailliert)) {
|
||||||
|
echo $spiel->teamspiel_heim_punkte . ":" . $spiel->teamspiel_gast_punkte;
|
||||||
|
if ($spiel->teamspiel_heim_tore !== null
|
||||||
|
&& ($spiel->teamspiel_heim_tore != $spiel->teamspiel_heim_punkte || $spiel->teamspiel_gast_tore != $spiel->teamspiel_gast_punkte))
|
||||||
|
echo "<br/><small>" . $spiel->teamspiel_heim_tore . ":" . $spiel->teamspiel_gast_tore . "</small>";
|
||||||
|
} ?></td>
|
||||||
<td class="gast"><?php if ($sieger == 2) echo "<b>"; ?><?php if (!empty($spiel->gast_spieler_1_id)) echo $spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname;
|
<td class="gast"><?php if ($sieger == 2) echo "<b>"; ?><?php if (!empty($spiel->gast_spieler_1_id)) echo $spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname;
|
||||||
if (!empty($spiel->gast_spieler_2_id)) echo "<br />" . $spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname; ?><?php if ($sieger == 2) echo "</b>"; ?></td>
|
if (!empty($spiel->gast_spieler_2_id)) echo "<br />" . $spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname; ?><?php if ($sieger == 2) echo "</b>"; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -157,9 +157,12 @@ COM_SPORTSMANAGER_DEFEAT="Niederlage"
|
|||||||
COM_SPORTSMANAGER_DEFEATS="Niederlagen"
|
COM_SPORTSMANAGER_DEFEATS="Niederlagen"
|
||||||
COM_SPORTSMANAGER_DEFEATS_SHORTCUT="N"
|
COM_SPORTSMANAGER_DEFEATS_SHORTCUT="N"
|
||||||
COM_SPORTSMANAGER_GOALS="Tore"
|
COM_SPORTSMANAGER_GOALS="Tore"
|
||||||
COM_SPORTSMANAGER_SETS="Sätze"
|
COM_SPORTSMANAGER_GOALS_SHORTCUT="T"
|
||||||
|
COM_SPORTSMANAGER_SETS="Sätze"
|
||||||
|
COM_SPORTSMANAGER_SETS_DRAWN="Unentschiedene Sätze: %d"
|
||||||
COM_SPORTSMANAGER_POINT="Punkt"
|
COM_SPORTSMANAGER_POINT="Punkt"
|
||||||
COM_SPORTSMANAGER_POINTS="Punkte"
|
COM_SPORTSMANAGER_POINTS="Punkte"
|
||||||
|
COM_SPORTSMANAGER_SETS_SHORTCUT="S"
|
||||||
COM_SPORTSMANAGER_POINTS_SHORTCUT="P"
|
COM_SPORTSMANAGER_POINTS_SHORTCUT="P"
|
||||||
COM_SPORTSMANAGER_ONE_POINT="1 Punkt"
|
COM_SPORTSMANAGER_ONE_POINT="1 Punkt"
|
||||||
COM_SPORTSMANAGER_NUMBER_POINTS="%d Punkte"
|
COM_SPORTSMANAGER_NUMBER_POINTS="%d Punkte"
|
||||||
@@ -170,8 +173,8 @@ COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT="SP"
|
|||||||
COM_SPORTSMANAGER_SUFFIX_ONE_TEAM=" (eine Mannschaft)"
|
COM_SPORTSMANAGER_SUFFIX_ONE_TEAM=" (eine Mannschaft)"
|
||||||
COM_SPORTSMANAGER_SUFFIX_TEAMS_TOGETHER=" (Mannschaften zusammen)"
|
COM_SPORTSMANAGER_SUFFIX_TEAMS_TOGETHER=" (Mannschaften zusammen)"
|
||||||
COM_SPORTSMANAGER_DIFFERENCE="Differenz"
|
COM_SPORTSMANAGER_DIFFERENCE="Differenz"
|
||||||
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Punktedifferenz"
|
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Differenz Spielpunkte"
|
||||||
COM_SPORTSMANAGER_POINTS_RATIO="Punkteverhältnis"
|
COM_SPORTSMANAGER_POINTS_RATIO="Verhältnis Spielpunkte"
|
||||||
COM_SPORTSMANAGER_SCHEDULE_DATE="Zeitpunkt"
|
COM_SPORTSMANAGER_SCHEDULE_DATE="Zeitpunkt"
|
||||||
COM_SPORTSMANAGER_TEAM_HOME="Heim"
|
COM_SPORTSMANAGER_TEAM_HOME="Heim"
|
||||||
COM_SPORTSMANAGER_TEAM_VISITOR="Gast"
|
COM_SPORTSMANAGER_TEAM_VISITOR="Gast"
|
||||||
@@ -296,10 +299,9 @@ COM_SPORTSMANAGER_REQUEST_MESSAGE_PLURAL="Es müssen mindestens %d Termine v
|
|||||||
COM_SPORTSMANAGER_REJECT_SHIFT="Verschiebung ablehnen"
|
COM_SPORTSMANAGER_REJECT_SHIFT="Verschiebung ablehnen"
|
||||||
COM_SPORTSMANAGER_TO="bis"
|
COM_SPORTSMANAGER_TO="bis"
|
||||||
COM_SPORTSMANAGER_PLAYER_STATISTICS="Spielerstatistiken"
|
COM_SPORTSMANAGER_PLAYER_STATISTICS="Spielerstatistiken"
|
||||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX_SHORTCUT="LI"
|
|
||||||
COM_SPORTSMANAGER_WON="gewonnen"
|
COM_SPORTSMANAGER_WON="gewonnen"
|
||||||
COM_SPORTSMANAGER_LOST="verloren"
|
COM_SPORTSMANAGER_LOST="verloren"
|
||||||
COM_SPORTSMANAGER_RATE="Quote"
|
COM_SPORTSMANAGER_RATE="Siegquote"
|
||||||
COM_SPORTSMANAGER_RATE_SHORTCUT="Q"
|
COM_SPORTSMANAGER_RATE_SHORTCUT="Q"
|
||||||
COM_SPORTSMANAGER_NO_CLUB="Kein Verein"
|
COM_SPORTSMANAGER_NO_CLUB="Kein Verein"
|
||||||
COM_SPORTSMANAGER_RATING="Wertung"
|
COM_SPORTSMANAGER_RATING="Wertung"
|
||||||
@@ -395,6 +397,8 @@ COM_SPORTSMANAGER_BEATEN="Ausgetreten"
|
|||||||
COM_SPORTSMANAGER_HIDE="Verstecken"
|
COM_SPORTSMANAGER_HIDE="Verstecken"
|
||||||
COM_SPORTSMANAGER_PASSIVE="Passiv"
|
COM_SPORTSMANAGER_PASSIVE="Passiv"
|
||||||
COM_SPORTSMANAGER_BEATEN_CLUB="Verein ausgetreten"
|
COM_SPORTSMANAGER_BEATEN_CLUB="Verein ausgetreten"
|
||||||
|
COM_SPORTSMANAGER_ACTIVE_CLUBS="Aktive Vereine"
|
||||||
|
COM_SPORTSMANAGER_INACTIVE_CLUBS="Inaktive Vereine"
|
||||||
COM_SPORTSMANAGER_SINGLE_SEED="Elo-Startwert Einzel"
|
COM_SPORTSMANAGER_SINGLE_SEED="Elo-Startwert Einzel"
|
||||||
COM_SPORTSMANAGER_DOUBLE_SEED="Elo-Startwert Doppel"
|
COM_SPORTSMANAGER_DOUBLE_SEED="Elo-Startwert Doppel"
|
||||||
COM_SPORTSMANAGER_PLAYER_EXPORT="Spieler: Exportieren"
|
COM_SPORTSMANAGER_PLAYER_EXPORT="Spieler: Exportieren"
|
||||||
@@ -488,18 +492,25 @@ COM_SPORTSMANAGER_GAME_DOUBLES2="Doppel-Spiel"
|
|||||||
COM_SPORTSMANAGER_GAME_DOUBLES_IDENTICAL="Doppel-Spiel identisch"
|
COM_SPORTSMANAGER_GAME_DOUBLES_IDENTICAL="Doppel-Spiel identisch"
|
||||||
COM_SPORTSMANAGER_GAME_DOUBLES_SEPARATELY="Doppel-Spiel separat"
|
COM_SPORTSMANAGER_GAME_DOUBLES_SEPARATELY="Doppel-Spiel separat"
|
||||||
COM_SPORTSMANAGER_ONE="Einer"
|
COM_SPORTSMANAGER_ONE="Einer"
|
||||||
COM_SPORTSMANAGER_MULTIPLE="Mehrere"
|
COM_SPORTSMANAGER_MULTIPLE="Mehrere – nur der Satzstand"
|
||||||
COM_SPORTSMANAGER_HOME_EXCHANGE="Heimtausch"
|
COM_SPORTSMANAGER_HOME_EXCHANGE="Heimtausch"
|
||||||
COM_SPORTSMANAGER_NOT_ALLOWED="Nicht zulässig"
|
COM_SPORTSMANAGER_NOT_ALLOWED="Nicht zulässig"
|
||||||
COM_SPORTSMANAGER_ALLOWED="Zulässig"
|
COM_SPORTSMANAGER_ALLOWED="Zulässig"
|
||||||
COM_SPORTSMANAGER_PLAYER_NAME="Spielername"
|
COM_SPORTSMANAGER_PLAYER_NAME="Spielername"
|
||||||
COM_SPORTSMANAGER_PLAYERS_SEARCH_SPECIAL="(Spezialsuche)"
|
COM_SPORTSMANAGER_PLAYERS_SEARCH_SPECIAL="(Spezialsuche)"
|
||||||
COM_SPORTSMANAGER_ADD_SEASON="Saison hinzufügen"
|
COM_SPORTSMANAGER_ADD_SEASON="Saison hinzufügen"
|
||||||
COM_SPORTSMANAGER_GAME_POINTS_GAME="Spielpunkte pro Spiel"
|
COM_SPORTSMANAGER_GAME_POINTS_GAME="Spielpunkte"
|
||||||
COM_SPORTSMANAGER_WIN_1_POINT="Sieg: 1 Punkt"
|
COM_SPORTSMANAGER_WIN_1_POINT="Sieg: 1 Punkt"
|
||||||
COM_SPORTSMANAGER_WIN_2_POINTS="Sieg: 2 Punkte, Unentschieden: 1 Punkt"
|
COM_SPORTSMANAGER_WIN_2_POINTS="Sieg: 2 Punkte, Unentschieden: 1 Punkt"
|
||||||
|
COM_SPORTSMANAGER_WIN_1_POINT_PER_SET="Je Satz: Sieg 1 Punkt"
|
||||||
|
COM_SPORTSMANAGER_WIN_2_POINTS_PER_SET="Je Satz: Sieg 2 Punkte, Unentschieden 1 Punkt"
|
||||||
|
COM_SPORTSMANAGER_WIN_3_POINTS_PER_SET="Je Satz: Sieg 3 Punkte, Unentschieden 1 Punkt"
|
||||||
|
COM_SPORTSMANAGER_GAME_POINTS_FOR_GAME="Für das ganze Spiel"
|
||||||
|
COM_SPORTSMANAGER_GAME_POINTS_FOR_SET="Für jeden Satz einzeln"
|
||||||
COM_SPORTSMANAGER_WIN_3_POINTS="Sieg: 3 Punkte, Unentschieden: 1 Punkt"
|
COM_SPORTSMANAGER_WIN_3_POINTS="Sieg: 3 Punkte, Unentschieden: 1 Punkt"
|
||||||
COM_SPORTSMANAGER_MEETING_CONCLUDED_AT="Begegnung abgeschlossen bei"
|
COM_SPORTSMANAGER_MEETING_CONCLUDED_AT="Begegnung abgeschlossen bei"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK="Spiele in Spielerstatistik"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK_ALL="Alle Spiele"
|
||||||
COM_SPORTSMANAGER_GENERALLY="Allgemein"
|
COM_SPORTSMANAGER_GENERALLY="Allgemein"
|
||||||
COM_SPORTSMANAGER_TYPE="Typ"
|
COM_SPORTSMANAGER_TYPE="Typ"
|
||||||
COM_SPORTSMANAGER_ELO_MIN="Elo min."
|
COM_SPORTSMANAGER_ELO_MIN="Elo min."
|
||||||
@@ -550,9 +561,22 @@ COM_SPORTSMANAGER_NO_RATING="Keine Wertung"
|
|||||||
COM_SPORTSMANAGER_TEAM_COMPETITIONS="Mannschaftswettbewerbe"
|
COM_SPORTSMANAGER_TEAM_COMPETITIONS="Mannschaftswettbewerbe"
|
||||||
COM_SPORTSMANAGER_TABLE_SUMMARY="Tabellenwertung"
|
COM_SPORTSMANAGER_TABLE_SUMMARY="Tabellenwertung"
|
||||||
COM_SPORTSMANAGER_HEAD_TO_HEAD_RECORD="Direkter Vergleich"
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_RECORD="Direkter Vergleich"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_NOT="deaktiviert"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_POINTS="bei gleicher Punktzahl"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_SETS="bei gleicher Punktzahl, Satzpunkte"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_GOALS="bei gleicher Punktzahl, Satzpunkte, Tore"
|
||||||
COM_SPORTSMANAGER_POINTS_WON_LOST_DIFFERENCE="Spielpunkte gewonnen, Spielpunkte verloren, Punktedifferenz"
|
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_INDEX0="Spielpunkte gewonnen, Spielpunkte verloren, Punktedifferenz"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX1="Leistungsindex (SP+ * SP+ * 100) / (SP+ + SP-), Spielpunkte gewonnen, ..."
|
||||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX2="Leistungsindex (S * P+ * 10) / (P+ + P-), Spielpunkte gewonnen, ..."
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX2="Leistungsindex (S * P+ * 10) / (P+ + P-), Spielpunkte gewonnen, ..."
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX3="Race Performance Index (Siege*2 + Unentschieden + Tordifferenz)"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX4="Effizienzindex (T+ / (T+ + T-))"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX5="Punkteschnitt (P+ / Anzahl Sätze)"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT1="LI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT2="LI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT3="RPI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT4="EI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT5="AVG"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS="Einzelstatistik aus allen Spielen"
|
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS="Einzelstatistik aus allen Spielen"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_SINGLES="Einzelstatistik aus Einzel-Spielen"
|
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_SINGLES="Einzelstatistik aus Einzel-Spielen"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_DOUBLES="Einzelstatistik aus Doppel-Spielen"
|
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_DOUBLES="Einzelstatistik aus Doppel-Spielen"
|
||||||
@@ -1072,6 +1096,7 @@ COM_SPORTSMANAGER_MATCH_SWAPPING_HELP="Bei Heimrechttausch gleichen Termin eintr
|
|||||||
COM_SPORTSMANAGER_NOT_VALID_TIME="Ungültige Uhrzeit"
|
COM_SPORTSMANAGER_NOT_VALID_TIME="Ungültige Uhrzeit"
|
||||||
COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING="Willst Du diesen Spielverlegung wirklich entfernen?"
|
COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING="Willst Du diesen Spielverlegung wirklich entfernen?"
|
||||||
COM_SPORTSMANAGER_REST_DAYS="Ruhetage"
|
COM_SPORTSMANAGER_REST_DAYS="Ruhetage"
|
||||||
|
COM_SPORTSMANAGER_ADDITIONAL_INFO="Zusatzinfo"
|
||||||
COM_SPORTSMANAGER_TRAINING_DAYS="Trainingstage"
|
COM_SPORTSMANAGER_TRAINING_DAYS="Trainingstage"
|
||||||
COM_SPORTSMANAGER_NOT_ACTUALIZED_DATA="Nicht aktualisierte Daten"
|
COM_SPORTSMANAGER_NOT_ACTUALIZED_DATA="Nicht aktualisierte Daten"
|
||||||
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Verbandsorgane"
|
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Verbandsorgane"
|
||||||
@@ -1092,6 +1117,10 @@ COM_SPORTSMANAGER_MATCH_TYPE="Spielform"
|
|||||||
COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME_YEAR="Willst Du wirklich dieses Hall of Fame Jahr löschen?"
|
COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME_YEAR="Willst Du wirklich dieses Hall of Fame Jahr löschen?"
|
||||||
COM_SPORTSMANAGER_YEARS="Jahre"
|
COM_SPORTSMANAGER_YEARS="Jahre"
|
||||||
COM_SPORTSMANAGER_ADD_HALL_OF_FAME_YEAR="Hall of Fame Jahr hinzufügen"
|
COM_SPORTSMANAGER_ADD_HALL_OF_FAME_YEAR="Hall of Fame Jahr hinzufügen"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_TITLE_COUNT="Anzahl"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_TITLES="Titel"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_TEAM_PLAYERS="Mannschaftsspieler"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_NOT_HELD="Nicht ausgespielt"
|
||||||
COM_SPORTSMANAGER_NO_ENTRY="kein Eintrag"
|
COM_SPORTSMANAGER_NO_ENTRY="kein Eintrag"
|
||||||
COM_SPORTSMANAGER_REALLY_SWAP_MATCH="Willst Du wirklich das Heimrecht tauschen?"
|
COM_SPORTSMANAGER_REALLY_SWAP_MATCH="Willst Du wirklich das Heimrecht tauschen?"
|
||||||
COM_SPORTSMANAGER_SWAP_MATCH="Heimrechttausch"
|
COM_SPORTSMANAGER_SWAP_MATCH="Heimrechttausch"
|
||||||
@@ -1099,3 +1128,58 @@ COM_SPORTSMANAGER_REALLY_DELETE_MATCH_REPORT="Der Spielbericht wird zusammen mit
|
|||||||
COM_SPORTSMANAGER_MATCH_REPORT_DELETED="Spielbericht gelöscht"
|
COM_SPORTSMANAGER_MATCH_REPORT_DELETED="Spielbericht gelöscht"
|
||||||
COM_SPORTSMANAGER_MATCH_REPORT_WAS_DELETED="Der Spielbericht wurde erfolgreich gelöscht!"
|
COM_SPORTSMANAGER_MATCH_REPORT_WAS_DELETED="Der Spielbericht wurde erfolgreich gelöscht!"
|
||||||
COM_SPORTSMANAGER_MATCH_REPORT_CORRECTED="Spielberichtskorrektur"
|
COM_SPORTSMANAGER_MATCH_REPORT_CORRECTED="Spielberichtskorrektur"
|
||||||
|
COM_SPORTSMANAGER_MIN_MATCHES="Mindestzahl Spiele"
|
||||||
|
COM_SPORTSMANAGER_SELECT_ALL="Alle"
|
||||||
|
COM_SPORTSMANAGER_MAIL_SEND_ERROR="Die Benachrichtigungs-E-Mail zum Ergebnis konnte nicht versendet werden."
|
||||||
|
COM_SPORTSMANAGER_TERMIN_MAIL_SEND_ERROR="Mindestens eine Benachrichtigungs-E-Mail zum Termin konnte nicht versendet werden."
|
||||||
|
COM_SPORTSMANAGER_GAME_MARGIN="Mindestvorsprung"
|
||||||
|
COM_SPORTSMANAGER_GAME_CAP="Spätestens gewonnen bei"
|
||||||
|
COM_SPORTSMANAGER_GAME_CAP_NONE="Keine Begrenzung"
|
||||||
|
COM_SPORTSMANAGER_NO_MARGIN="Keiner"
|
||||||
|
COM_SPORTSMANAGER_ONE_GOAL="1 Tor"
|
||||||
|
COM_SPORTSMANAGER_NUMBER_GOALS="%d Tore"
|
||||||
|
COM_SPORTSMANAGER_MULTIPLE_WITH_SETS="Mehrere – mit Ergebnis je Satz"
|
||||||
|
COM_SPORTSMANAGER_SET_NUMBER="Satz %d"
|
||||||
|
COM_SPORTSMANAGER_SET_COUNT="Sätze je Spiel"
|
||||||
|
COM_SPORTSMANAGER_GROUP_GENERAL="Allgemein"
|
||||||
|
COM_SPORTSMANAGER_GROUP_GAME="Spiel"
|
||||||
|
COM_SPORTSMANAGER_GROUP_SET="Satz"
|
||||||
|
COM_SPORTSMANAGER_GROUP_MATCH="Begegnung"
|
||||||
|
COM_SPORTSMANAGER_GROUP_PLAYERS="Spieler und Statistik"
|
||||||
|
COM_SPORTSMANAGER_DOUBLES_SETTINGS="Doppel-Spiele"
|
||||||
|
COM_SPORTSMANAGER_ONE_FIXED_SET="1 Satz (wird gespielt)"
|
||||||
|
COM_SPORTSMANAGER_NUMBER_FIXED_SETS="%d Sätze (alle werden gespielt)"
|
||||||
|
COM_SPORTSMANAGER_NUMBER_WINNING_SETS="%d Gewinnsätze"
|
||||||
|
COM_SPORTSMANAGER_DECIDING_SET="Entscheidungssatz"
|
||||||
|
COM_SPORTSMANAGER_DECIDING_SET_SAME="Wie die übrigen Sätze"
|
||||||
|
COM_SPORTSMANAGER_SETS_PER_GAME_HELP="Mit „Ergebnis je Satz" werden die Tore der einzelnen Sätze mit erfasst und stehen im Spielbericht; ohne bleibt nur der Satzstand."
|
||||||
|
COM_SPORTSMANAGER_SET_COUNT_HELP="Die Angaben beschreiben den Wettbewerb; sie lehnen keine Eingabe ab. Auswertungen und Apps erkennen daran, ob ein Spiel noch läuft oder schon entschieden ist."
|
||||||
|
COM_SPORTSMANAGER_MODE_GLOSSARY="Eine <strong>Begegnung</strong> ist die Partie zweier Mannschaften. Sie besteht aus mehreren <strong>Spielen</strong>: Einzel und Doppel, in der Reihenfolge der Spielfolge. Jedes Spiel bringt Spielpunkte für die Begegnung. Ein <strong>Spiel</strong> besteht aus einem Satz („Einer") oder aus mehreren. In einem <strong>Satz</strong> fallen <strong>Tore</strong>. Die Einstellungen unten sind in dieser Reihenfolge geordnet: von der Begegnung über das Spiel zum Satz."
|
||||||
|
COM_SPORTSMANAGER_RESULT_AS_GAME_POINTS="Ohne Umrechnung – Tore bzw. Sätze sind die Spielpunkte"
|
||||||
|
COM_SPORTSMANAGER_RESULT_AS_GAME_POINTS_GOALS="Ohne Umrechnung – Tore sind die Spielpunkte"
|
||||||
|
COM_SPORTSMANAGER_RESULT_AS_GAME_POINTS_SETS="Ohne Umrechnung – Sätze sind die Spielpunkte"
|
||||||
|
COM_SPORTSMANAGER_COUNTING="Zählweise"
|
||||||
|
COM_SPORTSMANAGER_COUNTING_PER_GAME="Je Spiel – jedes Spiel beginnt bei 0:0"
|
||||||
|
COM_SPORTSMANAGER_COUNTING_RACE="Race-Modus – die Tore addieren sich über alle Spiele"
|
||||||
|
COM_SPORTSMANAGER_RACE_STEP="Schritt je Spiel"
|
||||||
|
COM_SPORTSMANAGER_RACE_TARGET="Ziel"
|
||||||
|
COM_SPORTSMANAGER_RACE_TARGET_FORMULA="Anzahl der Spiele aus der Spielfolge × Schritt je Spiel"
|
||||||
|
COM_SPORTSMANAGER_RACE_TARGET_CURRENT="derzeit %1$d Spiele × %2$d = %3$d Tore"
|
||||||
|
COM_SPORTSMANAGER_RACE_MARGIN="Mindestvorsprung am Ziel"
|
||||||
|
COM_SPORTSMANAGER_RACE_CAP="Spätestens gewonnen bei"
|
||||||
|
COM_SPORTSMANAGER_RACE_DRAW="Unentschieden am Ziel"
|
||||||
|
COM_SPORTSMANAGER_RACE_DRAW_NO="Nein"
|
||||||
|
COM_SPORTSMANAGER_RACE_DRAW_YES="Ja – bei einem Tor unter dem Ziel"
|
||||||
|
COM_SPORTSMANAGER_RACE_HELP="Der Stand läuft über die ganze Begegnung durch: Spiel 1 endet beim Schritt, Spiel 2 beim doppelten Schritt, und so fort bis zum Ziel. Mindestvorsprung und Grenze gelten nur für das letzte Spiel. Der Race-Modus setzt „Spielergebnis als Spielpunkte" und einen Satz je Spiel voraus – beides wird mitgesetzt."
|
||||||
|
COM_SPORTSMANAGER_ADD_GAME="Spiel hinzufügen"
|
||||||
|
COM_SPORTSMANAGER_ADD_LINK="Verknüpfung hinzufügen"
|
||||||
|
COM_SPORTSMANAGER_REMOVE_GAME="Dieses Spiel entfernen"
|
||||||
|
COM_SPORTSMANAGER_REMOVE_LINK="Diese Verknüpfung entfernen"
|
||||||
|
COM_SPORTSMANAGER_LINK_NUMBER="Verknüpfung Nr. %d"
|
||||||
|
COM_SPORTSMANAGER_GROUP_SEQUENCE="Spielfolge"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK_FIRST_ONE="nur das erste Spiel"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK_FIRST="nur die ersten %d Spiele"
|
||||||
|
COM_SPORTSMANAGER_POINT_TYPE_CHANGED_WARNING="Für diesen Mannschaftsspielplan sind bereits Ergebnisse eingetragen. Die gespeicherten Zahlen werden NICHT umgerechnet – sie bedeuten danach etwas anderes (Tore statt Sätze bzw. umgekehrt). Trotzdem speichern?"
|
||||||
|
COM_SPORTSMANAGER_PER_SET_VALUATION_CHANGED_WARNING="Für diesen Mannschaftsspielplan sind bereits Ergebnisse eingetragen. Beim Wechsel der Wertung „je Satz" wird nichts umgerechnet: Spiele ohne gespeicherte Satzergebnisse werden mit dem vollen Siegwert je gewonnenem Satz gewertet, ihre Satz-Unentschieden gehen verloren. Und wo unter „Mehrere" in Wahrheit Tore in den Punkte-Feldern stehen (statt Sätzen), zählt ab jetzt jedes Tor wie ein gewonnener Satz doppelt. Trotzdem speichern?"
|
||||||
|
COM_SPORTSMANAGER_RACE_RUNNING="Stand"
|
||||||
|
COM_SPORTSMANAGER_TOTAL_SCORE="Gesamtstand"
|
||||||
|
|||||||
@@ -157,9 +157,12 @@ COM_SPORTSMANAGER_DEFEAT="Defeat"
|
|||||||
COM_SPORTSMANAGER_DEFEATS="Defeats"
|
COM_SPORTSMANAGER_DEFEATS="Defeats"
|
||||||
COM_SPORTSMANAGER_DEFEATS_SHORTCUT="F"
|
COM_SPORTSMANAGER_DEFEATS_SHORTCUT="F"
|
||||||
COM_SPORTSMANAGER_GOALS="Goals"
|
COM_SPORTSMANAGER_GOALS="Goals"
|
||||||
|
COM_SPORTSMANAGER_GOALS_SHORTCUT="G"
|
||||||
COM_SPORTSMANAGER_SETS="Sets"
|
COM_SPORTSMANAGER_SETS="Sets"
|
||||||
|
COM_SPORTSMANAGER_SETS_DRAWN="Drawn sets: %d"
|
||||||
COM_SPORTSMANAGER_POINT="Point"
|
COM_SPORTSMANAGER_POINT="Point"
|
||||||
COM_SPORTSMANAGER_POINTS="Points"
|
COM_SPORTSMANAGER_POINTS="Points"
|
||||||
|
COM_SPORTSMANAGER_SETS_SHORTCUT="S"
|
||||||
COM_SPORTSMANAGER_POINTS_SHORTCUT="P"
|
COM_SPORTSMANAGER_POINTS_SHORTCUT="P"
|
||||||
COM_SPORTSMANAGER_ONE_POINT="1 point"
|
COM_SPORTSMANAGER_ONE_POINT="1 point"
|
||||||
COM_SPORTSMANAGER_NUMBER_POINTS="%d points"
|
COM_SPORTSMANAGER_NUMBER_POINTS="%d points"
|
||||||
@@ -170,8 +173,8 @@ COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT="GP"
|
|||||||
COM_SPORTSMANAGER_SUFFIX_ONE_TEAM=" (one team)"
|
COM_SPORTSMANAGER_SUFFIX_ONE_TEAM=" (one team)"
|
||||||
COM_SPORTSMANAGER_SUFFIX_TEAMS_TOGETHER=" (teams together)"
|
COM_SPORTSMANAGER_SUFFIX_TEAMS_TOGETHER=" (teams together)"
|
||||||
COM_SPORTSMANAGER_DIFFERENCE="Difference"
|
COM_SPORTSMANAGER_DIFFERENCE="Difference"
|
||||||
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Difference in points"
|
COM_SPORTSMANAGER_DIFFERENCE_IN_POINTS="Difference in game points"
|
||||||
COM_SPORTSMANAGER_POINTS_RATIO="Points ratio"
|
COM_SPORTSMANAGER_POINTS_RATIO="Game points ratio"
|
||||||
COM_SPORTSMANAGER_SCHEDULE_DATE="Appointment date"
|
COM_SPORTSMANAGER_SCHEDULE_DATE="Appointment date"
|
||||||
COM_SPORTSMANAGER_TEAM_HOME="Home"
|
COM_SPORTSMANAGER_TEAM_HOME="Home"
|
||||||
COM_SPORTSMANAGER_TEAM_VISITOR="Visitor"
|
COM_SPORTSMANAGER_TEAM_VISITOR="Visitor"
|
||||||
@@ -296,10 +299,9 @@ COM_SPORTSMANAGER_REQUEST_MESSAGE_PLURAL="At least %d dates must be given comple
|
|||||||
COM_SPORTSMANAGER_REJECT_SHIFT="Reject shift"
|
COM_SPORTSMANAGER_REJECT_SHIFT="Reject shift"
|
||||||
COM_SPORTSMANAGER_TO="until"
|
COM_SPORTSMANAGER_TO="until"
|
||||||
COM_SPORTSMANAGER_PLAYER_STATISTICS="Player statistics"
|
COM_SPORTSMANAGER_PLAYER_STATISTICS="Player statistics"
|
||||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX_SHORTCUT="PI"
|
|
||||||
COM_SPORTSMANAGER_WON="won"
|
COM_SPORTSMANAGER_WON="won"
|
||||||
COM_SPORTSMANAGER_LOST="lost"
|
COM_SPORTSMANAGER_LOST="lost"
|
||||||
COM_SPORTSMANAGER_RATE="Rate"
|
COM_SPORTSMANAGER_RATE="Winning rate"
|
||||||
COM_SPORTSMANAGER_RATE_SHORTCUT="R"
|
COM_SPORTSMANAGER_RATE_SHORTCUT="R"
|
||||||
COM_SPORTSMANAGER_NO_CLUB="No club"
|
COM_SPORTSMANAGER_NO_CLUB="No club"
|
||||||
COM_SPORTSMANAGER_RATING="Rating"
|
COM_SPORTSMANAGER_RATING="Rating"
|
||||||
@@ -395,6 +397,8 @@ COM_SPORTSMANAGER_BEATEN="Excreted"
|
|||||||
COM_SPORTSMANAGER_HIDE="Hide"
|
COM_SPORTSMANAGER_HIDE="Hide"
|
||||||
COM_SPORTSMANAGER_PASSIVE="Passive"
|
COM_SPORTSMANAGER_PASSIVE="Passive"
|
||||||
COM_SPORTSMANAGER_BEATEN_CLUB="Club excreted"
|
COM_SPORTSMANAGER_BEATEN_CLUB="Club excreted"
|
||||||
|
COM_SPORTSMANAGER_ACTIVE_CLUBS="Active clubs"
|
||||||
|
COM_SPORTSMANAGER_INACTIVE_CLUBS="Inactive clubs"
|
||||||
COM_SPORTSMANAGER_SINGLE_SEED="Elo starting value singles"
|
COM_SPORTSMANAGER_SINGLE_SEED="Elo starting value singles"
|
||||||
COM_SPORTSMANAGER_DOUBLE_SEED="Elo starting value doubles"
|
COM_SPORTSMANAGER_DOUBLE_SEED="Elo starting value doubles"
|
||||||
COM_SPORTSMANAGER_PLAYER_EXPORT="Players: Export"
|
COM_SPORTSMANAGER_PLAYER_EXPORT="Players: Export"
|
||||||
@@ -488,18 +492,25 @@ COM_SPORTSMANAGER_GAME_DOUBLES2="Double games"
|
|||||||
COM_SPORTSMANAGER_GAME_DOUBLES_IDENTICAL="Doubles game identical"
|
COM_SPORTSMANAGER_GAME_DOUBLES_IDENTICAL="Doubles game identical"
|
||||||
COM_SPORTSMANAGER_GAME_DOUBLES_SEPARATELY="Doubles game seperately"
|
COM_SPORTSMANAGER_GAME_DOUBLES_SEPARATELY="Doubles game seperately"
|
||||||
COM_SPORTSMANAGER_ONE="One"
|
COM_SPORTSMANAGER_ONE="One"
|
||||||
COM_SPORTSMANAGER_MULTIPLE="Multiple"
|
COM_SPORTSMANAGER_MULTIPLE="Multiple – set score only"
|
||||||
COM_SPORTSMANAGER_HOME_EXCHANGE="Home exchange"
|
COM_SPORTSMANAGER_HOME_EXCHANGE="Home exchange"
|
||||||
COM_SPORTSMANAGER_NOT_ALLOWED="Not allowed"
|
COM_SPORTSMANAGER_NOT_ALLOWED="Not allowed"
|
||||||
COM_SPORTSMANAGER_ALLOWED="Allowed"
|
COM_SPORTSMANAGER_ALLOWED="Allowed"
|
||||||
COM_SPORTSMANAGER_PLAYER_NAME="Player name"
|
COM_SPORTSMANAGER_PLAYER_NAME="Player name"
|
||||||
COM_SPORTSMANAGER_PLAYERS_SEARCH_SPECIAL="(Special search)"
|
COM_SPORTSMANAGER_PLAYERS_SEARCH_SPECIAL="(Special search)"
|
||||||
COM_SPORTSMANAGER_ADD_SEASON="Add season"
|
COM_SPORTSMANAGER_ADD_SEASON="Add season"
|
||||||
COM_SPORTSMANAGER_GAME_POINTS_GAME="Game points per game"
|
COM_SPORTSMANAGER_GAME_POINTS_GAME="Game points"
|
||||||
COM_SPORTSMANAGER_WIN_1_POINT="Win: 1 point"
|
COM_SPORTSMANAGER_WIN_1_POINT="Win: 1 point"
|
||||||
COM_SPORTSMANAGER_WIN_2_POINTS="Win: 2 points, draw: 1 point"
|
COM_SPORTSMANAGER_WIN_2_POINTS="Win: 2 points, draw: 1 point"
|
||||||
|
COM_SPORTSMANAGER_WIN_1_POINT_PER_SET="Per set: win 1 point"
|
||||||
|
COM_SPORTSMANAGER_WIN_2_POINTS_PER_SET="Per set: win 2 points, draw 1 point"
|
||||||
|
COM_SPORTSMANAGER_WIN_3_POINTS_PER_SET="Per set: win 3 points, draw 1 point"
|
||||||
|
COM_SPORTSMANAGER_GAME_POINTS_FOR_GAME="For the whole game"
|
||||||
|
COM_SPORTSMANAGER_GAME_POINTS_FOR_SET="For each set separately"
|
||||||
COM_SPORTSMANAGER_WIN_3_POINTS="Win: 3 points, draw: 1 point"
|
COM_SPORTSMANAGER_WIN_3_POINTS="Win: 3 points, draw: 1 point"
|
||||||
COM_SPORTSMANAGER_MEETING_CONCLUDED_AT="Match won at"
|
COM_SPORTSMANAGER_MEETING_CONCLUDED_AT="Match won at"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK="Games in player statistics"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK_ALL="All games"
|
||||||
COM_SPORTSMANAGER_GENERALLY="Generally"
|
COM_SPORTSMANAGER_GENERALLY="Generally"
|
||||||
COM_SPORTSMANAGER_TYPE="Type"
|
COM_SPORTSMANAGER_TYPE="Type"
|
||||||
COM_SPORTSMANAGER_ELO_MIN="Elo min."
|
COM_SPORTSMANAGER_ELO_MIN="Elo min."
|
||||||
@@ -550,9 +561,22 @@ COM_SPORTSMANAGER_NO_RATING="No rating"
|
|||||||
COM_SPORTSMANAGER_TEAM_COMPETITIONS="Team competitions"
|
COM_SPORTSMANAGER_TEAM_COMPETITIONS="Team competitions"
|
||||||
COM_SPORTSMANAGER_TABLE_SUMMARY="Table rating"
|
COM_SPORTSMANAGER_TABLE_SUMMARY="Table rating"
|
||||||
COM_SPORTSMANAGER_HEAD_TO_HEAD_RECORD="Head-to-head record"
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_RECORD="Head-to-head record"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_NOT="Off"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_POINTS="Tie: pts"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_SETS="Tie: pts, set points"
|
||||||
|
COM_SPORTSMANAGER_HEAD_TO_HEAD_OPT_GOALS="Tie: pts, set points, goals"
|
||||||
COM_SPORTSMANAGER_POINTS_WON_LOST_DIFFERENCE="Game points won, game points lost, point difference"
|
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_INDEX0="Game points won, game points lost, point difference"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX1="Performance index (GP+ * GP+ * 100) / (GP+ + GP-), game points won, ..."
|
||||||
COM_SPORTSMANAGER_PERFORMANCE_INDEX2="Performance index (games * P+ * 10) / (P+ + P-), game points won, ..."
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX2="Performance index (games * P+ * 10) / (P+ + P-), game points won, ..."
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX3="Race Performance Index (victories*2 + draws + goal difference)"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX4="Efficency index (G+ / (G+ + G-))"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_INDEX5="Set point average (P+ / count sets)"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT1="LI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT2="LI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT3="RPI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT4="EI"
|
||||||
|
COM_SPORTSMANAGER_PERFORMANCE_SHORT5="AVG"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS="Individual statistics of all games"
|
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS="Individual statistics of all games"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_SINGLES="Individual statistics of singles games"
|
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_SINGLES="Individual statistics of singles games"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_DOUBLES="Individual statistics of doubles games"
|
COM_SPORTSMANAGER_INDIVIDUAL_STATISTICS_DOUBLES="Individual statistics of doubles games"
|
||||||
@@ -1072,6 +1096,7 @@ COM_SPORTSMANAGER_MATCH_SWAPPING_HELP="If home advantage is swapped, enter the s
|
|||||||
COM_SPORTSMANAGER_NOT_VALID_TIME="Not valid time"
|
COM_SPORTSMANAGER_NOT_VALID_TIME="Not valid time"
|
||||||
COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING="Do you really want to remove this match rescheduling?"
|
COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING="Do you really want to remove this match rescheduling?"
|
||||||
COM_SPORTSMANAGER_REST_DAYS="Rest days"
|
COM_SPORTSMANAGER_REST_DAYS="Rest days"
|
||||||
|
COM_SPORTSMANAGER_ADDITIONAL_INFO="Additional info"
|
||||||
COM_SPORTSMANAGER_TRAINING_DAYS="Training days"
|
COM_SPORTSMANAGER_TRAINING_DAYS="Training days"
|
||||||
COM_SPORTSMANAGER_NOT_ACTUALIZED_DATA="Data not updated"
|
COM_SPORTSMANAGER_NOT_ACTUALIZED_DATA="Data not updated"
|
||||||
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Association bodies"
|
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Association bodies"
|
||||||
@@ -1092,6 +1117,10 @@ COM_SPORTSMANAGER_MATCH_TYPE="Game Type"
|
|||||||
COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME_YEAR="Are you sure you want to delete this Hall of Fame year?"
|
COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME_YEAR="Are you sure you want to delete this Hall of Fame year?"
|
||||||
COM_SPORTSMANAGER_YEARS="Years"
|
COM_SPORTSMANAGER_YEARS="Years"
|
||||||
COM_SPORTSMANAGER_ADD_HALL_OF_FAME_YEAR="Add Hall of Fame Year"
|
COM_SPORTSMANAGER_ADD_HALL_OF_FAME_YEAR="Add Hall of Fame Year"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_TITLE_COUNT="Number"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_TITLES="Titles"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_TEAM_PLAYERS="Team Players"
|
||||||
|
COM_SPORTSMANAGER_HALL_OF_FAME_NOT_HELD="Not held"
|
||||||
COM_SPORTSMANAGER_NO_ENTRY="no entry"
|
COM_SPORTSMANAGER_NO_ENTRY="no entry"
|
||||||
COM_SPORTSMANAGER_REALLY_SWAP_MATCH="Do you really want to swap the home advantage?"
|
COM_SPORTSMANAGER_REALLY_SWAP_MATCH="Do you really want to swap the home advantage?"
|
||||||
COM_SPORTSMANAGER_SWAP_MATCH="Swap home advantage"
|
COM_SPORTSMANAGER_SWAP_MATCH="Swap home advantage"
|
||||||
@@ -1099,3 +1128,58 @@ COM_SPORTSMANAGER_REALLY_DELETE_MATCH_REPORT="The match report and all its histo
|
|||||||
COM_SPORTSMANAGER_MATCH_REPORT_DELETED="Match report deleted"
|
COM_SPORTSMANAGER_MATCH_REPORT_DELETED="Match report deleted"
|
||||||
COM_SPORTSMANAGER_MATCH_REPORT_WAS_DELETED="The match report has been successfully deleted!"
|
COM_SPORTSMANAGER_MATCH_REPORT_WAS_DELETED="The match report has been successfully deleted!"
|
||||||
COM_SPORTSMANAGER_MATCH_REPORT_CORRECTED="Match report corrected"
|
COM_SPORTSMANAGER_MATCH_REPORT_CORRECTED="Match report corrected"
|
||||||
|
COM_SPORTSMANAGER_MIN_MATCHES="Min count matches"
|
||||||
|
COM_SPORTSMANAGER_SELECT_ALL="All"
|
||||||
|
COM_SPORTSMANAGER_MAIL_SEND_ERROR="The notification e-mail for the result could not be sent."
|
||||||
|
COM_SPORTSMANAGER_TERMIN_MAIL_SEND_ERROR="At least one notification e-mail for the appointment could not be sent."
|
||||||
|
COM_SPORTSMANAGER_GAME_MARGIN="Minimum margin"
|
||||||
|
COM_SPORTSMANAGER_GAME_CAP="Won at the latest at"
|
||||||
|
COM_SPORTSMANAGER_GAME_CAP_NONE="No limit"
|
||||||
|
COM_SPORTSMANAGER_NO_MARGIN="None"
|
||||||
|
COM_SPORTSMANAGER_ONE_GOAL="1 goal"
|
||||||
|
COM_SPORTSMANAGER_NUMBER_GOALS="%d goals"
|
||||||
|
COM_SPORTSMANAGER_MULTIPLE_WITH_SETS="Multiple – with each set's result"
|
||||||
|
COM_SPORTSMANAGER_SET_NUMBER="Set %d"
|
||||||
|
COM_SPORTSMANAGER_SET_COUNT="Sets per game"
|
||||||
|
COM_SPORTSMANAGER_GROUP_GENERAL="General"
|
||||||
|
COM_SPORTSMANAGER_GROUP_GAME="Game"
|
||||||
|
COM_SPORTSMANAGER_GROUP_SET="Set"
|
||||||
|
COM_SPORTSMANAGER_GROUP_MATCH="Match"
|
||||||
|
COM_SPORTSMANAGER_GROUP_PLAYERS="Players and statistics"
|
||||||
|
COM_SPORTSMANAGER_DOUBLES_SETTINGS="Doubles games"
|
||||||
|
COM_SPORTSMANAGER_ONE_FIXED_SET="1 set (played out)"
|
||||||
|
COM_SPORTSMANAGER_NUMBER_FIXED_SETS="%d sets (all played out)"
|
||||||
|
COM_SPORTSMANAGER_NUMBER_WINNING_SETS="Best of %d wins"
|
||||||
|
COM_SPORTSMANAGER_DECIDING_SET="Deciding set"
|
||||||
|
COM_SPORTSMANAGER_DECIDING_SET_SAME="As the other sets"
|
||||||
|
COM_SPORTSMANAGER_SETS_PER_GAME_HELP="With “each set’s result” the goals of the individual sets are recorded too and appear in the match report; without it only the set score remains."
|
||||||
|
COM_SPORTSMANAGER_SET_COUNT_HELP="These settings describe the competition; they never reject an entry. Evaluations and apps use them to tell a game still running from one already decided."
|
||||||
|
COM_SPORTSMANAGER_MODE_GLOSSARY="A <strong>match</strong> is the fixture between two teams. It consists of several <strong>games</strong> – singles and doubles in the order of the game sequence – and each game yields game points for the match. A <strong>game</strong> consists of one set (“One”) or of several. Within a <strong>set</strong>, <strong>goals</strong> are scored. The settings below follow that order: from the match through the game down to the set."
|
||||||
|
COM_SPORTSMANAGER_RESULT_AS_GAME_POINTS="Without conversion – goals or sets are the game points"
|
||||||
|
COM_SPORTSMANAGER_RESULT_AS_GAME_POINTS_GOALS="Without conversion – goals are the game points"
|
||||||
|
COM_SPORTSMANAGER_RESULT_AS_GAME_POINTS_SETS="Without conversion – sets are the game points"
|
||||||
|
COM_SPORTSMANAGER_COUNTING="Counting"
|
||||||
|
COM_SPORTSMANAGER_COUNTING_PER_GAME="Per game – every game starts at 0:0"
|
||||||
|
COM_SPORTSMANAGER_COUNTING_RACE="Race – goals add up across all games"
|
||||||
|
COM_SPORTSMANAGER_RACE_STEP="Step per game"
|
||||||
|
COM_SPORTSMANAGER_RACE_TARGET="Target"
|
||||||
|
COM_SPORTSMANAGER_RACE_TARGET_FORMULA="Number of games in the sequence × step per game"
|
||||||
|
COM_SPORTSMANAGER_RACE_TARGET_CURRENT="currently %1$d games × %2$d = %3$d goals"
|
||||||
|
COM_SPORTSMANAGER_RACE_MARGIN="Minimum margin at the target"
|
||||||
|
COM_SPORTSMANAGER_RACE_CAP="Won at the latest at"
|
||||||
|
COM_SPORTSMANAGER_RACE_DRAW="Draw at the target"
|
||||||
|
COM_SPORTSMANAGER_RACE_DRAW_NO="No"
|
||||||
|
COM_SPORTSMANAGER_RACE_DRAW_YES="Yes – one goal below the target"
|
||||||
|
COM_SPORTSMANAGER_RACE_HELP="The score runs through the whole match: game 1 ends at the step, game 2 at twice the step, and so on up to the target. Minimum margin and limit apply to the last game only. Race requires “game result as game points” and one set per game – both are set along with it."
|
||||||
|
COM_SPORTSMANAGER_ADD_GAME="Add a game"
|
||||||
|
COM_SPORTSMANAGER_ADD_LINK="Add a link"
|
||||||
|
COM_SPORTSMANAGER_REMOVE_GAME="Remove this game"
|
||||||
|
COM_SPORTSMANAGER_REMOVE_LINK="Remove this link"
|
||||||
|
COM_SPORTSMANAGER_LINK_NUMBER="Link no. %d"
|
||||||
|
COM_SPORTSMANAGER_GROUP_SEQUENCE="Game sequence"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK_FIRST_ONE="the first game only"
|
||||||
|
COM_SPORTSMANAGER_GAMES_IN_STATISTIK_FIRST="the first %d games only"
|
||||||
|
COM_SPORTSMANAGER_POINT_TYPE_CHANGED_WARNING="Results have already been entered for this team schedule. The stored numbers are NOT converted – afterwards they mean something else (goals instead of sets, or the other way round). Save anyway?"
|
||||||
|
COM_SPORTSMANAGER_PER_SET_VALUATION_CHANGED_WARNING="Results have already been entered for this team schedule. Switching the per-set valuation converts nothing: games without stored set results are valued at the full win value per set won, and their drawn sets are lost. And where a 'multiple sets' schedule in fact holds goals in its points fields (instead of sets), every goal will from now on count double, like a set won. Save anyway?"
|
||||||
|
COM_SPORTSMANAGER_RACE_RUNNING="Score"
|
||||||
|
COM_SPORTSMANAGER_TOTAL_SCORE="Total score"
|
||||||
|
|||||||
@@ -94,6 +94,12 @@ return new class () implements InstallerScriptInterface
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!bildKopierenAngepasst(JPATH_ROOT.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_sportsmanager'.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.'spieler-n.png', JPATH_ROOT.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.'sportsmanager'.DIRECTORY_SEPARATOR.'spieler'.DIRECTORY_SEPARATOR.'n.png', 180, 240, 1)) {
|
||||||
|
Log::add('Image /components/com_sportsmanager/images/spieler-n.png could not be copied to /images/sportsmanager/spieler/n.png', Log::ERROR);
|
||||||
|
echo '<p>Fehler: Bild spieler-n.png konnte nicht nach /images/sportsmanager/spieler/n.png verschoben werden</p>';
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
$adapter->getParent()->setRedirectURL('index.php?option=com_sportsmanager');
|
$adapter->getParent()->setRedirectURL('index.php?option=com_sportsmanager');
|
||||||
return true;
|
return true;
|
||||||
@@ -143,6 +149,9 @@ return new class () implements InstallerScriptInterface
|
|||||||
. "\n `gast_punkte` smallint(6) DEFAULT NULL,"
|
. "\n `gast_punkte` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `heim_spielpunkte` smallint(6) DEFAULT NULL,"
|
. "\n `heim_spielpunkte` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `gast_spielpunkte` smallint(6) DEFAULT NULL,"
|
. "\n `gast_spielpunkte` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `heim_tore` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `gast_tore` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `saetze_remis` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `nichtraucherschutz` tinyint(4) DEFAULT '0',"
|
. "\n `nichtraucherschutz` tinyint(4) DEFAULT '0',"
|
||||||
. "\n PRIMARY KEY (`begegnung_id`),"
|
. "\n PRIMARY KEY (`begegnung_id`),"
|
||||||
. "\n KEY `heim_team_id` (`heim_team_id`),"
|
. "\n KEY `heim_team_id` (`heim_team_id`),"
|
||||||
@@ -526,6 +535,7 @@ return new class () implements InstallerScriptInterface
|
|||||||
. "\n `bestenliste_id` int(11) NOT NULL DEFAULT '0',"
|
. "\n `bestenliste_id` int(11) NOT NULL DEFAULT '0',"
|
||||||
. "\n `spieler_id` int(11) NOT NULL DEFAULT '0',"
|
. "\n `spieler_id` int(11) NOT NULL DEFAULT '0',"
|
||||||
. "\n `spieler_2_id` int(11) DEFAULT NULL,"
|
. "\n `spieler_2_id` int(11) DEFAULT NULL,"
|
||||||
|
. "\n `team_id` INT(11) DEFAULT NULL,"
|
||||||
. "\n `siege` smallint(6) DEFAULT NULL,"
|
. "\n `siege` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `unentschieden` smallint(6) DEFAULT NULL,"
|
. "\n `unentschieden` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `niederlagen` smallint(6) DEFAULT NULL,"
|
. "\n `niederlagen` smallint(6) DEFAULT NULL,"
|
||||||
@@ -673,6 +683,7 @@ return new class () implements InstallerScriptInterface
|
|||||||
. "\n `telefon` varchar(64) DEFAULT NULL,"
|
. "\n `telefon` varchar(64) DEFAULT NULL,"
|
||||||
. "\n `email` varchar(64) DEFAULT NULL,"
|
. "\n `email` varchar(64) DEFAULT NULL,"
|
||||||
. "\n `ruhetage` varchar(64) DEFAULT NULL,"
|
. "\n `ruhetage` varchar(64) DEFAULT NULL,"
|
||||||
|
. "\n `zusatzinfo` text DEFAULT NULL,"
|
||||||
. "\n `beschreibung` varchar(500) DEFAULT NULL,"
|
. "\n `beschreibung` varchar(500) DEFAULT NULL,"
|
||||||
. "\n `status` tinyint(1) NOT NULL DEFAULT '0',"
|
. "\n `status` tinyint(1) NOT NULL DEFAULT '0',"
|
||||||
. "\n PRIMARY KEY (`spielort_id`)"
|
. "\n PRIMARY KEY (`spielort_id`)"
|
||||||
@@ -711,6 +722,11 @@ return new class () implements InstallerScriptInterface
|
|||||||
. "\n `punkte_verloren` smallint(6) DEFAULT NULL,"
|
. "\n `punkte_verloren` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `punkte_differenz` smallint(6) DEFAULT NULL,"
|
. "\n `punkte_differenz` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `punkte_quotient` float(8,2) DEFAULT NULL,"
|
. "\n `punkte_quotient` float(8,2) DEFAULT NULL,"
|
||||||
|
. "\n `tore_gewonnen` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `tore_verloren` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `tore_differenz` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `tore_quotient` float(8,2) DEFAULT NULL,"
|
||||||
|
. "\n `saetze_remis` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `buchholz1` smallint(6) DEFAULT NULL,"
|
. "\n `buchholz1` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `buchholz2` smallint(6) DEFAULT NULL,"
|
. "\n `buchholz2` smallint(6) DEFAULT NULL,"
|
||||||
. "\n PRIMARY KEY (`team_id`),"
|
. "\n PRIMARY KEY (`team_id`),"
|
||||||
@@ -768,6 +784,9 @@ return new class () implements InstallerScriptInterface
|
|||||||
. "\n `teamspiel_heim_spielpunkte` smallint(6) DEFAULT NULL,"
|
. "\n `teamspiel_heim_spielpunkte` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `teamspiel_gast_spielpunkte` smallint(6) DEFAULT NULL,"
|
. "\n `teamspiel_gast_spielpunkte` smallint(6) DEFAULT NULL,"
|
||||||
. "\n `ergebnis_detailliert` tinytext DEFAULT NULL,"
|
. "\n `ergebnis_detailliert` tinytext DEFAULT NULL,"
|
||||||
|
. "\n `teamspiel_heim_tore` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `teamspiel_gast_tore` smallint(6) DEFAULT NULL,"
|
||||||
|
. "\n `teamspiel_saetze_remis` smallint(6) DEFAULT NULL,"
|
||||||
. "\n PRIMARY KEY (`teamspiel_id`),"
|
. "\n PRIMARY KEY (`teamspiel_id`),"
|
||||||
. "\n KEY `begegnung_id` (`begegnung_id`),"
|
. "\n KEY `begegnung_id` (`begegnung_id`),"
|
||||||
. "\n KEY `heim_spieler_1_id` (`heim_spieler_1_id`),"
|
. "\n KEY `heim_spieler_1_id` (`heim_spieler_1_id`),"
|
||||||
@@ -782,13 +801,38 @@ return new class () implements InstallerScriptInterface
|
|||||||
. "\n `teamspiel_modus_id` int(11) NOT NULL AUTO_INCREMENT,"
|
. "\n `teamspiel_modus_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||||
. "\n `bezeichnung` varchar(50) NOT NULL DEFAULT '',"
|
. "\n `bezeichnung` varchar(50) NOT NULL DEFAULT '',"
|
||||||
. "\n `punktetyp` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `punktetyp` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `satzergebnisse` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `punkte_sieg_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `punkte_sieg_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `punkte_sieg_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `punkte_sieg_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `punkte_vorsprung_einzel` tinyint(4) NOT NULL DEFAULT '1',"
|
||||||
|
. "\n `punkte_vorsprung_doppel` tinyint(4) NOT NULL DEFAULT '1',"
|
||||||
|
. "\n `punkte_deckel_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `punkte_deckel_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `satz_sieg_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `satz_sieg_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `satz_vorsprung_einzel` tinyint(4) NOT NULL DEFAULT '1',"
|
||||||
|
. "\n `satz_vorsprung_doppel` tinyint(4) NOT NULL DEFAULT '1',"
|
||||||
|
. "\n `satz_deckel_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `satz_deckel_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `saetze_modus_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `saetze_modus_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `entscheidung_sieg_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `entscheidung_sieg_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `entscheidung_vorsprung_einzel` tinyint(4) NOT NULL DEFAULT '1',"
|
||||||
|
. "\n `entscheidung_vorsprung_doppel` tinyint(4) NOT NULL DEFAULT '1',"
|
||||||
|
. "\n `entscheidung_deckel_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `entscheidung_deckel_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `zaehlweise` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `race_schritt` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `race_vorsprung` tinyint(4) NOT NULL DEFAULT '1',"
|
||||||
|
. "\n `race_deckel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `race_remis` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `spielpunkte_wertung_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `spielpunkte_wertung_einzel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `spielpunkte_wertung_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `spielpunkte_wertung_doppel` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `spielpunkte_bedingung` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `spielpunkte_bedingung` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `spielernamen` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `spielernamen` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `heimtausch` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `heimtausch` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
|
. "\n `spiele_in_spielerstatistik` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n `modus` varchar(200) NOT NULL DEFAULT '',"
|
. "\n `modus` varchar(200) NOT NULL DEFAULT '',"
|
||||||
. "\n `status` tinyint(4) NOT NULL DEFAULT '0',"
|
. "\n `status` tinyint(4) NOT NULL DEFAULT '0',"
|
||||||
. "\n PRIMARY KEY (`teamspiel_modus_id`)"
|
. "\n PRIMARY KEY (`teamspiel_modus_id`)"
|
||||||
@@ -1249,9 +1293,11 @@ return new class () implements InstallerScriptInterface
|
|||||||
. "\n `mitglied_halloffame_id` int(11) NOT NULL AUTO_INCREMENT,"
|
. "\n `mitglied_halloffame_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||||
. "\n `halloffame_id` int(11) NOT NULL,"
|
. "\n `halloffame_id` int(11) NOT NULL,"
|
||||||
. "\n `jahr` int(4) DEFAULT NULL,"
|
. "\n `jahr` int(4) DEFAULT NULL,"
|
||||||
|
. "\n `nicht_ausgespielt` tinyint(1) NOT NULL DEFAULT '0',"
|
||||||
. "\n `platz` int(11) DEFAULT NULL,"
|
. "\n `platz` int(11) DEFAULT NULL,"
|
||||||
. "\n `verein_id` int(11) DEFAULT NULL,"
|
. "\n `verein_id` int(11) DEFAULT NULL,"
|
||||||
. "\n `teamname` varchar(64) DEFAULT NULL,"
|
. "\n `teamname` varchar(64) DEFAULT NULL,"
|
||||||
|
. "\n `teamspieler` text DEFAULT NULL,"
|
||||||
. "\n `spieler1_id` int(11) DEFAULT NULL,"
|
. "\n `spieler1_id` int(11) DEFAULT NULL,"
|
||||||
. "\n `spieler1` varchar(64) DEFAULT NULL,"
|
. "\n `spieler1` varchar(64) DEFAULT NULL,"
|
||||||
. "\n `spieler2_id` int(11) DEFAULT NULL,"
|
. "\n `spieler2_id` int(11) DEFAULT NULL,"
|
||||||
@@ -1272,7 +1318,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 = '119';";
|
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '123';";
|
||||||
$db->setQuery( $query );
|
$db->setQuery( $query );
|
||||||
if (!$db->execute()) { die($db->stderr(true)); }
|
if (!$db->execute()) { die($db->stderr(true)); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user