mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Compare commits
208 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b22eb886d | |||
| ae05c42209 | |||
| 3bc1324b4b | |||
| 23ceb2e272 | |||
| 5b26295ebf | |||
| 9d3cd6b959 | |||
| 6b7c5e7a3b | |||
| ab6f776b96 | |||
| 8fed3c217f | |||
| 633ec1f1cb | |||
| 41e229340d | |||
| 379427d4c4 | |||
| a2808b7db0 | |||
| c3cec6c93c | |||
| 9913279519 | |||
| 0c78ed8b63 | |||
| 4a448cb61d | |||
| 825ff04a89 | |||
| 8b7ca05fc1 | |||
| 76f0ef5f55 | |||
| f76f1185f5 | |||
| 7253426b51 | |||
| 4686f5d8db | |||
| db80f584cd | |||
| 275693ecb3 | |||
| fb3c088835 | |||
| ddca0066bf | |||
| bc56e30682 | |||
| 2fe9acb01c | |||
| de3705ca65 | |||
| 947a150b06 | |||
| c8199abee1 | |||
| 6c1a6aa0de | |||
| 626b9c503a | |||
| 964ab1ca8b | |||
| 783cffaf2b | |||
| 12cb9a0e67 | |||
| 49c8037dbf | |||
| e7dbfa6402 | |||
| b21e11be59 | |||
| f119316561 | |||
| 06070a1d47 | |||
| 5bf3fa3501 | |||
| a2cdc68578 | |||
| b34aa63872 | |||
| ddb7e3a1bd | |||
| e3fb99000c | |||
| 9cd84108e4 | |||
| 3b721e3c82 | |||
| fec866fa5d | |||
| d17280edb1 | |||
| 287dcb0074 | |||
| 2e596dfcaa | |||
| 6c96125da4 | |||
| 01c7e5bb63 | |||
| 0116fd0860 | |||
| ec61daa5c7 | |||
| e692edcb99 | |||
| c1196c9fd9 | |||
| 4cc403536e | |||
| 1032af51f5 | |||
| 33d748303d | |||
| 331d4cfd85 | |||
| 6b1aa25c1b | |||
| 6b9f81f1c7 | |||
| e498981bc4 | |||
| 54d73a61e0 | |||
| bd491add2e | |||
| 30c8ba9bfa | |||
| 555f1de1b5 | |||
| a823e029d0 | |||
| 5627282a53 | |||
| d73d081780 | |||
| e3bd06257d | |||
| 2a87c93c17 | |||
| 5fafcace6b | |||
| 12fd3a3ff0 | |||
| 885d6a3191 | |||
| c50833ebe4 | |||
| 8242bd09cc | |||
| 3886cc88d3 | |||
| 96eff9f189 | |||
| 1c2a0abcc2 | |||
| 24f4195403 | |||
| c1b7cb1e8c | |||
| 878cacd8cd | |||
| 5f830602ef | |||
| eef105895b | |||
| c0bdbb4bde | |||
| d05f3c5d7f | |||
| 0c334d897d | |||
| 79efed156b | |||
| 7984ea73aa | |||
| 7d07aee916 | |||
| 43acc01861 | |||
| fa374986ca | |||
| aa68992d45 | |||
| 0d4381fc7f | |||
| 9b4eb13d52 | |||
| cfe4f871f7 | |||
| bbe786a075 | |||
| 64ce39a59f | |||
| d0258d967d | |||
| bf99d459fb | |||
| bc91be9382 | |||
| 5c09a35485 | |||
| f14d5a1e8c | |||
| 26fd06afef | |||
| 1f147081e1 | |||
| 4f89abc630 | |||
| d84c2eefcf | |||
| ba73036b02 | |||
| 29a108d88c | |||
| 11e42c2374 | |||
| 56776c01f0 | |||
| 6187456e31 | |||
| 49e3bde816 | |||
| 15347b3ab7 | |||
| 3363ec1a77 | |||
| 751c1919d4 | |||
| 9babcec39e | |||
| e8c4ab2d1d | |||
| 53ff7ab566 | |||
| ac8bafaa9e | |||
| 4f6edb0acb | |||
| 822708356b | |||
| 7c302d4ded | |||
| 1e63f2b542 | |||
| 1d9aa13300 | |||
| ea85f102a5 | |||
| ebfd6ee4e9 | |||
| a503325ca4 | |||
| 218dc138fb | |||
| eed53841cf | |||
| dbc79096d4 | |||
| 3e93e27f72 | |||
| 8c022f831a | |||
| 2ab429f949 | |||
| 6e53017158 | |||
| 8764b0a337 | |||
| 07611a0087 | |||
| bc57da1eff | |||
| 1c380928f0 | |||
| 1ddcfd87db | |||
| cb1493954f | |||
| 9637f2a92a | |||
| a977343544 | |||
| 1f5593d3e8 | |||
| fff5f97971 | |||
| 546b9c3af9 | |||
| 4ad93a8cf6 | |||
| 1b5e070026 | |||
| 114eba3a9c | |||
| 9fb592ccbc | |||
| f76ab18d4b | |||
| 02e27d7747 | |||
| 5375950049 | |||
| 050b246fef | |||
| 55b8cc52c7 | |||
| aad70e5ab2 | |||
| 37a98edbad | |||
| 228f68f90c | |||
| 4f9df2ce89 | |||
| 1a364a4e30 | |||
| f3bf69c9ca | |||
| cc81b97569 | |||
| aaa5aaac1d | |||
| f9f9e58881 | |||
| 671dfb7e8d | |||
| 3ae15e2e70 | |||
| ee0c19efe3 | |||
| 87c9ec82fd | |||
| 71d8460cd6 | |||
| d97713e73d | |||
| b16638ed47 | |||
| b511badad2 | |||
| 42ff1155f3 | |||
| 17a9bfdd2e | |||
| 3aa20036dc | |||
| fc1ce3bdd6 | |||
| cf52c718e8 | |||
| 8b29c8eba6 | |||
| e9460ef8cc | |||
| 3ac38abb92 | |||
| 19ff8ebd08 | |||
| 3ab2ae9206 | |||
| 4820f82253 | |||
| 0a06321a72 | |||
| 60232d95b3 | |||
| f27b87a0d8 | |||
| bc6c44e82a | |||
| 01ac642de5 | |||
| 825a072ace | |||
| 1aa9b924d7 | |||
| 4a96d9f0a9 | |||
| 7a59020e64 | |||
| 3f816235c8 | |||
| 4f264ed72d | |||
| a6f302cb63 | |||
| 22c50e688a | |||
| fbd7e05abb | |||
| a36edeedca | |||
| ea9fd038f3 | |||
| e55d925034 | |||
| 48d0bca1c6 | |||
| 56679669c0 | |||
| 1e8a7a3ae0 | |||
| 269af499c8 |
@@ -28,6 +28,9 @@ jobs:
|
||||
- name: Get version from git tag
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Set DATE
|
||||
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
|
||||
- name: Update version.php
|
||||
run: |
|
||||
echo "<?php" > src/structure/components/com_sportsmanager/util/version.php
|
||||
@@ -36,6 +39,10 @@ jobs:
|
||||
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
|
||||
echo "Updating version to $VERSION in sportsmanager.xml"
|
||||
sed -i "s#<version>.*</version>#<version>$VERSION</version>#" src/structure/sportsmanager.xml
|
||||
echo "Updating Date to $DATE in sportsmanager.xml"
|
||||
sed -i "s#<creationDate>.*</creationDate>#<creationDate>$DATE</creationDate>#" src/structure/sportsmanager.xml
|
||||
|
||||
- name: Generate release notes
|
||||
id: release_notes_extension
|
||||
@@ -91,3 +98,24 @@ jobs:
|
||||
else
|
||||
echo "No draft releases found"
|
||||
fi
|
||||
|
||||
- name: Send notification to Teams
|
||||
run: |
|
||||
curl -H 'Content-Type: application/json' \
|
||||
-d "{
|
||||
\"@type\": \"MessageCard\",
|
||||
\"@context\": \"http://schema.org/extensions\",
|
||||
\"summary\": \"New Release\",
|
||||
\"themeColor\": \"0076D7\",
|
||||
\"title\": \"🚀 New Release: ${{ github.ref_name }}\",
|
||||
\"sections\": [{
|
||||
\"activityTitle\": \"Repository: ${{ github.repository }}\",
|
||||
\"text\": \"${{ steps.release_notes_github.outputs.body }}\"
|
||||
}],
|
||||
\"potentialAction\": [{
|
||||
\"@type\": \"OpenUri\",
|
||||
\"name\": \"View Release\",
|
||||
\"targets\": [{ \"os\": \"default\", \"uri\": \"https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}\" }]
|
||||
}]
|
||||
}" \
|
||||
${{ secrets.TEAMS_WEBHOOK_URL }}
|
||||
|
||||
@@ -83,3 +83,25 @@ JConfig: `./data/joomla_data/configuration.php`
|
||||
7. Click on "Start Listening for PHP Debug Connections" in the top row of intellij
|
||||
8. (Not sure if optional) Install a browser extension by Jetbrains
|
||||
https://chromewebstore.google.com/detail/xdebug-helper-by-jetbrain/aoelhdemabeimdhedkidlnbkfhnhgnhm
|
||||
|
||||
|
||||
### How to release
|
||||
Hint: for technical details regarding the release process have a look into .github/...
|
||||
To create a release these steps need to be followed
|
||||
1. make sure all needed code changes are merged from dev -> stage -> prod, since releases may only be build on prod branch
|
||||
2. give pull requests meaningful names and label them enhancement/bug/chore since labels and names are used for release note generation
|
||||
Hint: if a specific pull request should be ignored, add the label changelog-ignore
|
||||
3. tag a commit (recommended is the latest merge on prod). The pipeline is listening for any tag fitting `v[0-9]+.[0-9]+.[0-9]+`
|
||||
```shell
|
||||
git tag -a v1.2.3 1a2b3c4 -m "Release version 1.2.3"
|
||||
```
|
||||
4. push the tag
|
||||
```shell
|
||||
git push origin --tags
|
||||
```
|
||||
5. the tag push will trigger the pipeline, and it will create the release and store in GitHub
|
||||
|
||||
A release can be created again anytime by deleting the release from GitHub, deleting the tag (from GitHub and additionally from git)
|
||||
and repeating step 3 and 4
|
||||
|
||||
Further: merges from dev to stage and from stage to prod can only be done by creating pull requests. These pull requests will be automatically labeled as changelog-ignore
|
||||
|
||||
Generated
+4616
-2992
File diff suppressed because it is too large
Load Diff
@@ -122,7 +122,6 @@
|
||||
"browser-sync": "^2.26.12",
|
||||
"core-js": "^3.6.5",
|
||||
"cross-env": "^7.0.2",
|
||||
"fs": "0.0.1-security",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-changed": "^4.0.2",
|
||||
"gulp-clean": "^0.4.0",
|
||||
|
||||
@@ -21,12 +21,13 @@ COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_TEAMS_JOINT="Mannschaften in gem
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CLUBS="Vereine"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_VENUES="Spielorte"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_APPOINTMENTS="Termine"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_MATCH_RESCHEDULING="Spielverlegungen"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_TITLE="Titel"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_TITLE_DESC="Titel, der im Fenster oben angezeigt wird"
|
||||
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_CATEGORIES="Kategorien"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="Eine optionale Auswahl an durch Kommata getrennte Kategorienummern"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="Eine optionale Auswahl von Kategorienummern durch Kommata oder Spiegelstrich getrennt"
|
||||
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_OPTION_ELO_RANKING="Elo-Rangliste"
|
||||
|
||||
@@ -21,12 +21,13 @@ COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_TEAMS_JOINT="Teams in joint list
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CLUBS="Clubs"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_VENUES="Venues"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_APPOINTMENTS="Appointments"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_MATCH_RESCHEDULING="Match reschedulings"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_TITLE="Title"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_TITLE_DESC="Title which will be shows on top"
|
||||
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_CATEGORIES="Categories"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="An optional selection of category numbers seperated by commas"
|
||||
COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CATEGORIES_DESC="An optional selection of category numbers seperated by commas or bullet point"
|
||||
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_OPTION_ELO_RANKING="Elo ranking"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5217,7 +5217,7 @@ function updateDatabase(): void
|
||||
}
|
||||
|
||||
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()) {
|
||||
@@ -5245,6 +5245,329 @@ function updateDatabase(): void
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 105) {
|
||||
|
||||
$query = "ALTER TABLE `#__sportsmanager_begegnung` ADD `spieltag_titel` VARCHAR(32) NOT NULL DEFAULT '' AFTER `spieltag`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "ALTER TABLE `#__sportsmanager_veranstaltung` ADD `spieltag_titel_zeigen` INT(4) NOT NULL DEFAULT '0' AFTER `unterteilung`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "ALTER TABLE `#__sportsmanager_team` ADD `teamname_kurz` VARCHAR(24) NOT NULL DEFAULT '' AFTER `teamname`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '105'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 106) {
|
||||
|
||||
$query = "ALTER TABLE `#__sportsmanager_verein` ADD `verstecken` INT(4) NOT NULL DEFAULT '0' AFTER `ausgetreten`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '106'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 107) {
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'anzahl_mitglieder_zeigen', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'verband_anzeigen', wert = '1';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'turnierbaum_zeigen', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'spalte_mitglieder_zeigen', wert = '1';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '107'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 108) {
|
||||
|
||||
$query = "DELETE t1 FROM #__sportsmanager_unbestaetigtes_ergebnis t1"
|
||||
. "\n INNER JOIN #__sportsmanager_unbestaetigtes_ergebnis t2"
|
||||
. "\n ON t1.begegnung_id = t2.begegnung_id"
|
||||
. "\n AND t1.unbestaetigtes_ergebnis_id < t2.unbestaetigtes_ergebnis_id;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = " ALTER TABLE `#__sportsmanager_unbestaetigtes_ergebnis`"
|
||||
. "\n DROP INDEX `begegnung_id`, ADD UNIQUE `begegnung_id` (`begegnung_id`) USING BTREE;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '108'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 109) {
|
||||
$query = "ALTER TABLE #__sportsmanager_turnier ADD COLUMN `reminder_count` TINYINT DEFAULT '0'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
// set all existing tournaments to 3 to prevent email flooding
|
||||
$query = "UPDATE #__sportsmanager_turnier SET `reminder_count` = '3'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
// 3: prevent email flood for past tournaments
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'enable_email_reminders', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '109'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 110) {
|
||||
|
||||
$aktueller_verein_aktualisieren = true;
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '110'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 111) {
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'verbands_kuerzel', wert = 'tbe.';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '111'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 112) {
|
||||
|
||||
// Korrektur Startuhrzeit in sportsmanager_turnierdisziplin bei eintägigen Veranstaltungen
|
||||
$query = "UPDATE #__sportsmanager_turnierdisziplin td"
|
||||
. "\n JOIN #__sportsmanager_turnier t ON td.turnier_id = t.turnier_id"
|
||||
. "\n SET td.beginn = CONCAT(t.erster_tag, ' ', TIME(td.beginn))"
|
||||
. "\n WHERE t.erster_tag = t.letzter_tag;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '112'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 113) {
|
||||
|
||||
// Korrektur Startuhrzeit in sportsmanager_turnierdisziplin bei eintägigen Veranstaltungen
|
||||
$query = "UPDATE #__sportsmanager_turnierdisziplin td"
|
||||
. "\n JOIN #__sportsmanager_turnier t ON td.turnier_id = t.turnier_id"
|
||||
. "\n SET td.beginn = CONCAT(t.erster_tag, ' ', TIME(td.beginn))"
|
||||
. "\n WHERE t.erster_tag = t.letzter_tag;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '113'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 114) {
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_regelwerke` ("
|
||||
. "\n `regelwerke_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `regelwerk` varchar(32) NOT NULL,"
|
||||
. "\n PRIMARY KEY (`regelwerke_id`),"
|
||||
. "\n UNIQUE KEY `regelwerk` (`regelwerk`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_verstoesse` ("
|
||||
. "\n `verstoesse_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `regelwerke_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `paragraph_spo` varchar(32) NOT NULL DEFAULT '',"
|
||||
. "\n `paragraph_go` varchar(32) NOT NULL DEFAULT '',"
|
||||
. "\n `verstoss` varchar(64) NOT NULL DEFAULT '',"
|
||||
. "\n `haupttext` text NOT NULL,"
|
||||
. "\n `zusatztext` text NOT NULL,"
|
||||
. "\n `gebuehr` smallint(3) NOT NULL DEFAULT 0,"
|
||||
. "\n `zusatzgebuehr` smallint(2) NOT NULL DEFAULT 0,"
|
||||
. "\n `zur_auswahl` tinyint(1) NOT NULL DEFAULT 1,"
|
||||
. "\n PRIMARY KEY (`verstoesse_id`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_ordnungsstrafen` ("
|
||||
. "\n `ordnungsstrafen_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `verstoesse_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `begegnung_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `team_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `aussteller_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `ausstelldatum` datetime NOT NULL DEFAULT current_timestamp(),"
|
||||
. "\n `versender_id` int(11) DEFAULT NULL,"
|
||||
. "\n `versendedatum` datetime DEFAULT NULL,"
|
||||
. "\n `rechnungssteller_id` int(11) DEFAULT NULL,"
|
||||
. "\n `rechnungsdatum` datetime DEFAULT NULL,"
|
||||
. "\n `multiplikator` tinyint(1) NOT NULL DEFAULT 1,"
|
||||
. "\n `weitere_angaben` text NOT NULL,"
|
||||
. "\n PRIMARY KEY (`ordnungsstrafen_id`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_email_vorlagen` ("
|
||||
. "\n `email_vorlagen_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `vorlage` varchar(64) NOT NULL,"
|
||||
. "\n `betreff` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `von` varchar(64) NOT NULL DEFAULT '',"
|
||||
. "\n `an` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `cc` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `bcc` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `email_text` text NOT NULL,"
|
||||
. "\n PRIMARY KEY (`email_vorlagen_id`),"
|
||||
. "\n UNIQUE KEY `vorlage` (`vorlage`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'ordnungsstrafen_verwenden', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE INTO `#__sportsmanager_email_vorlagen` (`email_vorlagen_id`, `vorlage`) VALUES (NULL, 'Ordnungsstrafe');";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "ALTER TABLE `#__sportsmanager_veranstaltung` ADD COLUMN IF NOT EXISTS `regelwerke_id` INT(11) NOT NULL DEFAULT '0' AFTER `bezeichnung`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '114'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 115) {
|
||||
|
||||
// Erweiterung Tabelle #__sportsmanager_verschieberegel
|
||||
$query = "ALTER TABLE `#__sportsmanager_verschieberegel`"
|
||||
."\n ADD COLUMN IF NOT EXISTS `begruendung_erforderlich` INT(1) NOT NULL DEFAULT 0 AFTER `ablehnen`,"
|
||||
."\n ADD COLUMN IF NOT EXISTS `vereine_berechtigt` INT(1) NOT NULL DEFAULT 1 AFTER `begruendung_erforderlich`,"
|
||||
."\n ADD COLUMN IF NOT EXISTS `verband_berechtigt` INT(1) NOT NULL DEFAULT 0 AFTER `vereine_berechtigt`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "INSERT IGNORE INTO `#__sportsmanager_email_vorlagen` (`email_vorlagen_id`, `vorlage`) VALUES (NULL, 'Spielverlegung');";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '115'"
|
||||
. "\n WHERE name = 'datenbank_version'";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
}
|
||||
|
||||
if ($datenbank_version < 116) {
|
||||
|
||||
$query = "ALTER TABLE `#__sportsmanager_spielort`"
|
||||
. "\n ADD IF NOT EXISTS `telefon` VARCHAR(64) NULL DEFAULT NULL AFTER `url`,"
|
||||
. "\n ADD IF NOT EXISTS `email` VARCHAR(64) NULL DEFAULT NULL AFTER `telefon`,"
|
||||
. "\n ADD IF NOT EXISTS `ruhetage` VARCHAR(64) NULL DEFAULT NULL AFTER `email`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "ALTER TABLE `#__sportsmanager_team`"
|
||||
. "\n ADD IF NOT EXISTS `trainingstage` VARCHAR(64) NULL DEFAULT NULL AFTER `heimspielort_id`;";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) {
|
||||
die($db->stderr(true));
|
||||
}
|
||||
|
||||
$query = "UPDATE #__sportsmanager_einstellungen"
|
||||
. "\n SET wert = '116'"
|
||||
. "\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";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -185,23 +185,51 @@ function individualwettbewerbFilter($prefix): string
|
||||
function kategorieFilter($prefix, $suffix = ""): string
|
||||
{
|
||||
global $params;
|
||||
|
||||
$kategorien = explode(",", $params->get('kategorien'));
|
||||
$filter = "";
|
||||
foreach ($kategorien as $s) {
|
||||
$kategorie = intval(trim($s));
|
||||
if ($kategorie == 0)
|
||||
continue;
|
||||
if (!empty($filter))
|
||||
$filter .= ", ";
|
||||
$filter .= $kategorie;
|
||||
$result = [];
|
||||
|
||||
foreach ($kategorien 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 || $start > $end) continue;
|
||||
|
||||
for ($i = $start; $i <= $end; $i++) {
|
||||
$result[$i] = true; // Duplikate vermeiden
|
||||
}
|
||||
} else {
|
||||
$num = intval($item);
|
||||
if ($num > 0) {
|
||||
$result[$num] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return empty($filter) ? "" : (" " . $prefix . " (" . $filter . ") " . $suffix);
|
||||
|
||||
if (empty($result)) {
|
||||
return "";
|
||||
}
|
||||
|
||||
$filter = array_keys($result);
|
||||
sort($filter, SORT_NUMERIC);
|
||||
|
||||
return " $prefix (" . implode(", ", $filter) . ") $suffix";
|
||||
}
|
||||
|
||||
function turnierFilter($prefix): string
|
||||
{
|
||||
$user_id = isExternalDatabase() ? 0 : Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id;
|
||||
return " " . $prefix . " (SELECT berechtigt_turnier_id FROM #__sportsmanager_berechtigt_fuer_turnier WHERE berechtigt_user_id = $user_id AND DATEDIFF(letzter_tag, NOW()) >= -14) ";
|
||||
return " " . $prefix . " (SELECT berechtigt_turnier_id FROM #__sportsmanager_berechtigt_fuer_turnier WHERE berechtigt_user_id = $user_id AND DATEDIFF(letzter_tag, NOW()) >= -21) ";
|
||||
}
|
||||
|
||||
function vereinFilter($prefix): string
|
||||
@@ -219,7 +247,7 @@ function veranstalterFilter($prefix): string
|
||||
function veranstaltungFilter($prefix): string
|
||||
{
|
||||
$user_id = isExternalDatabase() ? 0 : Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id;
|
||||
return " " . $prefix . " (SELECT berechtigt_veranstaltung_id FROM #__sportsmanager_berechtigt_fuer_veranstaltung INNER JOIN #__sportsmanager_veranstaltung ON veranstaltung_id = berechtigt_veranstaltung_id WHERE berechtigt_user_id = $user_id AND DATEDIFF(letzter_tag, NOW()) >= -14) ";
|
||||
return " " . $prefix . " (SELECT berechtigt_veranstaltung_id FROM #__sportsmanager_berechtigt_fuer_veranstaltung INNER JOIN #__sportsmanager_veranstaltung ON veranstaltung_id = berechtigt_veranstaltung_id WHERE berechtigt_user_id = $user_id AND DATEDIFF(letzter_tag, NOW()) >= -21) ";
|
||||
}
|
||||
|
||||
// Berechnet Datum zum Montag der ersten Kalenderwoche eines Jahres
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Log\Log;
|
||||
use Joomla\CMS\Mail\MailerFactoryInterface;
|
||||
use Joomla\CMS\Application\SiteApplication;
|
||||
|
||||
/**
|
||||
* @since 2.2
|
||||
* @throws Exception
|
||||
*/
|
||||
function sentEmailReminders(): void
|
||||
{
|
||||
$app = Factory::getContainer()->get(SiteApplication::class);
|
||||
$db = getDatabase();
|
||||
|
||||
$query = $db->getQuery(true)
|
||||
->select('wert')
|
||||
->from('#__sportsmanager_einstellungen')
|
||||
->where('name = ' . $db->quote('enable_email_reminders'));
|
||||
$row = loadResult($db, $query);
|
||||
|
||||
if (!$row) {
|
||||
return; // quit when email reminders are disabled
|
||||
}
|
||||
|
||||
$query = $db->getQuery(true)
|
||||
->select('tournament.turnier_id, tournament.turnierbezeichnung, tournament.letzter_tag, tournament.reminder_count, GROUP_CONCAT(user.email SEPARATOR ", ") as emails')
|
||||
->from($db->quoteName('#__sportsmanager_turnier', 'tournament'))
|
||||
->join('INNER', $db->quoteName('#__sportsmanager_berechtigt_fuer_turnier', 'entitled') . ' ON tournament.turnier_id = entitled.berechtigt_turnier_id')
|
||||
->join('INNER', $db->quoteName('#__users', 'user') . ' ON entitled.berechtigt_user_id = user.id')
|
||||
->where('tournament.reminder_count < 3')
|
||||
->group('tournament.turnier_id, tournament.turnierbezeichnung');
|
||||
$rows = loadObjectList($db, $query);
|
||||
|
||||
if(!empty($rows)) {
|
||||
$mailFrom = $app->getCfg('mailfrom');
|
||||
$fromName = $app->getCfg('fromname');
|
||||
|
||||
$mailer = Factory::getContainer()->get(MailerFactoryInterface::class)->createMailer();
|
||||
$mailer->setSender($mailFrom, $fromName);
|
||||
foreach ($rows as $row) {
|
||||
$currentReminder = $row->reminder_count + 1;
|
||||
|
||||
if (hasResultsAlready($db, $row)) {
|
||||
updateDBReminders($db, $row, 3); // do not sent any more reminders
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!isset($row->emails) || $row->emails == "" || $row->emails == NULL) {
|
||||
Log::add('can\'t sent ' . $currentReminder .'. email reminder for tournament ' . $row->turnierbezeichnung . ': no recipient set', Log::WARNING, 'com_sportsmanager');
|
||||
continue;
|
||||
}
|
||||
|
||||
$now = new DateTime();
|
||||
$last_day = new DateTime($row->letzter_tag);
|
||||
$last_day->modify('+1 day'); // start to count at the end of the day, not at the beginning
|
||||
$diff = $now->getTimestamp() - $last_day->getTimestamp();
|
||||
|
||||
$reminderDelays = [
|
||||
1 => 24*60*60, // 24h
|
||||
2 => 3*24*60*60, // 3d
|
||||
3 => 13*24*60*60 // 13d
|
||||
];
|
||||
|
||||
foreach ($reminderDelays as $count => $delay) {
|
||||
if ($diff >= $delay && $row->reminder_count < $count) {
|
||||
$subject = ($row->reminder_count == 2 ? "Letzte " : "") . "Erinnerung: " . $row->turnierbezeichnung . " Ergebnisse einreichen!";
|
||||
$body = "Hi,"
|
||||
. "\n\nDies ist die " . $currentReminder . ". " . ($row->reminder_count == 2 ? "*und damit letzte* " : "") . "Erinnerung die Turnierergebnisse einzureichen."
|
||||
. "\n\nTurnier: " . $row->turnierbezeichnung
|
||||
. "\nTurnierende: " . FormatiertesDatum($row->letzter_tag, false, false)
|
||||
. "\n\nLaut Turnierordnung müssen die Ergebnisse spätestens 24 Stunden nach Turnierende eingetragen werden. Bitte reich die Ergebnisse umgehend nach."
|
||||
. "\n\nDu erhältst diese Mail, weil du als Berechtigter für das Turnier eingetragen wurdest. Falls du nicht der Veranstalter bist, leite diese Email bitte entsprechend weiter."
|
||||
. "\n\nHochladen der Ergebnisse über " . SportsManagerURL('&task=admin_turnierdisziplinen&turnierid=' . $row->turnier_id, -1) . ".";
|
||||
|
||||
$mailer->setSubject($subject);
|
||||
$mailer->setBody($body);
|
||||
|
||||
$emailArray = explode(", ", $row->emails);
|
||||
foreach ($emailArray as $email) {
|
||||
$mailer->addBcc($email);
|
||||
}
|
||||
$mailer->send();
|
||||
|
||||
updateDBReminders($db, $currentReminder, $row->turnier_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function updateDBReminders($db, $reminder, $tournamentId): void
|
||||
{
|
||||
$query = $db->getQuery(true)
|
||||
->update($db->quoteName('#__sportsmanager_turnier'))
|
||||
->set($db->quoteName('reminder_count') . ' = ' . $db->quote($reminder))
|
||||
->where($db->quoteName('turnier_id') . ' = ' . $db->quote($tournamentId));
|
||||
|
||||
$db->setQuery($query);
|
||||
$db->execute();
|
||||
}
|
||||
|
||||
/**
|
||||
* checks if a tournament has at least one result entry for a discipline
|
||||
* @param $db
|
||||
* @param $row mixed tournament entry
|
||||
* @return bool true if at least one result is given, else false
|
||||
* @since 2.2
|
||||
*/
|
||||
function hasResultsAlready($db, mixed $row): bool
|
||||
{
|
||||
$subQuery = $db->getQuery(true)
|
||||
->select($db->quoteName('turnierdisziplin_id'))
|
||||
->from($db->quoteName('#__sportsmanager_turnierdisziplin'))
|
||||
->where($db->quoteName('turnier_id') . ' = ' . $db->quote($row->turnier_id));
|
||||
|
||||
$query = $db->getQuery(true)
|
||||
->select('COUNT(*) AS count')
|
||||
->from($db->quoteName('#__sportsmanager_turniermeldung', 'tm'))
|
||||
->where($db->quoteName('tm.turnierdisziplin_id') . ' IN (' . $subQuery . ')');
|
||||
|
||||
$result = loadResult($db, $query);
|
||||
return $result && $result[0]->count > 0;
|
||||
}
|
||||
@@ -356,7 +356,7 @@ function bildURL($typ, $id, $fixed_width = 0, $fixed_height = 0, $max_width = 0,
|
||||
#crop=250,250,left
|
||||
#crop=250,250,right
|
||||
*/
|
||||
function yoothemeBild($typ, $id, $alternativ, $resize = '', $zusatz = ""): ?string
|
||||
function yoothemeBild($typ, $id, $alternativ, $zusatz = ""): ?string
|
||||
{
|
||||
$typ_exploded = explode("/", $typ);
|
||||
$typ = $typ_exploded[0];
|
||||
@@ -382,7 +382,7 @@ function yoothemeBild($typ, $id, $alternativ, $resize = '', $zusatz = ""): ?stri
|
||||
|
||||
$bildpfad = SPORTSMANAGER_JOOMLA_URL . "images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
|
||||
|
||||
return '<img class="el-image" data-src="' . $bildpfad . $resize . '" ' . $zusatz . ' uk-img />';
|
||||
return '<img class="el-image" data-src="' . $bildpfad . '" ' . $zusatz . ' uk-img />';
|
||||
}
|
||||
|
||||
function bildHTML($typ, $id, $fixed_width = 0, $fixed_height = 0, $max_width = 0, $max_height = 0, $zusatz = "", $alternativ = ""): ?string
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<option value="vereine"><![CDATA[COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_CLUBS]]></option>
|
||||
<option value="spielorte"><![CDATA[COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_VENUES]]></option>
|
||||
<option value="termine"><![CDATA[COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_APPOINTMENTS]]></option>
|
||||
<option value="spielverlegungen"><![CDATA[COM_SPORTSMANAGER_LAYOUT_GENERAL_CONTENT_OPTION_MATCH_RESCHEDULING]]></option>
|
||||
</field>
|
||||
<field name="titel"
|
||||
type="text"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -197,6 +197,7 @@ class JSON_sportsmanager
|
||||
|
||||
#[NoReturn] static function spielerDetails($spieler, $vereine, $veranstalter, $spieler_elo_verlauf_einzel, $spieler_elo_verlauf_doppel, $spielerNamen, $teamNamen, $veranstaltungBezeichnungen, $turnierdisziplinBezeichnungen, $individualwettbewerbBezeichnungen, $ranglistenplatzierungen, $turnierplatzierungen, $teams, $elo_detailliert, $statistik, $einstufungen): void
|
||||
{
|
||||
if (count($vereine) == 0){die;}
|
||||
$letzte_einzel = [];
|
||||
$spieler->bild = playerImage($spieler->spieler_id, $spieler->geschlecht);
|
||||
for ($i = sizeof($spieler_elo_verlauf_einzel) - 1; $i >= max(sizeof($spieler_elo_verlauf_einzel) - 10, 0); $i--) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -40,8 +40,11 @@ class HTML_sportsmanager_ticker
|
||||
continue;
|
||||
else
|
||||
$status = 'upcoming';
|
||||
$spieltag = Rundenbezeichnung($begegnung->spieltag, $begegnung->unterteilung == 0, false, true);
|
||||
$gewinner = $begegnung->heim_spielpunkte > $begegnung->gast_spielpunkte ? 1 : ($begegnung->heim_spielpunkte < $begegnung->gast_spielpunkte ? 2 : 0);
|
||||
if ($begegnung->spieltag_titel)
|
||||
$spieltag = $begegnung->spieltag_titel;
|
||||
else
|
||||
$spieltag = Rundenbezeichnung($begegnung->spieltag, $begegnung->unterteilung == 0, false, true);
|
||||
$gewinner = $begegnung->heim_spielpunkte > $begegnung->gast_spielpunkte ? 1 : ($begegnung->heim_spielpunkte < $begegnung->gast_spielpunkte ? 2 : 0);
|
||||
$heim_name = $begegnung->heim_name;
|
||||
$gast_name = $begegnung->gast_name;
|
||||
$heim_spielpunkte = $begegnung->heim_spielpunkte;
|
||||
|
||||
@@ -21,6 +21,7 @@ COM_SPORTSMANAGER_LOCATIONS="Spielorte"
|
||||
COM_SPORTSMANAGER_SEASONS="Saisons"
|
||||
COM_SPORTSMANAGER_TEAM_PLANS="Mannschaftsspielpläne"
|
||||
COM_SPORTSMANAGER_TEAM_NAME="Mannschaftsname"
|
||||
COM_SPORTSMANAGER_TEAM_NAME_SHORT="Mannschaftsname kurz (max 24)"
|
||||
COM_SPORTSMANAGER_TEAM_NAME2="Vereinsname"
|
||||
COM_SPORTSMANAGER_TEAM_SEAT="Vereinssitz"
|
||||
COM_SPORTSMANAGER_POSTPONE_RULES="Verschieberegeln"
|
||||
@@ -38,6 +39,7 @@ COM_SPORTSMANAGER_ORGANISATION="Organisation"
|
||||
COM_SPORTSMANAGER_TEAM_MEMBERS="Mannschaftsmitglieder"
|
||||
COM_SPORTSMANAGER_TEAM_MEMBERS2=Vereinsmitglieder
|
||||
COM_SPORTSMANAGER_MEMBERS="Mitglieder"
|
||||
COM_SPORTSMANAGER_ACTIVE_MEMBERS="Aktive Mitglieder"
|
||||
COM_SPORTSMANAGER_TEAMS="Mannschaften"
|
||||
COM_SPORTSMANAGER_CURRENT_TEAMS="Aktuelle Mannschaften"
|
||||
COM_SPORTSMANAGER_PREVIOUS_TEAMS="Frühere Mannschaften"
|
||||
@@ -130,10 +132,13 @@ COM_SPORTSMANAGER_QUARTER_FINAL_SHORTCUT="1/4"
|
||||
COM_SPORTSMANAGER_ROUND_OF_16="Achtelfinale"
|
||||
COM_SPORTSMANAGER_ROUND_OF_16_SHORTCUT="1/8"
|
||||
COM_SPORTSMANAGER_ROUND_OF_32="Sechzehntelfinale"
|
||||
COM_SPORTSMANAGER_ROUND_OF_32_ALT="16-tel-Finale"
|
||||
COM_SPORTSMANAGER_ROUND_OF_32_SHORTCUT="1/16"
|
||||
COM_SPORTSMANAGER_ROUND_OF_64="Zweiunddreißigstelfinale"
|
||||
COM_SPORTSMANAGER_ROUND_OF_64_ALT="32-tel-Finale"
|
||||
COM_SPORTSMANAGER_ROUND_OF_64_SHORTCUT="1/32"
|
||||
COM_SPORTSMANAGER_ROUND_OF_128="Vierundsechzigstelfinale"
|
||||
COM_SPORTSMANAGER_ROUND_OF_128_ALT="64-tel-Finale"
|
||||
COM_SPORTSMANAGER_ROUND_OF_128_SHORTCUT="1/64"
|
||||
COM_SPORTSMANAGER_DAY_0_SHORTCUT="So."
|
||||
COM_SPORTSMANAGER_DAY_1_SHORTCUT="Mo."
|
||||
@@ -260,6 +265,7 @@ COM_SPORTSMANAGER_IN="in"
|
||||
COM_SPORTSMANAGER_NATIONAL="Nationale"
|
||||
COM_SPORTSMANAGER_INTERNATIONAL="Internationale"
|
||||
COM_SPORTSMANAGER_PLAYER_NUMBER_SHORT="Spielernr."
|
||||
COM_SPORTSMANAGER_ASSOCIATION_SHORT_NAME="Verbands-Kürzel"
|
||||
COM_SPORTSMANAGER_BASIC_PLAYER_NUMBER_SHORT="Basis-Spielernr."
|
||||
COM_SPORTSMANAGER_MESSAGES="Meldungen"
|
||||
COM_SPORTSMANAGER_TOURNAMENT_PLACEMENT="Turnierplatzierungen"
|
||||
@@ -311,6 +317,11 @@ COM_SPORTSMANAGER_FOR_OTHER_CONTACT="Für andere Ansprechpartner"
|
||||
COM_SPORTSMANAGER_DATES_REGISTERED_USERS="Termine beantragten durch angemeldete Benutzer"
|
||||
COM_SPORTSMANAGER_VIEW_ELO_RATING="Elo-Wertung anzeigen"
|
||||
COM_SPORTSMANAGER_VIEW_SPORTSMANAGER_LIZENZ="Lizenz anzeigen"
|
||||
COM_SPORTSMANAGER_VIEW_LEAST_MEMBER_COUNT="Mindest Mitgliederzahl zeigen (Vereine)"
|
||||
COM_SPORTSMANAGER_SHOW_ORGANISATION="Spalte Verband zeigen (Vereine)"
|
||||
COM_SPORTSMANAGER_SHOW_MEMBER_COUNT="Spalte Mitglieder Zeigen (Vereine)"
|
||||
COM_SPORTSMANAGER_SHOW_TOURNAMENT_BRACKET="Turnierbaum anzeigen"
|
||||
COM_SPORTSMANAGER_USE_DISCIPLINARY_FINE="Ordnungsstrafen verwenden"
|
||||
COM_SPORTSMANAGER_PLAYER_DETAILS="Spielerdetails"
|
||||
COM_SPORTSMANAGER_PLAYER_LIST_DETAILS="Spielerliste/-details"
|
||||
COM_SPORTSMANAGER_PLAYER_EDIT="Spielerdaten durch Organisations-/Vereinsansprechpartner bearbeiten"
|
||||
@@ -353,6 +364,7 @@ COM_SPORTSMANAGER_STATISTIK="Statistik"
|
||||
COM_SPORTSMANAGER_PLAYERS_ACTIVE="Spieler aktiv"
|
||||
COM_SPORTSMANAGER_RESTRICTED_PLAYERS="Spieler eingeschränkt"
|
||||
COM_SPORTSMANAGER_PLAYER_PASSIV="Spieler passiv"
|
||||
COM_SPORTSMANAGER_PLAYER_UNATTACHED="Spieler vereinslos"
|
||||
COM_SPORTSMANAGER_MEN_ACTIVE="Herren aktiv"
|
||||
COM_SPORTSMANAGER_WOMEN_ACTIVE="Damen aktiv"
|
||||
COM_SPORTSMANAGER_JUNIOR_ACTIVE="Junioren aktiv"
|
||||
@@ -380,6 +392,7 @@ COM_SPORTSMANAGER_MEMBER_STATUS="Mitgliedsstatus"
|
||||
COM_SPORTSMANAGER_ACTIVE="Aktiv"
|
||||
COM_SPORTSMANAGER_RESTRICTED="Eingeschränkt"
|
||||
COM_SPORTSMANAGER_BEATEN="Ausgetreten"
|
||||
COM_SPORTSMANAGER_HIDE="Verstecken"
|
||||
COM_SPORTSMANAGER_PASSIVE="Passiv"
|
||||
COM_SPORTSMANAGER_BEATEN_CLUB="Verein ausgetreten"
|
||||
COM_SPORTSMANAGER_SINGLE_SEED="Elo-Startwert Einzel"
|
||||
@@ -503,7 +516,6 @@ COM_SPORTSMANAGER_ADD_POINTS_TABLE="Punktetabelle hinzufügen"
|
||||
COM_SPORTSMANAGER_ADD_FUNCTION="Funktion hinzufügen"
|
||||
COM_SPORTSMANAGER_PARTICIPANT="Teilnehmer"
|
||||
COM_SPORTSMANAGER_FUNCTION="Funktion"
|
||||
COM_SPORTSMANAGER_MULTIPLIER="Multiplikator"
|
||||
COM_SPORTSMANAGER_MAXIMUM="maximal"
|
||||
COM_SPORTSMANAGER_CONTRACTION="Kürzel"
|
||||
COM_SPORTSMANAGER_ELIGIBLE_ORGANIZERS="Berechtigte für Veranstalter"
|
||||
@@ -564,7 +576,7 @@ COM_SPORTSMANAGER_PRIVATE_PLAYER_DATA="Private Spielerdaten in Vereins- und Mann
|
||||
COM_SPORTSMANAGER_ASSOCIATIONS_MEMBERSHIPS_MANAGE="Vereine und Mitgliedschaften verwalten"
|
||||
COM_SPORTSMANAGER_MANAGE_CLASSIFICATIONS="Einstufungen verwalten"
|
||||
COM_SPORTSMANAGER_MANAGE_TEAM_PLANS="Mannschaftsspielpläne verwalten"
|
||||
COM_SPORTSMANAGER_MANAGE_RULES_POSTPONEMENT="Verschieberegeln verwalten"
|
||||
COM_SPORTSMANAGER_MANAGE_RULES_POSTPONEMENT="Spielverlegungen/Verschieberegeln verwalten"
|
||||
COM_SPORTSMANAGER_MANAGE_VENUES="Spielorte verwalten"
|
||||
COM_SPORTSMANAGER_MANAGE_TEAM_COMPETITIONS="Mannschaftswettbewerbe verwalten"
|
||||
COM_SPORTSMANAGER_MANAGE_PLAYER_STATISTICS="Spielerstastistiken verwalten"
|
||||
@@ -606,7 +618,10 @@ COM_SPORTSMANAGER_ONLY_DETAILED_RATING_POINT_DIFFERENCE="Nur Detailwertung nach
|
||||
COM_SPORTSMANAGER_ONLY_DETAILED_POINTS_AFTER_POINTSRATE="Nur Detailwertung nach Punktequote"
|
||||
COM_SPORTSMANAGER_KO_SIMPLE_FULL="K.O. (einfach oder vollstaendige Ausspielung aller Plaetze)"
|
||||
COM_SPORTSMANAGER_MANUAL_PRO_TEAMS="Manuell (pro Mannschaft)"
|
||||
COM_SPORTSMANAGER_CUP_DRAW_EVERY_ROUND="Pokal: Jede Runde wird neu gelost"
|
||||
COM_SPORTSMANAGER_CUP_USING_SEEDING_LIST="Pokal: Losen einer Setzliste"
|
||||
COM_SPORTSMANAGER_SUBDIVISION="Unterteilung"
|
||||
COM_SPORTSMANAGER_SHOW_MATCHDAY_TITLE="Titel von Spieltag zeigen"
|
||||
COM_SPORTSMANAGER_ELO_RATING="ELO-Wertung"
|
||||
COM_SPORTSMANAGER_ELIGIBLE_FOR_EVENT="Berechtigte für Veranstaltung"
|
||||
COM_SPORTSMANAGER_TITLE_LOGO="Titel-Logo"
|
||||
@@ -634,6 +649,9 @@ COM_SPORTSMANAGER_GAMEDAY="Spieltag"
|
||||
COM_SPORTSMANAGER_GAMEDAYS="Spieltage"
|
||||
COM_SPORTSMANAGER_ROUND="Runde"
|
||||
COM_SPORTSMANAGER_ROUNDS="Runden"
|
||||
COM_SPORTSMANAGER_ROUND_TITLE="Runde Bezeichnung"
|
||||
COM_SPORTSMANAGER_DRAW_FOR_HOME="Heimrecht auslosen"
|
||||
COM_SPORTSMANAGER_MATCH_PLACE3="Spiel um Platz 3"
|
||||
COM_SPORTSMANAGER_MONTH="Monat"
|
||||
COM_SPORTSMANAGER_MONTHS="Monate"
|
||||
COM_SPORTSMANAGER_PLAYER_FROM_TEAM="Spieler von Mannschaft"
|
||||
@@ -649,7 +667,9 @@ COM_SPORTSMANAGER_SO_FAR="bisher"
|
||||
COM_SPORTSMANAGER_PLACEMENT_AREA="Platzierungsbereich"
|
||||
COM_SPORTSMANAGER_IMAGE_WITHIN_TEAM="Bild innerhalb Mannschaft"
|
||||
COM_SPORTSMANAGER_ADD_MEETING="Begegnung hinzufügen"
|
||||
COM_SPORTSMANAGER_GAMEDAY_GENERATION="Spieltag erzeugen"
|
||||
COM_SPORTSMANAGER_ROUND_GENERATION="Runde erzeugen"
|
||||
COM_SPORTSMANAGER_CUP_ROUND_GENERATION="Pokalrunde auslosen"
|
||||
COM_SPORTSMANAGER_GENERATE_GROUP_GAME="Gruppenspiele erzeugen"
|
||||
COM_SPORTSMANAGER_IMPORT_GROUP_GAME="Gruppenspiele importieren"
|
||||
COM_SPORTSMANAGER_IMPORT_GROUP_GAME2="Gruppenspiele: Importieren"
|
||||
@@ -777,6 +797,7 @@ COM_SPORTSMANAGER_FEDERAL_STATES="Bundesländer"
|
||||
COM_SPORTSMANAGER_STATES="Länder"
|
||||
COM_SPORTSMANAGER_YEAR="Jahr"
|
||||
COM_SPORTSMANAGER_ADDITION="Zusatz"
|
||||
COM_SPORTSMANAGER_LOCATION="Ort"
|
||||
COM_SPORTSMANAGER_STATE="Land"
|
||||
COM_SPORTSMANAGER_FEDERAL_="Bundes-"
|
||||
COM_SPORTSMANAGER_INFO="Info"
|
||||
@@ -790,7 +811,6 @@ COM_SPORTSMANAGER_APPLIED_FOR="Beantragt"
|
||||
COM_SPORTSMANAGER_DECLINED="Abgelehnt"
|
||||
COM_SPORTSMANAGER_DATE_DETAILS="Termin: Details"
|
||||
COM_SPORTSMANAGER_ADDITIONS="Zusätze"
|
||||
COM_SPORTSMANAGER_ADDITIONAL_INFORMATION="Weitere Informationen"
|
||||
COM_SPORTSMANAGER_PUBLIC_EMAIL="E-Mail öffentlich"
|
||||
COM_SPORTSMANAGER_EMAIL_WITH_CHANGES="E-Mail bei Änderungen"
|
||||
COM_SPORTSMANAGER_ACTION_TYPE="Aktionstyp"
|
||||
@@ -866,6 +886,9 @@ COM_SPORTSMANAGER_INITIAL_APPOINTMENT_SUGGESTIONS="Initiale Terminvorschläg
|
||||
COM_SPORTSMANAGER_REQUESTING_TEAM="Beantragende Mannschaft"
|
||||
COM_SPORTSMANAGER_OPPONENT_TEAM="Gegnerische Mannschaft"
|
||||
COM_SPORTSMANAGER_AGAINST_PROPOSALS_ALLOWED="Gegensvorschläge zulässig"
|
||||
COM_SPORTSMANAGER_REASON_REQUIRED="Begründung erforderlich"
|
||||
COM_SPORTSMANAGER_CLUB_ENTITLEMENT="Berechtigung Vereine"
|
||||
COM_SPORTSMANAGER_ASSOCIATION_ENTITLEMENT="Berechtigung Verband"
|
||||
COM_SPORTSMANAGER_LEAD_TIME="Vorlaufzeit"
|
||||
COM_SPORTSMANAGER_APPOINTMENT_PROPOSALS_MINIMAL="Terminvorschläge minimal"
|
||||
COM_SPORTSMANAGER_APPOINTMENT_PROPOSALS_MAXIMUM="Terminvorschläge maximal"
|
||||
@@ -875,6 +898,8 @@ COM_SPORTSMANAGER_OPTIONAL_BUT_SAME_IN_DOUBLES="Optional, aber im Doppel keiner
|
||||
COM_SPORTSMANAGER_REQUIRED="Erforderlich"
|
||||
COM_SPORTSMANAGER_RESULT_ONLY="Nur Ergebnis"
|
||||
COM_SPORTSMANAGER_GAME_NUMBER="Spiel %d"
|
||||
COM_SPORTSMANAGER_LABEL_GAME_NUMBER="Spiel Nr"
|
||||
COM_SPORTSMANAGER_LABEL_GAME_TITLE="Spieltag Titel"
|
||||
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_SUBJECT="%s vs %s: Spieltermin verlegen"
|
||||
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_BODY="Zur Begegnung %s gegen %s am %s in %s wird von %s der Spieltermin verschoben.\n\nAlternative Termine:\n\n"
|
||||
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_REQUESTED_BODY="Zur Begegnung %s gegen %s am %s in %s wird von %s der Spieltermin verschoben.\n\nBitte alternative Termine vorschlagen unter %s"
|
||||
@@ -995,3 +1020,53 @@ COM_SPORTSMANAGER_ARIA_LABEL_CLUB="Verein"
|
||||
COM_SPORTSMANAGER_NUM_REQUESTED_SHIFTS="Verschiebungen"
|
||||
COM_SPORTSMANAGER_NUM_REQUESTED_SHFITS_TOOLTIP="Spielverschiebungen durch diese Mannschaft"
|
||||
COM_SPORTSMANAGER_GAME_RESULT_DELAYS="Verzögerung"
|
||||
COM_SPORTSMANAGER_USE_EMAIL_REMINDERS="Verwende Email Erinnerungen"
|
||||
COM_SPORTSMANAGER_RULEBOOKS="Regelwerke"
|
||||
COM_SPORTSMANAGER_RULEBOOK="Regelwerk"
|
||||
COM_SPORTSMANAGER_RULE_SHORT="SPO"
|
||||
COM_SPORTSMANAGER_FEE_SHORT="GO"
|
||||
COM_SPORTSMANAGER_RULE_LONG="Paragraph SPO"
|
||||
COM_SPORTSMANAGER_FEE_LONG="Paragraph GO"
|
||||
COM_SPORTSMANAGER_SELECT="Auswahl"
|
||||
COM_SPORTSMANAGER_NO_SELECT="keine Auswahl"
|
||||
COM_SPORTSMANAGER_REALLY_REMOVE_RULEBOOK="Willst Du dieses Regelwerk wirklich entfernen?"
|
||||
COM_SPORTSMANAGER_ADD_RULEBOOK="Regelwerk hinzufügen"
|
||||
COM_SPORTSMANAGER_DISCIPLINARY_FINES="Ordnungsstrafen"
|
||||
COM_SPORTSMANAGER_DISCIPLINARY_FINE="Ordnungsstrafe"
|
||||
COM_SPORTSMANAGER_ISSUE_DISCIPLINARY_FINES="Ordnungsstrafe ausstellen"
|
||||
COM_SPORTSMANAGER_EDIT_DISCIPLINARY_FINE="Ordnungsstrafe bearbeiten"
|
||||
COM_SPORTSMANAGER_SEND_DISCIPLINARY_FINE="Ordnungsstrafe versenden"
|
||||
COM_SPORTSMANAGER_REALLY_REMOVE_DISCIPLINARY_FINES="Willst Du diese Ordnungsstrafe wirklich entfernen?"
|
||||
COM_SPORTSMANAGER_VIOLATIONS="Verstöße"
|
||||
COM_SPORTSMANAGER_VIOLATION="Verstoß"
|
||||
COM_SPORTSMANAGER_ADD_VIOLATION="Verstoß hinzufügen"
|
||||
COM_SPORTSMANAGER_REALLY_REMOVE_VIOLATION="Willst Du diesen Verstoß wirklich entfernen?"
|
||||
COM_SPORTSMANAGER_VIOLATION_TEXT="Text"
|
||||
COM_SPORTSMANAGER_VIOLATION_ADD_TEXT="Zusatztext"
|
||||
COM_SPORTSMANAGER_FEE="Gebühr"
|
||||
COM_SPORTSMANAGER_ADD_FEE="Zusatzgebühr"
|
||||
COM_SPORTSMANAGER_SELECTABLE="Auswählbar"
|
||||
COM_SPORTSMANAGER_TEMPLATE="Vorlage"
|
||||
COM_SPORTSMANAGER_EMAIL_SUBJECT="Betreff"
|
||||
COM_SPORTSMANAGER_EMAIL_MESSAGE="Nachricht"
|
||||
COM_SPORTSMANAGER_EMAIL_TO="An"
|
||||
COM_SPORTSMANAGER_EMAIL_SEND="E-Mail senden"
|
||||
COM_SPORTSMANAGER_EMAIL_TEXT_TEMPLATE="Textvorlage"
|
||||
COM_SPORTSMANAGER_ISSUER="Aussteller"
|
||||
COM_SPORTSMANAGER_ISSUE_DATE="Ausstelldatum"
|
||||
COM_SPORTSMANAGER_SENDER="Sender"
|
||||
COM_SPORTSMANAGER_BILL_ISSUER="Rechnung erstellt"
|
||||
COM_SPORTSMANAGER_MULTIPLIER="Multiplikator"
|
||||
COM_SPORTSMANAGER_ADDITIONAL_INFORMATION="Weitere Angaben"
|
||||
COM_SPORTSMANAGER_EMAIL_WAS_SEND="Die E-Mail wurde erfolgreich versendet"
|
||||
COM_SPORTSMANAGER_EMAIL_WAS_NOT_SEND="Die E-Mail wurde nicht versendet"
|
||||
COM_SPORTSMANAGER_OLD_DATE="Alter Termin"
|
||||
COM_SPORTSMANAGER_NEW_DATE="Neuer Termin"
|
||||
COM_SPORTSMANAGER_REASON_GAME_APPOINTMENT="Verlegungsgrund"
|
||||
COM_SPORTSMANAGER_MATCH_RESCHEDULINGS="Spielverlegungen"
|
||||
COM_SPORTSMANAGER_MATCH_RESCHEDULING="Spielverlegung"
|
||||
COM_SPORTSMANAGER_MATCH_SWAPPING_HELP="Bei Heimrechttausch gleichen Termin eintragen"
|
||||
COM_SPORTSMANAGER_NOT_VALID_TIME="Ungültige Uhrzeit"
|
||||
COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING="Willst Du diesen Spielverlegung wirklich entfernen?"
|
||||
COM_SPORTSMANAGER_REST_DAYS="Ruhetage"
|
||||
COM_SPORTSMANAGER_TRAINING_DAYS="Trainingstage"
|
||||
@@ -21,6 +21,7 @@ COM_SPORTSMANAGER_LOCATIONS="Locations"
|
||||
COM_SPORTSMANAGER_SEASONS="Seasons"
|
||||
COM_SPORTSMANAGER_TEAM_PLANS="Team plans"
|
||||
COM_SPORTSMANAGER_TEAM_NAME="Team name"
|
||||
COM_SPORTSMANAGER_TEAM_NAME_SHORT="Team name short (max 24)"
|
||||
COM_SPORTSMANAGER_TEAM_NAME2="Club name"
|
||||
COM_SPORTSMANAGER_TEAM_SEAT="Club location"
|
||||
COM_SPORTSMANAGER_POSTPONE_RULES="Postpone rules"
|
||||
@@ -38,6 +39,7 @@ COM_SPORTSMANAGER_ORGANISATION="Organisation"
|
||||
COM_SPORTSMANAGER_TEAM_MEMBERS="Team members"
|
||||
COM_SPORTSMANAGER_TEAM_MEMBERS2="Club members"
|
||||
COM_SPORTSMANAGER_MEMBERS="Members"
|
||||
COM_SPORTSMANAGER_ACTIVE_MEMBERS="Active members"
|
||||
COM_SPORTSMANAGER_TEAMS="Teams"
|
||||
COM_SPORTSMANAGER_CURRENT_TEAMS="Current teams"
|
||||
COM_SPORTSMANAGER_PREVIOUS_TEAMS="Previous teams"
|
||||
@@ -129,11 +131,14 @@ COM_SPORTSMANAGER_QUARTER_FINAL="Quarter final"
|
||||
COM_SPORTSMANAGER_QUARTER_FINAL_SHORTCUT="1/4"
|
||||
COM_SPORTSMANAGER_ROUND_OF_16="Round of sixteen"
|
||||
COM_SPORTSMANAGER_ROUND_OF_16_SHORTCUT="1/8"
|
||||
COM_SPORTSMANAGER_ROUND_OF_32="Round of thiry-two"
|
||||
COM_SPORTSMANAGER_ROUND_OF_32="Round of thirty-two"
|
||||
COM_SPORTSMANAGER_ROUND_OF_32_ALT="Round of thirty-two"
|
||||
COM_SPORTSMANAGER_ROUND_OF_32_SHORTCUT="1/16"
|
||||
COM_SPORTSMANAGER_ROUND_OF_64="Round of sixty-four"
|
||||
COM_SPORTSMANAGER_ROUND_OF_64_ALT="Round of sixty-four"
|
||||
COM_SPORTSMANAGER_ROUND_OF_64_SHORTCUT="1/32"
|
||||
COM_SPORTSMANAGER_ROUND_OF_128="Round of 128"
|
||||
COM_SPORTSMANAGER_ROUND_OF_128_ALT="Round of 128"
|
||||
COM_SPORTSMANAGER_ROUND_OF_128_SHORTCUT="1/64"
|
||||
COM_SPORTSMANAGER_DAY_0_SHORTCUT="Su."
|
||||
COM_SPORTSMANAGER_DAY_1_SHORTCUT="Mo."
|
||||
@@ -260,6 +265,7 @@ COM_SPORTSMANAGER_IN="in"
|
||||
COM_SPORTSMANAGER_NATIONAL="National"
|
||||
COM_SPORTSMANAGER_INTERNATIONAL="International"
|
||||
COM_SPORTSMANAGER_PLAYER_NUMBER_SHORT="Player number"
|
||||
COM_SPORTSMANAGER_ASSOCIATION_SHORT_NAME="Association short name"
|
||||
COM_SPORTSMANAGER_BASIC_PLAYER_NUMBER_SHORT="Player number base"
|
||||
COM_SPORTSMANAGER_MESSAGES="Registrations"
|
||||
COM_SPORTSMANAGER_TOURNAMENT_PLACEMENT="Tournament placements"
|
||||
@@ -311,6 +317,11 @@ COM_SPORTSMANAGER_FOR_OTHER_CONTACT="For other contact"
|
||||
COM_SPORTSMANAGER_DATES_REGISTERED_USERS="Apply dates by registered users"
|
||||
COM_SPORTSMANAGER_VIEW_ELO_RATING="View Elo rating"
|
||||
COM_SPORTSMANAGER_VIEW_SPORTSMANAGER_LIZENZ="Show License"
|
||||
COM_SPORTSMANAGER_VIEW_LEAST_MEMBER_COUNT="Show least member count (teams)"
|
||||
COM_SPORTSMANAGER_SHOW_ORGANISATION="Show organisation (teams)"
|
||||
COM_SPORTSMANAGER_SHOW_MEMBER_COUNT="Show member column (teams)"
|
||||
COM_SPORTSMANAGER_SHOW_TOURNAMENT_BRACKET="Show Tournament Bracket"
|
||||
COM_SPORTSMANAGER_USE_DISCIPLINARY_FINE="Use disciplinary fine"
|
||||
COM_SPORTSMANAGER_PLAYER_DETAILS="Player details"
|
||||
COM_SPORTSMANAGER_PLAYER_LIST_DETAILS="Player list details"
|
||||
COM_SPORTSMANAGER_PLAYER_EDIT="Edit player data by organisation/club contacts"
|
||||
@@ -351,8 +362,9 @@ COM_SPORTSMANAGER_PLAYERS_EXPORT_SPORT_SOFTWARE="Export players (Sport Software)
|
||||
COM_SPORTSMANAGER_CLEANUP_INACTIVE_PLAYERS="Cleanup inactive players"
|
||||
COM_SPORTSMANAGER_STATISTIK="Statistics"
|
||||
COM_SPORTSMANAGER_PLAYERS_ACTIVE="Players active"
|
||||
COM_SPORTSMANAGER_RESTRICTED_PLAYERS="Players restrited"
|
||||
COM_SPORTSMANAGER_RESTRICTED_PLAYERS="Players restricted"
|
||||
COM_SPORTSMANAGER_PLAYER_PASSIV="Players passive"
|
||||
COM_SPORTSMANAGER_PLAYER_UNATTACHED="Players unattached"
|
||||
COM_SPORTSMANAGER_MEN_ACTIVE="Male active"
|
||||
COM_SPORTSMANAGER_WOMEN_ACTIVE="Female active"
|
||||
COM_SPORTSMANAGER_JUNIOR_ACTIVE="Juniors active"
|
||||
@@ -380,6 +392,7 @@ COM_SPORTSMANAGER_MEMBER_STATUS="Member status"
|
||||
COM_SPORTSMANAGER_ACTIVE="Active"
|
||||
COM_SPORTSMANAGER_RESTRICTED="Restricted"
|
||||
COM_SPORTSMANAGER_BEATEN="Excreted"
|
||||
COM_SPORTSMANAGER_HIDE="Hide"
|
||||
COM_SPORTSMANAGER_PASSIVE="Passive"
|
||||
COM_SPORTSMANAGER_BEATEN_CLUB="Club excreted"
|
||||
COM_SPORTSMANAGER_SINGLE_SEED="Elo starting value singles"
|
||||
@@ -503,7 +516,6 @@ COM_SPORTSMANAGER_ADD_POINTS_TABLE="Add points table"
|
||||
COM_SPORTSMANAGER_ADD_FUNCTION="Add function"
|
||||
COM_SPORTSMANAGER_PARTICIPANT="Participants"
|
||||
COM_SPORTSMANAGER_FUNCTION="Function"
|
||||
COM_SPORTSMANAGER_MULTIPLIER="Multiplier"
|
||||
COM_SPORTSMANAGER_MAXIMUM="maximum"
|
||||
COM_SPORTSMANAGER_CONTRACTION="Contraction"
|
||||
COM_SPORTSMANAGER_ELIGIBLE_ORGANIZERS="Eligible for organisation"
|
||||
@@ -564,7 +576,7 @@ COM_SPORTSMANAGER_PRIVATE_PLAYER_DATA="View privat player information in club an
|
||||
COM_SPORTSMANAGER_ASSOCIATIONS_MEMBERSHIPS_MANAGE="Manage clubs and memberships"
|
||||
COM_SPORTSMANAGER_MANAGE_CLASSIFICATIONS="Manage classifications"
|
||||
COM_SPORTSMANAGER_MANAGE_TEAM_PLANS="Manage team plans"
|
||||
COM_SPORTSMANAGER_MANAGE_RULES_POSTPONEMENT="Manage postpone rules"
|
||||
COM_SPORTSMANAGER_MANAGE_RULES_POSTPONEMENT="Manage match rescheduling/postpone rules"
|
||||
COM_SPORTSMANAGER_MANAGE_VENUES="Manage venues"
|
||||
COM_SPORTSMANAGER_MANAGE_TEAM_COMPETITIONS="Manage team competitions"
|
||||
COM_SPORTSMANAGER_MANAGE_PLAYER_STATISTICS="Manage player statitics"
|
||||
@@ -606,7 +618,10 @@ COM_SPORTSMANAGER_ONLY_DETAILED_RATING_POINT_DIFFERENCE="Only detailed ranking b
|
||||
COM_SPORTSMANAGER_ONLY_DETAILED_POINTS_AFTER_POINTSRATE="Only detailed ranking by points rate"
|
||||
COM_SPORTSMANAGER_KO_SIMPLE_FULL="K.O. (singles or full playout of all places)"
|
||||
COM_SPORTSMANAGER_MANUAL_PRO_TEAMS="Manual (per team)"
|
||||
COM_SPORTSMANAGER_CUP_DRAW_EVERY_ROUND="Cup: draw every round"
|
||||
COM_SPORTSMANAGER_CUP_USING_SEEDING_LIST="Cup: draw seeding list"
|
||||
COM_SPORTSMANAGER_SUBDIVISION="Subdivision"
|
||||
COM_SPORTSMANAGER_SHOW_MATCHDAY_TITLE="Show title matchday"
|
||||
COM_SPORTSMANAGER_ELO_RATING="Elo rating"
|
||||
COM_SPORTSMANAGER_ELIGIBLE_FOR_EVENT="Eligibles for competition"
|
||||
COM_SPORTSMANAGER_TITLE_LOGO="Title logo"
|
||||
@@ -634,6 +649,9 @@ COM_SPORTSMANAGER_GAMEDAY="Gameday"
|
||||
COM_SPORTSMANAGER_GAMEDAYS="Gamedays"
|
||||
COM_SPORTSMANAGER_ROUND="Round"
|
||||
COM_SPORTSMANAGER_ROUNDS="Rounds"
|
||||
COM_SPORTSMANAGER_ROUND_TITLE="Round Title"
|
||||
COM_SPORTSMANAGER_DRAW_FOR_HOME="Draw for home"
|
||||
COM_SPORTSMANAGER_MATCH_PLACE3="Match for place 3"
|
||||
COM_SPORTSMANAGER_MONTH="Month"
|
||||
COM_SPORTSMANAGER_MONTHS="Months"
|
||||
COM_SPORTSMANAGER_PLAYER_FROM_TEAM="Player of team"
|
||||
@@ -649,7 +667,9 @@ COM_SPORTSMANAGER_SO_FAR="so far"
|
||||
COM_SPORTSMANAGER_PLACEMENT_AREA="Placement area"
|
||||
COM_SPORTSMANAGER_IMAGE_WITHIN_TEAM="Image within team"
|
||||
COM_SPORTSMANAGER_ADD_MEETING="Add match"
|
||||
COM_SPORTSMANAGER_GAMEDAY_GENERATION="Generate gameday"
|
||||
COM_SPORTSMANAGER_ROUND_GENERATION="Generate round"
|
||||
COM_SPORTSMANAGER_CUP_ROUND_GENERATION="Generate cup round"
|
||||
COM_SPORTSMANAGER_GENERATE_GROUP_GAME="Generate group games"
|
||||
COM_SPORTSMANAGER_Import_GROUP_GAME="Import group games"
|
||||
COM_SPORTSMANAGER_Import_GROUP_GAME2="Group games: Import"
|
||||
@@ -777,6 +797,7 @@ COM_SPORTSMANAGER_FEDERAL_STATES="State"
|
||||
COM_SPORTSMANAGER_STATES="Countries"
|
||||
COM_SPORTSMANAGER_YEAR="Year"
|
||||
COM_SPORTSMANAGER_ADDITION="Addition"
|
||||
COM_SPORTSMANAGER_LOCATION="Location"
|
||||
COM_SPORTSMANAGER_STATE="Germany"
|
||||
COM_SPORTSMANAGER_FEDERAL_="Federal "
|
||||
COM_SPORTSMANAGER_INFO="Info"
|
||||
@@ -790,7 +811,6 @@ COM_SPORTSMANAGER_APPLIED_FOR="Applied"
|
||||
COM_SPORTSMANAGER_DECLINED="Declined"
|
||||
COM_SPORTSMANAGER_DATE_DETAILS="Event: Details"
|
||||
COM_SPORTSMANAGER_ADDITIONS="Additions"
|
||||
COM_SPORTSMANAGER_ADDITIONAL_INFORMATION="Additional information"
|
||||
COM_SPORTSMANAGER_PUBLIC_EMAIL="E-mail public"
|
||||
COM_SPORTSMANAGER_EMAIL_WITH_CHANGES="E-mail for changes"
|
||||
COM_SPORTSMANAGER_ACTION_TYPE="Action type"
|
||||
@@ -866,6 +886,9 @@ COM_SPORTSMANAGER_INITIAL_APPOINTMENT_SUGGESTIONS="Initial appointment suggestio
|
||||
COM_SPORTSMANAGER_REQUESTING_TEAM="Requesting team"
|
||||
COM_SPORTSMANAGER_OPPONENT_TEAM="Opponent team"
|
||||
COM_SPORTSMANAGER_AGAINST_PROPOSALS_ALLOWED="Against proposals allowed"
|
||||
COM_SPORTSMANAGER_REASON_REQUIRED="Reason required"
|
||||
COM_SPORTSMANAGER_CLUB_ENTITLEMENT="Club entitlement"
|
||||
COM_SPORTSMANAGER_ASSOCIATION_ENTITLEMENT="Association_entitlement"
|
||||
COM_SPORTSMANAGER_LEAD_TIME="Lead time"
|
||||
COM_SPORTSMANAGER_APPOINTMENT_PROPOSALS_MINIMAL="Appointment proposals minimal"
|
||||
COM_SPORTSMANAGER_APPOINTMENT_PROPOSALS_MAXIMUM="Appointment proposals maximum"
|
||||
@@ -875,6 +898,8 @@ COM_SPORTSMANAGER_OPTIONAL_BUT_SAME_IN_DOUBLES="Optional but both or none in dou
|
||||
COM_SPORTSMANAGER_REQUIRED="Required"
|
||||
COM_SPORTSMANAGER_RESULT_ONLY="Result only"
|
||||
COM_SPORTSMANAGER_GAME_NUMBER="Game %d"
|
||||
COM_SPORTSMANAGER_LABEL_GAME_NUMBER="Game nr"
|
||||
COM_SPORTSMANAGER_LABEL_GAME_TITLE="Gameday title"
|
||||
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_SUBJECT="%s vs %s: Shift game appointment"
|
||||
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_BODY="For match %s versus %s on %s in %s the game appointment is shifted by %s.\n\nAlternative appointments:\n\n"
|
||||
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_REQUESTED_BODY="For match %s on %s in %s the game appointment is shifted by %s.\n\nPlease propose alternative appointments under %s"
|
||||
@@ -927,8 +952,10 @@ COM_SPORTSMANAGER_NON_SMOKING_PROTECTION_MARK_NO=" (Kein Nichtraucherschutz)"
|
||||
COM_SPORTSMANAGER_POINTS_TABLE="Points table"
|
||||
COM_SPORTSMANAGER_EVALUATION="Auswertung"
|
||||
COM_SPORTSMANAGER_FUNCTION_DESCRIPTION="Variables: n = number of participants, p = place, m = multiplier of rating and in doubles possibly additionally reduced rating<br />Functions: +, -, *, /, round(x), pow(x), if(a > b, x, y), min(x, y), max(x, y), log(x), ln(x), logn(b, x)<br />VerteilungR(r, p, n, m) := max(round((((m * r - 1) * (-log(p / n) * (1 - (p / n)))) / (-log(1 / n) * (1 - (1 / n)))) + 1), 1)<br />Verteilung(r, p, n, m) := max(round(m * round((((r - 1) * (-log(p / n) * (1 - (p / n)))) / (-log(1 / n) * (1 - (1 / n)))) + 1)), 1)<br /><br />The functions VerteilungR() and Verteilung() distribute points for place 1 (r) descending to the individual places (p) of the number of participants (n).<br />VerteilungR() applies the multiplier (m) to the points for 1st place and then distributes down to 1 point for the last place.<br />Verteilung() applies the multiplier (m) to the points after the calculation, i.e. the last place receives 1 * m points."
|
||||
COM_SPORTSMANAGER_LIZENZ="License"
|
||||
COM_SPORTSMANAGER_RANK="Rank"
|
||||
|
||||
; Edit Player
|
||||
COM_SPORTSMANAGER_LIZENZ="License"
|
||||
COM_SPORTSMANAGER_ARIA_LABEL_MATCHDAY_SELECT="Choose a match day"
|
||||
COM_SPORTSMANAGER_ARIA_LABEL_PROPOSAL_DAY="Choose the day of the match proposal"
|
||||
COM_SPORTSMANAGER_ARIA_LABEL_PROPOSAL_MONTH="Choose the month of the match proposal"
|
||||
@@ -993,3 +1020,53 @@ COM_SPORTSMANAGER_ARIA_LABEL_CLUB="Club"
|
||||
COM_SPORTSMANAGER_NUM_REQUESTED_SHIFTS="Shifts"
|
||||
COM_SPORTSMANAGER_NUM_REQUESTED_SHFITS_TOOLTIP="Game shifts caused by this team"
|
||||
COM_SPORTSMANAGER_GAME_RESULT_DELAYS="Delay"
|
||||
COM_SPORTSMANAGER_USE_EMAIL_REMINDERS="Use email reminders"
|
||||
COM_SPORTSMANAGER_RULEBOOKS="Rulebooks"
|
||||
COM_SPORTSMANAGER_RULEBOOK="Rulebook"
|
||||
COM_SPORTSMANAGER_RULE_SHORT="Rule"
|
||||
COM_SPORTSMANAGER_FEE_SHORT="Section fees"
|
||||
COM_SPORTSMANAGER_RULE_LONG="Section rules"
|
||||
COM_SPORTSMANAGER_FEE_LONG="Fee"
|
||||
COM_SPORTSMANAGER_SELECT="Select"
|
||||
COM_SPORTSMANAGER_NO_SELECT="No selection"
|
||||
COM_SPORTSMANAGER_REALLY_REMOVE_RULEBOOK="Do you really want to remove this rulebook?"
|
||||
COM_SPORTSMANAGER_ADD_RULEBOOK="Add rulebook"
|
||||
COM_SPORTSMANAGER_DISCIPLINARY_FINES="Disciplinary fines"
|
||||
COM_SPORTSMANAGER_ISSUE_DISCIPLINARY_FINES="Issue disciplinary fines"
|
||||
COM_SPORTSMANAGER_ISSUE_DISCIPLINARY_FINE="Issue disciplinary fine"
|
||||
COM_SPORTSMANAGER_EDIT_DISCIPLINARY_FINE="Edit issue disciplinary fine"
|
||||
COM_SPORTSMANAGER_SEND_DISCIPLINARY_FINE="Send issue disciplinary fine"
|
||||
COM_SPORTSMANAGER_REALLY_REMOVE_DISCIPLINARY_FINES="Do you really want to remove this Issue disciplinary fine?"
|
||||
COM_SPORTSMANAGER_VIOLATIONS="Violations"
|
||||
COM_SPORTSMANAGER_VIOLATION="Violation"
|
||||
COM_SPORTSMANAGER_ADD_VIOLATION="Add violation"
|
||||
COM_SPORTSMANAGER_REALLY_REMOVE_VIOLATION="Do you really want to remove this violation?"
|
||||
COM_SPORTSMANAGER_VIOLATION_TEXT="Text"
|
||||
COM_SPORTSMANAGER_VIOLATION_ADD_TEXT="Additional text"
|
||||
COM_SPORTSMANAGER_FEE="Fee"
|
||||
COM_SPORTSMANAGER_ADD_FEE="Additional Fee"
|
||||
COM_SPORTSMANAGER_SELECTABLE="Selectable"
|
||||
COM_SPORTSMANAGER_TEMPLATE="Template"
|
||||
COM_SPORTSMANAGER_EMAIL_SUBJECT="Subject"
|
||||
COM_SPORTSMANAGER_EMAIL_MESSAGE="Message"
|
||||
COM_SPORTSMANAGER_EMAIL_TO="to"
|
||||
COM_SPORTSMANAGER_EMAIL_SEND="Send E-Mail"
|
||||
COM_SPORTSMANAGER_EMAIL_TEXT_TEMPLATE="Text template"
|
||||
COM_SPORTSMANAGER_ISSUER="Issuer"
|
||||
COM_SPORTSMANAGER_SENDER="Sender"
|
||||
COM_SPORTSMANAGER_ISSUE_DATE="Issue date"
|
||||
COM_SPORTSMANAGER_BILL_ISSUER="Bill issuer"
|
||||
COM_SPORTSMANAGER_MULTIPLIER="Multiplier"
|
||||
COM_SPORTSMANAGER_ADDITIONAL_INFORMATION="Additional information"
|
||||
COM_SPORTSMANAGER_EMAIL_WAS_SEND="E-Mail was succesfully sent"
|
||||
COM_SPORTSMANAGER_EMAIL_WAS_NOT_SEND="E-Mail was not sent"
|
||||
COM_SPORTSMANAGER_OLD_DATE="Old Date"
|
||||
COM_SPORTSMANAGER_NEW_DATE="New Date"
|
||||
COM_SPORTSMANAGER_REASON_GAME_APPOINTMENT="Appointment reason"
|
||||
COM_SPORTSMANAGER_MATCH_RESCHEDULINGS="Match reschedulings"
|
||||
COM_SPORTSMANAGER_MATCH_RESCHEDULING="Match rescheduling"
|
||||
COM_SPORTSMANAGER_MATCH_SWAPPING_HELP="If home advantage is swapped, enter the same date"
|
||||
COM_SPORTSMANAGER_NOT_VALID_TIME="Not valid time"
|
||||
COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING="Do you really want to remove this match rescheduling?"
|
||||
COM_SPORTSMANAGER_REST_DAYS="Rest days"
|
||||
COM_SPORTSMANAGER_TRAINING_DAYS="Training days"
|
||||
+137
-14
@@ -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 `spieltag_titel` VARCHAR(32) NOT NULL DEFAULT '',"
|
||||
. "\n `spiel_nr` tinyint(4) DEFAULT NULL,"
|
||||
. "\n `heim_punkte` smallint(6) DEFAULT NULL,"
|
||||
. "\n `gast_punkte` smallint(6) DEFAULT NULL,"
|
||||
@@ -669,6 +670,9 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `ortsname` varchar(30) DEFAULT NULL,"
|
||||
. "\n `ortsteil` varchar(30) DEFAULT NULL,"
|
||||
. "\n `url` varchar(150) DEFAULT NULL,"
|
||||
. "\n `telefon` varchar(64) DEFAULT NULL,"
|
||||
. "\n `email` varchar(64) DEFAULT NULL,"
|
||||
. "\n `ruhetage` varchar(64) DEFAULT NULL,"
|
||||
. "\n `beschreibung` varchar(500) DEFAULT NULL,"
|
||||
. "\n `status` tinyint(1) NOT NULL DEFAULT '0',"
|
||||
. "\n PRIMARY KEY (`spielort_id`)"
|
||||
@@ -682,7 +686,8 @@ return new class () implements InstallerScriptInterface
|
||||
. "\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 `teamname` varchar(50) NOT NULL DEFAULT '',"
|
||||
. "\n `teamname_kurz` VARCHAR(24) NOT NULL DEFAULT '',"
|
||||
. "\n `tischtyp` varchar(200) DEFAULT NULL,"
|
||||
. "\n `tischeigenschaften` varchar(200) DEFAULT NULL,"
|
||||
. "\n `zusatzpunkte` float(6,2) DEFAULT NULL,"
|
||||
@@ -690,6 +695,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `heimspiel_wochentag` tinyint(4) DEFAULT NULL,"
|
||||
. "\n `heimspiel_uhrzeit` smallint(6) DEFAULT NULL,"
|
||||
. "\n `heimspielort_id` int(11) DEFAULT NULL,"
|
||||
. "\n `trainingstage` varchar(64) DEFAULT NULL,"
|
||||
. "\n `nichtraucherschutz` tinyint(4) DEFAULT '0',"
|
||||
. "\n `platz` smallint(6) DEFAULT NULL,"
|
||||
. "\n `gesamtpunkte` float(6,2) DEFAULT NULL,"
|
||||
@@ -903,6 +909,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `erster_tag` date NOT NULL DEFAULT '0000-00-00',"
|
||||
. "\n `letzter_tag` date DEFAULT NULL,"
|
||||
. "\n `kategorie` tinyint(4) DEFAULT '1',"
|
||||
. "\n `reminder_count` tinyint DEFAULT '0',"
|
||||
. "\n PRIMARY KEY (`turnier_id`),"
|
||||
. "\n KEY `saison_id` (`saison_id`),"
|
||||
. "\n KEY `veranstalter_id` (`veranstalter_id`)"
|
||||
@@ -1003,7 +1010,7 @@ return new class () implements InstallerScriptInterface
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_unbestaetigtes_ergebnis` ("
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_unbestaetigtes_ergebnis` ("
|
||||
. "\n `unbestaetigtes_ergebnis_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `begegnung_id` int(11) NOT NULL DEFAULT '0',"
|
||||
. "\n `vorschlagendes_team_id` int(11) NOT NULL DEFAULT '0',"
|
||||
@@ -1011,7 +1018,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `kommentar` varchar(255) DEFAULT NULL,"
|
||||
. "\n `vorgeschlagen` datetime DEFAULT NULL,"
|
||||
. "\n PRIMARY KEY (`unbestaetigtes_ergebnis_id`),"
|
||||
. "\n KEY `begegnung_id` (`begegnung_id`),"
|
||||
. "\n UNIQUE KEY `begegnung_id` (`begegnung_id`),"
|
||||
. "\n KEY `vorschlagendes_team_id` (`vorschlagendes_team_id`)"
|
||||
. "\n) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
@@ -1032,16 +1039,18 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `saison_id` int(11) NOT NULL DEFAULT '0',"
|
||||
. "\n `veranstalter_id` int(11) NOT NULL DEFAULT '0',"
|
||||
. "\n `bezeichnung` varchar(50) DEFAULT NULL,"
|
||||
. "\n `regelwerke_id` INT(11) NOT NULL DEFAULT '0',"
|
||||
. "\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 `spieltag_titel_zeigen` INT(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `erster_tag` date NOT NULL DEFAULT '0000-00-00',"
|
||||
. "\n `letzter_tag` date DEFAULT NULL,"
|
||||
. "\n `elo_wertung` tinyint(4) DEFAULT NULL,"
|
||||
. "\n `logo_url` TINYTEXT NOT NULL,"
|
||||
. "\n `ticker_logo_url` TINYTEXT NOT NULL,"
|
||||
. "\n `logo_url` TINYTEXT NOT NULL,"
|
||||
. "\n `ticker_logo_url` TINYTEXT NOT NULL,"
|
||||
. "\n `status` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `reihenfolge` tinyint(4) DEFAULT '1',"
|
||||
. "\n `kategorie` tinyint(4) DEFAULT '1',"
|
||||
@@ -1063,6 +1072,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `url` varchar(150) DEFAULT NULL,"
|
||||
. "\n `beschreibung` varchar(500) DEFAULT NULL,"
|
||||
. "\n `ausgetreten` tinyint(1) DEFAULT '0',"
|
||||
. "\n `verstecken` INT(4) NOT NULL DEFAULT '0',"
|
||||
. "\n PRIMARY KEY (`verein_id`),"
|
||||
. "\n KEY `veranstalter_id` (`veranstalter_id`)"
|
||||
. "\n) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
@@ -1091,16 +1101,19 @@ return new class () implements InstallerScriptInterface
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_verschieberegel` ("
|
||||
. "\n `verschieberegel_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `verschieberegel_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `bezeichnung` varchar(50) NOT NULL DEFAULT '',"
|
||||
. "\n `initial_ohne_termin` tinyint(1) NOT NULL DEFAULT '0',"
|
||||
. "\n `keine_gegenvorschlaege` tinyint(1) NOT NULL DEFAULT '0',"
|
||||
. "\n `initial_ohne_termin` tinyint(1) NOT NULL DEFAULT '0',"
|
||||
. "\n `keine_gegenvorschlaege` tinyint(1) NOT NULL DEFAULT '0',"
|
||||
. "\n `vorlaufzeit_tage` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `termine_minimal` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `termine_maximal` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `ablehnen` tinyint(1) NOT NULL DEFAULT '0',"
|
||||
. "\n PRIMARY KEY (`verschieberegel_id`)"
|
||||
. "\n) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
. "\n `ablehnen` tinyint(1) NOT NULL DEFAULT '0',"
|
||||
. "\n `begruendung_erforderlich` int(1) NOT NULL DEFAULT 0,"
|
||||
. "\n `vereine_berechtigt` int(1) NOT NULL DEFAULT 1,"
|
||||
. "\n `verband_berechtigt` int(1) NOT NULL DEFAULT 0,"
|
||||
. "\n PRIMARY KEY (`verschieberegel_id`)"
|
||||
. "\n) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
@@ -1113,7 +1126,69 @@ return new class () implements InstallerScriptInterface
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '103';";
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_regelwerke` ("
|
||||
. "\n `regelwerke_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `regelwerk` varchar(32) NOT NULL,"
|
||||
. "\n PRIMARY KEY (`regelwerke_id`),"
|
||||
. "\n UNIQUE KEY `regelwerk` (`regelwerk`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_verstoesse` ("
|
||||
. "\n `verstoesse_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `regelwerke_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `paragraph_spo` varchar(32) NOT NULL DEFAULT '',"
|
||||
. "\n `paragraph_go` varchar(32) NOT NULL DEFAULT '',"
|
||||
. "\n `verstoss` varchar(64) NOT NULL DEFAULT '',"
|
||||
. "\n `haupttext` text NOT NULL,"
|
||||
. "\n `zusatztext` text NOT NULL,"
|
||||
. "\n `gebuehr` smallint(3) NOT NULL DEFAULT 0,"
|
||||
. "\n `zusatzgebuehr` smallint(2) NOT NULL DEFAULT 0,"
|
||||
. "\n `zur_auswahl` tinyint(1) NOT NULL DEFAULT 1,"
|
||||
. "\n PRIMARY KEY (`verstoesse_id`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_ordnungsstrafen` ("
|
||||
. "\n `ordnungsstrafen_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `verstoesse_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `begegnung_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `team_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `aussteller_id` int(11) NOT NULL DEFAULT 0,"
|
||||
. "\n `ausstelldatum` datetime NOT NULL DEFAULT current_timestamp(),"
|
||||
. "\n `versender_id` int(11) DEFAULT NULL,"
|
||||
. "\n `versendedatum` datetime DEFAULT NULL,"
|
||||
. "\n `rechnungssteller_id` int(11) DEFAULT NULL,"
|
||||
. "\n `rechnungsdatum` datetime DEFAULT NULL,"
|
||||
. "\n `multiplikator` tinyint(1) NOT NULL DEFAULT 1,"
|
||||
. "\n `weitere_angaben` text NOT NULL,"
|
||||
. "\n PRIMARY KEY (`ordnungsstrafen_id`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_email_vorlagen` ("
|
||||
. "\n `email_vorlagen_id` int(11) NOT NULL AUTO_INCREMENT,"
|
||||
. "\n `vorlage` varchar(64) NOT NULL,"
|
||||
. "\n `betreff` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `von` varchar(64) NOT NULL DEFAULT '',"
|
||||
. "\n `an` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `cc` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `bcc` varchar(256) NOT NULL DEFAULT '',"
|
||||
. "\n `email_text` text NOT NULL,"
|
||||
. "\n PRIMARY KEY (`email_vorlagen_id`),"
|
||||
. "\n UNIQUE KEY `vorlage` (`vorlage`)"
|
||||
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'verbands_kuerzel', wert = 'tbe.';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '116';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
@@ -1121,11 +1196,11 @@ return new class () implements InstallerScriptInterface
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'spielerliste_elo', wert = '0';";
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'spielerliste_elo', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'ansprechpartner_ausblenden', wert = '0';";
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'ansprechpartner_ausblenden', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
@@ -1133,11 +1208,43 @@ return new class () implements InstallerScriptInterface
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'anzahl_mitglieder_zeigen', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'verband_anzeigen', wert = '1';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'turnierbaum_zeigen', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'ordnungsstrafen_verwenden', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'spalte_mitglieder_zeigen', wert = '1';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'enable_email_reminders', wert = '0';";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT INTO #__sportsmanager_verschieberegel (bezeichnung, initial_ohne_termin, keine_gegenvorschlaege, vorlaufzeit_tage, termine_minimal, termine_maximal, ablehnen)"
|
||||
. "\n VALUES ('Beliebig', '0', '0', '0', '1', '3', '0');";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE INTO `#__sportsmanager_email_vorlagen` (`email_vorlagen_id`, `vorlage`) VALUES (NULL, 'Ordnungsstrafe');";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT IGNORE INTO `#__sportsmanager_email_vorlagen` (`email_vorlagen_id`, `vorlage`) VALUES (NULL, 'Spielverlegung');";
|
||||
$db->setQuery($query);
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "INSERT #__sportsmanager_rangliste_system"
|
||||
. "\n SET systembezeichnung = 'Klostermann/Wahle (1 Punkt für letzten Platz)',"
|
||||
. "\n status = '1',"
|
||||
@@ -1625,5 +1732,21 @@ return new class () implements InstallerScriptInterface
|
||||
$query = "DROP TABLE IF EXISTS `#__sportsmanager_verteiler`;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "DROP TABLE IF EXISTS `#__sportsmanager_regelwerke`;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "DROP TABLE IF EXISTS `#__sportsmanager_verstoesse`;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "DROP TABLE IF EXISTS `#__sportsmanager_ordnungsstrafen`;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
|
||||
$query = "DROP TABLE IF EXISTS `#__sportsmanager_email_vorlagen`;";
|
||||
$db->setQuery( $query );
|
||||
if (!$db->execute()) { die($db->stderr(true)); }
|
||||
}
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<authorEmail>it@dtfb.de</authorEmail>
|
||||
<copyright>All rights reserved</copyright>
|
||||
<license>GNU/GPL</license>
|
||||
<version>2.0.0</version>
|
||||
<version>DEV</version>
|
||||
<description>Verwaltung von Spielern und Vereinen in Mannschafts- und Individualwettbewerben</description>
|
||||
<namespace path="src">Dtfb\Component\com_sportsmanager</namespace>
|
||||
<files folder="site">
|
||||
|
||||
Reference in New Issue
Block a user