Compare commits

..

100 Commits

Author SHA1 Message Date
MarvinF 7b1cc50943 Merge pull request #120 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage -> Prod merge
2025-07-29 18:30:28 +02:00
MarvinF 133a983685 Merge pull request #119 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev -> Stage merge
2025-07-29 18:28:39 +02:00
MarvinF 20b956b239 Merge pull request #118 from Deutscher-Tischfussballbund/feature/refactor-readme
refactor: remove test from readme
2025-07-29 18:21:05 +02:00
Marvin Flock fedb300d8f refactor: remove test from readme 2025-07-29 18:19:01 +02:00
MarvinF 07121c2233 Merge pull request #114 from Deutscher-Tischfussballbund/fix/issue-108-yootheme-path-fix
fix: add base url to yootheme images
2025-07-29 18:01:16 +02:00
MarvinF 8dab7fa74f Merge branch 'sportsmanager2-dev' into fix/issue-108-yootheme-path-fix 2025-07-29 17:59:55 +02:00
jmeyer26 1bd53893a8 Merge pull request #83 from Deutscher-Tischfussballbund/sportsmanager2-juergen
Fix: #74 Player picture improvements & remove 'Ranglisten' YooTheme Lazyloading optimizations
2025-07-22 05:49:22 +02:00
Jürgen Meyer acfcbb1010 Funktion yoothemeBild in rangliste wird wieder aufgerufen. 2025-07-22 05:46:23 +02:00
Marvin Flock a6aee26211 fix: add base url to yootheme images 2025-07-21 20:17:20 +02:00
MarvinF b24203ccb9 Merge pull request #109 from Deutscher-Tischfussballbund/sportsmanager2-issue108
Mannschaftsbilder in Teamsport zu klein gefixt (issue #108)
2025-07-21 19:43:44 +02:00
Jürgen Meyer 2ff39cf086 Fehler Versatz Header Tabelle wenn Bilder fehlen gefixt. 2025-07-16 10:34:40 +02:00
Jürgen Meyer 0729291afc Fehler Anführungszeichen korrigiert. 2025-07-13 23:34:51 +02:00
Jürgen Meyer f3c2040632 Mannschaftsbilder in Teamsport zu klein gefixt (issue #108) 2025-07-02 08:19:44 +02:00
Jürgen Meyer 1235edde82 Letzte Änderung wegen Konflikten rückgängig gemacht. 2025-07-01 12:37:41 +02:00
Jürgen Meyer 763fd7d386 Tabellenformatierung angepasst (issue #108) 2025-07-01 12:31:03 +02:00
MarvinF 77e2c6e910 Merge pull request #77 from Deutscher-Tischfussballbund/issues/43
fix: #43 - remove css3.js reference
2025-06-30 18:57:43 +02:00
MarvinF a2aee3b135 Merge pull request #82 from Deutscher-Tischfussballbund/issues/73_missing-dropdown-in-league
fix: add season dropdown to events, even if there is just one event
2025-06-30 18:57:10 +02:00
MarvinF 9a7f8acc3b Merge pull request #107 from Deutscher-Tischfussballbund/fix/64_division_by_zero
Fix: add division by zero check, return zero instead of exception
2025-06-30 18:55:47 +02:00
Jürgen Meyer 9091b22859 Konfilkt mit README.md 2025-06-30 00:52:54 +02:00
Jürgen Meyer 839b27756a Konflikt mit README.md 2025-06-30 00:50:03 +02:00
Jürgen Meyer 0d0ee08199 Weitere Optimierungen der Tabellen Rangliste, Turnierergebnisse und Spielerstatistik 2025-06-30 00:16:05 +02:00
Jürgen Meyer 6609a4ca78 Änderungen nach Kommentaren in PR83 überarbeitet. 2025-06-29 19:00:59 +02:00
Marvin Flock 4ecf48d02e fix: add division by zero check, return zero instead of exception 2025-06-29 16:44:18 +02:00
MarvinF 40633f864a Merge pull request #106 from Deutscher-Tischfussballbund/sportsmanager2-stage
stage to prod pr
2025-06-25 17:23:09 +02:00
MarvinF 8e6aa127c6 Merge pull request #105 from Deutscher-Tischfussballbund/sportsmanager2-dev
dev to stage pr
2025-06-25 17:21:52 +02:00
MarvinF 9289843cb1 Update README.md 2025-06-25 17:19:33 +02:00
MarvinF 7a70500175 Merge pull request #76 from Deutscher-Tischfussballbund/php-debugging
feat: add debugging for php in docker
2025-06-25 17:14:02 +02:00
MarvinF 31b8e5251e Update release-drafter_extension.yml 2025-06-25 01:22:57 +02:00
MarvinF 455f845ab0 Update build_release.yml 2025-06-25 01:21:52 +02:00
MarvinF f55d89827a Merge pull request #103 from Deutscher-Tischfussballbund/sportsmanager2-stage
stage to prod pr
2025-06-25 01:00:10 +02:00
MarvinF 874e06e061 Merge pull request #102 from Deutscher-Tischfussballbund/sportsmanager2-dev
dev to stage pr
2025-06-25 00:59:11 +02:00
MarvinF 83b8e1c25f Create release-drafter_github.yml 2025-06-25 00:52:06 +02:00
MarvinF 3c9fac7e1a Rename release-drafter.yml to release-drafter_extension.yml 2025-06-25 00:50:45 +02:00
MarvinF 4ec02e5f02 Update build_release.yml 2025-06-25 00:49:57 +02:00
MarvinF 4d1573729d Merge pull request #101 from Deutscher-Tischfussballbund/sportsmanager2-stage
stage to prod PR
2025-06-25 00:36:39 +02:00
MarvinF 6da371569a Merge pull request #100 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev to Stage PR
2025-06-25 00:35:48 +02:00
MarvinF fdede4a4a7 Delete .github/release-drafter_github.yml 2025-06-25 00:31:36 +02:00
MarvinF 7ced30cf5b Rename release-drafter_extension.yml to release-drafter.yml 2025-06-25 00:31:08 +02:00
MarvinF 934b5b4971 Update build_release.yml 2025-06-25 00:30:35 +02:00
MarvinF 085e5a8aeb Merge pull request #99 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage to Prod PR
2025-06-24 23:29:31 +02:00
MarvinF 53ada7c6b0 Merge pull request #98 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev to Stage PR
2025-06-24 23:28:19 +02:00
MarvinF 29dbfaeea4 Update build_release.yml 2025-06-24 23:25:58 +02:00
MarvinF 95e02435fd Merge pull request #97 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage to Prod PR
2025-06-24 23:06:32 +02:00
MarvinF 32eacde07d Merge pull request #96 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev to Stage PR
2025-06-24 23:05:43 +02:00
MarvinF 2b19aee00f Update release-drafter_extension.yml 2025-06-24 23:04:06 +02:00
MarvinF 8b6ad5103c Update release-drafter_github.yml 2025-06-24 23:03:51 +02:00
MarvinF 743f2b4013 Update release-drafter_github.yml 2025-06-24 22:53:45 +02:00
MarvinF 2d2a124239 Update release-drafter_extension.yml 2025-06-24 22:53:23 +02:00
MarvinF d1e0dec74a Update autolabel.yaml 2025-06-24 22:52:56 +02:00
MarvinF c4c3ea88fc Merge pull request #95 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage to Prod PR
2025-06-24 22:42:28 +02:00
MarvinF 761e04b6f2 Merge pull request #94 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev to Stage PR
2025-06-24 22:41:27 +02:00
MarvinF 089796d201 Create autolabel.yaml 2025-06-24 22:37:05 +02:00
MarvinF e2b6f48498 Update release-drafter_github.yml 2025-06-24 22:33:49 +02:00
MarvinF 3422813152 Update release-drafter_github.yml 2025-06-24 22:32:31 +02:00
MarvinF 67b46f121a Update release-drafter_extension.yml 2025-06-24 22:31:47 +02:00
MarvinF 6c3c9badfd Create release-drafter_github.yml 2025-06-24 22:06:27 +02:00
MarvinF e05d107af3 Rename release-drafter.yml to release-drafter_extension.yml 2025-06-24 22:05:51 +02:00
MarvinF 2f94c29c7e Update build_release.yml 2025-06-24 22:05:24 +02:00
MarvinF b656cb5df3 Merge pull request #93 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage to prod PR
2025-06-24 21:49:28 +02:00
MarvinF af97c59960 Merge pull request #92 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev to Stage PR
2025-06-24 21:48:48 +02:00
MarvinF ebb3580fad Update build_release.yml 2025-06-24 21:47:56 +02:00
MarvinF 4a313d5914 Merge pull request #91 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage to prod PR
2025-06-24 21:23:42 +02:00
MarvinF 771856b842 Merge pull request #90 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev to Stage PR
2025-06-24 21:22:59 +02:00
MarvinF 0c4d0820d1 Update build_release.yml 2025-06-24 21:22:00 +02:00
MarvinF 8a0ad8d8e9 Merge pull request #89 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage 2 Prod PR
2025-06-24 21:06:54 +02:00
MarvinF 03a448f4cc Merge pull request #88 from Deutscher-Tischfussballbund/sportsmanager2-dev
stage PR
2025-06-24 21:05:39 +02:00
MarvinF 9d75619c2c Update release-drafter.yml 2025-06-24 20:28:20 +02:00
MarvinF a1890c51c0 feat: add release notes to extension installation 2025-06-24 20:20:28 +02:00
Marvin Flock 51ee656f66 feat: add release notes to extension installation 2025-06-24 20:16:51 +02:00
MarvinF 6d9df0e769 Create release-drafter.yml 2025-06-24 20:11:53 +02:00
MarvinF a74bcb0ee8 Update build_release.yml 2025-06-24 20:10:53 +02:00
MarvinF 6399eab0af Update build_release.yml 2025-06-24 19:33:06 +02:00
MarvinF 9cde84a1d0 Update build_snapshot.yml 2025-06-24 19:32:50 +02:00
MarvinF 76738ec307 Update build_snapshot.yml 2025-06-24 19:30:36 +02:00
MarvinF 59e1a4571b Create prod release pipeline 2025-06-24 19:29:17 +02:00
Tim 7952c95217 Merge branch 'sportsmanager2-dev' into php-debugging 2025-06-24 18:58:07 +02:00
Jürgen Meyer 56d8be9a55 Hilfskommentare in Programm zu issue #74 rausgelöscht. 2025-06-24 13:52:32 +02:00
Jürgen Meyer 29f0e6842b issue #74 Player image size (Details siehe issue #74) 2025-06-24 13:29:20 +02:00
Marvin Flock 22e96bf49d fix: add season dropdown to events, even if there is just one event 2025-06-23 21:12:43 +02:00
MarvinF 1e4e34ef71 Merge pull request #65 from Deutscher-Tischfussballbund/tfvb_league_admin_infos
Tfvb league admin infos
2025-06-22 21:27:50 +02:00
DTFB-PaulF d98f7da7b9 Merge pull request #78 from Deutscher-Tischfussballbund/feature-test-paul-jürgen
Test2
2025-06-19 19:24:28 +02:00
Jürgen Meyer 94e768ef51 Test2 2025-06-19 19:19:21 +02:00
Marvin Flock 36dbfdb7c4 fix: check for null since str_starts_with is typed 2025-06-17 22:01:07 +02:00
Marvin Flock 5cfd8f3c1a fix: remove non existent css reference 2025-06-17 22:00:08 +02:00
Marvin Flock 1d7369e456 Merge branch 'sportsmanager2-stage' into sportsmanager2-dev 2025-06-17 21:36:16 +02:00
Marvin Flock de467c0d4a feat: add debugging for php in docker 2025-06-17 21:29:15 +02:00
Tim 0225e49beb Updated/added envs in README.md
Updated/added environments
2025-06-17 00:08:32 +02:00
Jürgen Meyer e1ecec502b Überarbeitung Startseite: 2025-06-15 16:22:58 +02:00
Jürgen Meyer 000731a289 In Kategorieliste Verbandsorgane hinzugefügt. 2025-06-13 11:40:01 +02:00
Wieland Hagen 385bef0752 Admin League Team View: add tooltip 2025-06-12 17:55:05 +02:00
Jürgen Meyer 902ae55a9a Formular Veranstaltung übersichtlicher gestaltet 2025-06-12 17:04:20 +02:00
Jürgen Meyer feb08ff903 Falsche Versionsnr in script.php. Style von Formular Export Spielberichte optimiert. 2025-06-12 10:50:57 +02:00
Jürgen Meyer a922b11b6d Korrektur der Farben in Formular Gruppenspiele erzeugen (issue #71) 2025-06-11 14:52:22 +02:00
Marvin Flock 254d556899 Merge branch 'dev' into sportsmanager2-dev 2025-06-10 17:41:28 +02:00
MarvinF 984156ca95 Update build_snapshot.yml 2025-06-09 16:48:13 +02:00
MarvinF 6ae7388a44 Update build_snapshot.yml 2025-06-09 16:40:49 +02:00
MarvinF 4f78e31277 Create build_snapshot.yml 2025-06-09 16:40:12 +02:00
Wieland Hagen 2dddfa473a Admin League Games View: display "+0d" for 0 day shifts, fix SQL query 2025-05-11 21:26:22 +02:00
Wieland Hagen 82c0f3a58b Admin League Games View: show various additional information
- mark teams which have requested a game shift
- display amount of time that a game has been shifted
- display time that has passed between game and result proposal, and result proposal and result validation
- mark games with incomplete player data
2025-05-04 21:04:36 +02:00
Wieland Hagen a6fe497cad Admin League Team View: show number of shifts that each team is responsible for 2025-05-04 20:59:06 +02:00
24 changed files with 1367 additions and 1050 deletions
+25
View File
@@ -0,0 +1,25 @@
name-template: "Release $COMPLETE"
tag-template: "v$COMPLETE"
draft: false
exclude:
pulls: true
exclude-labels:
- changelog-ignore
categories:
- title: "Features"
labels: ["feature", "enhancement"]
- title: "Fixes"
labels: ["bug"]
- title: "Maintenance"
labels: ["chore", "refactor"]
change-template: "- $TITLE [#$NUMBER]"
template: |
# Release $RESOLVED_VERSION
## Changes
$CHANGES
+23
View File
@@ -0,0 +1,23 @@
name-template: "Release $COMPLETE"
tag-template: "v$COMPLETE"
draft: false
exclude:
pulls: true
exclude-labels:
- changelog-ignore
categories:
- title: "Features"
labels: ["feature", "enhancement"]
- title: "Fixes"
labels: ["bug"]
- title: "Maintenance"
labels: ["chore", "refactor"]
change-template: "- $TITLE [#$NUMBER]"
template: |
## Changes
$CHANGES
+25
View File
@@ -0,0 +1,25 @@
name: Auto-label PRs
on:
pull_request:
types: [opened, reopened, synchronize, edited]
jobs:
label-changelog-ignore:
runs-on: ubuntu-latest
steps:
- name: Label PRs
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const base = context.payload.pull_request.base.ref;
const head = context.payload.pull_request.head.ref;
if ((base === 'sportsmanager2-prod' && head === 'sportsmanager2-stage') || (base === 'sportsmanager2-stage' && head === 'sportsmanager2-dev')) {
await github.rest.issues.addLabels({
...context.repo,
issue_number: context.payload.pull_request.number,
labels: ['changelog-ignore']
});
}
+81
View File
@@ -0,0 +1,81 @@
# This workflow will run release using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Sportsmanager Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # run only on version tags like v1.0.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: sportsmanager2-prod
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install npm dependencies
run: npm ci
- name: Generate release notes
id: release_notes_extension
uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter_extension.yml
version: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Save release notes to file
run: |
echo "${{ steps.release_notes_extension.outputs.body }}" > RELEASE_NOTES.md
- name: Run build script
run: npm run release
- name: Generate release notes
id: release_notes_github
uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter_github.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Save release notes to file
run: |
echo "${{ steps.release_notes_github.outputs.body }}" > RELEASE_NOTES.md
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: "${{ github.ref_name }}"
name: "Release ${{ github.ref_name }}"
files: package/packages/com_sportsmanager.zip
body_path: "RELEASE_NOTES.md"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete draft release via API # workaround: remove leftover draft by release-drafter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
run: |
drafts=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$REPO/releases | jq '.[] | select(.draft == true)')
if [ -n "$drafts" ]; then
id=$(echo "$drafts" | jq -r '.id')
curl -s -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$REPO/releases/$id
echo "Deleted draft release with ID: $id"
else
echo "No draft releases found"
fi
+2 -2
View File
@@ -6,7 +6,7 @@ name: Snapshot Release
on:
push:
tags:
- 'v*-snapshot' # run only on version tags like v1.0.0-snapshot
- 'v[0-9]+.[0-9]+.[0-9]+-snapshot' # run only on version tags like v1.0.0-snapshot
# - 'v*' # Run only on version tags like v1.0.0
jobs:
build:
@@ -33,7 +33,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
prerelease: true
name: SNAPSHOT
name: "Snapshot ${{ github.ref_name }}"
files: package/packages/com_sportsmanager.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+48 -7
View File
@@ -1,16 +1,25 @@
# SportsManager
## Deploy status
## DEV/STAGE environments
### DEV environment
[![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/173/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/173) [Preview: sportsmanager.s10.kicktemp.dev](https://sportsmanager.s10.kicktemp.dev)
| LV | HOSTER | DOMAIN | BRANCH |
| ------ | -------- | ------------------------------------------------------------ | -------------------- |
| DTFB | Kicktemp | [stage.dtfb.de](https://stage.dtfb.de) | dev |
| TFVHH | Kicktemp | [stage.kickern-hamburg.de](https://stage.kickern-hamburg.de) | dev |
| STFVH | DTFB | [stage.stfv.de](https://stage.stfv.de/) | sportsmanager2-stage |
| MTFV | DTFB | [stage.mtfv.de](https://stage.mtfv.de/) | ? |
| TFVSH | DTFB | [relaunch.tfvsh.de](https://relaunch.tfvsh.de) | ? |
[![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/204/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/204) [Preview: stage.kickern-hamburg.de](https://stage.kickern-hamburg.de)
### PROD environment
[![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/218/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/218) [Preview: dtfb.de](https://dtfb.de)
## PROD environments
[![buddy pipeline](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/219/badge.svg?token=de39e4e4c47351d592b59a5d1e26a41cf5196861f67d4499bbab990600468001 "buddy pipeline")](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/219) [Preview: kickern-hamburg.de](https://kickern-hamburg.de)
| LV | HOSTER | DOMAIN | BRANCH |
| ------ | -------- | ------------------------------------------------ | ------------------- |
| DTFB | Kicktemp | [dtfb.de](https://dtfb.de) | production |
| TFVHH | Kicktemp | [kickern-hamburg.de](https://kickern-hamburg.de) | production |
| MTFV | DTFB | [mtfv.de](https://mtfv.de/) | sportsmanager2-prod |
| TFVSH | DTFB | [tfvsh.de](https://tfvsh.de/) | sportsmanager2-prod |
| STFVH | DTFB | [stfv.de](https://stfv.de/) | sportsmanager2-prod |
## Test setup
@@ -40,5 +49,37 @@ joomla specific database prefixes like #__
To set it up, insert into the configuration popup which follows after you enable the framework support:
Joomla install path: `./data/joomla_data`
JConfig: `./data/joomla_data/configuration.php`
> This works only with mounted volumes. However, mounted volumes will slow down the joomla instance significantly.
> The current setup does not use mounted volumes.
> An alternative would be to download joomla and use that installation
### Debugging (with Docker/Intellij)
1. Start Docker Container (see above)
2. Create a terminal for that container
```shell
docker exec -it <container_name> bash
```
3. install xdebug within the container since joomla does not come with xdebug preinstalled
```shell
pecl install xdebug
```
4. restart the container
5. In Intellij Go to [File | Settings | Languages & Frameworks | PHP | Servers](jetbrains://idea/settings?name=Languages+%26+Frameworks--PHP--Servers) and setup your server
| | |
|----------|-----------|
| name | anything |
| host | localhost |
| port | 8080 |
| debugger | xdebug |
use the path mapping and map the repo structure to the container content
| File/Directory | path on server |
|------------------------------------------------------------------|----------------------------------------|
| \<path>/com_sportsmanager/src/structure/administrator/components | /var/www/html/administrator/components |
| \<path>/com_sportsmanager/src/structure/components | /var/www/html/components |
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
+2
View File
@@ -0,0 +1,2 @@
This is no official release!
The Release and the release notes will be generated by github actions
+1
View File
@@ -30,6 +30,7 @@ services:
MYSQL_USER: joomla
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
TZ: Europe/Berlin
volumes:
- joomla_database:/var/lib/mysql
networks:
+9
View File
@@ -1924,3 +1924,12 @@ opcache.file_cache = /tmp/opcache_file
; List of headers files to preload, wildcard patterns allowed.
;ffi.preload=
zend_extension=xdebug.so
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.client_host=host.docker.internal
xdebug.client_port=9003
xdebug.log=/tmp/xdebug.log
xdebug.discover_client_host=false
xdebug.log_level=7
+5 -1
View File
@@ -43,7 +43,7 @@ export const config = {
watch: ['src/structure/**/*.{php,html,xml,ini,less,json,js,css}'],
},
copyrelease: {
src: ['src/structure/**/**', 'src/structure/**/.*', '!src/structure/**/*.{php,html,xml,ini,less,json,js,css}', '!src/structure/**/.*.{php,html,xml,ini,less,json,js,css}'],
src: ['RELEASE_NOTES.md','src/structure/**/**', 'src/structure/**/.*', '!src/structure/**/*.{php,html,xml,ini,less,json,js,css}', '!src/structure/**/.*.{php,html,xml,ini,less,json,js,css}'],
replacesrc: ['src/structure/**/**.{php,html,xml,ini,less,json,js,css}', 'src/structure/**/.*.{php,html,xml,ini,less,json,js,css}'],
dest: 'releasefiles/'
},
@@ -90,6 +90,10 @@ export const config = {
{
src: './releasefiles/plugins/system/kickyootheme/**/**',
dest: 'sourcefiles/plg_system_kickyootheme'
},
{
src: './releasefiles/RELEASE_NOTES.md',
dest: 'sourcefiles/com_sportsmanager/admin/'
}
],
package: [
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "sportsmanager",
"description": "",
"version": "0.0.1",
"version": "2.0.0",
"scripts": {
"boilerplate": "cross-env NODE_ENV=development gulp boilerplate",
"build": "cross-env NODE_ENV=production gulp build",
@@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/nielsnuebel/com_sportsmanager.git"
"url": "https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git"
},
"keywords": [],
"author": {
@@ -24,6 +24,15 @@ class HtmlView extends BaseHtmlView
?>
<h3><?php echo Text::_('COM_SPORTSMANAGER'); ?> &#8211; Created by Sven Nickel | Maintained by DTFB</h3>
<?php
$notesPath = JPATH_COMPONENT_ADMINISTRATOR . '/RELEASE_NOTES.md';
if (file_exists($notesPath)) {
$notes = file_get_contents($notesPath);
echo '<div style="padding:1em;"><h3>Release Notes</h3><pre>' .
htmlspecialchars($notes) . '</pre></div>';
}
// Display the template
parent::display($tpl);
}
@@ -5183,6 +5183,9 @@ function adminKategorien(): void
$kategorien[2] = array();
$kategorien[3] = array();
$kategorien[4] = array();
$kategorien[5] = array();
$kategorien[6] = array();
$kategorien[7] = array();
foreach ($rows as $row)
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
@@ -5216,12 +5219,12 @@ function adminKategorien(): void
$kategorien[4] = array();
$kategorien[5] = array();
$kategorien[6] = array();
$kategorien[7] = array();
foreach ($rows as $row)
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
for ($typ = 1; $typ <= 6; $typ++) {
for ($typ = 1; $typ <= 7; $typ++) {
for ($nummer = 1; $nummer <= 50; $nummer++) {
$bezeichnung = $db->escape($jInput->get('bezeichnung_' . $typ . '_' . $nummer, '', 'RAW'));
if (empty($bezeichnung)) {
@@ -7200,7 +7203,16 @@ function adminMannschaften(): void
$query = "SELECT #__sportsmanager_team.*, #__sportsmanager_verein.vereinsname, #__sportsmanager_spielort.*,"
. "\n (SELECT COUNT(*) FROM #__sportsmanager_mitglied_von_team WHERE #__sportsmanager_team.team_id = #__sportsmanager_mitglied_von_team.team_id AND NOT ausgetreten) AS mitglieder_aktiv,"
. "\n (SELECT COUNT(*) FROM #__sportsmanager_mitglied_von_team WHERE #__sportsmanager_team.team_id = #__sportsmanager_mitglied_von_team.team_id) AS mitglieder,"
. "\n (SELECT COUNT(*) FROM #__sportsmanager_begegnung WHERE heim_team_id = #__sportsmanager_team.team_id OR gast_team_id = #__sportsmanager_team.team_id) AS begegnungen"
. "\n (SELECT COUNT(*) FROM #__sportsmanager_begegnung WHERE heim_team_id = #__sportsmanager_team.team_id OR gast_team_id = #__sportsmanager_team.team_id) AS begegnungen,"
. "\n (SELECT COUNT(team_id) FROM #__sportsmanager_begegnung_historie"
. "\n WHERE begegnung_historie_id IN ("
. "\n SELECT MIN(begegnung_historie_id) AS historie_id FROM #__sportsmanager_begegnung_historie "
. "\n WHERE aktion IN (0, 3) AND team_id in "
. "\n (SELECT team_id FROM #__sportsmanager_team WHERE veranstaltung_id = $veranstaltungId)"
. "\n GROUP BY begegnung_id"
. "\n )"
. "\n AND team_id = #__sportsmanager_team.team_id"
. "\n ) AS anzahl_verschiebungen"
. "\n FROM #__sportsmanager_team"
. "\n LEFT JOIN #__sportsmanager_verein ON #__sportsmanager_verein.verein_id = #__sportsmanager_team.verein_id"
. "\n LEFT JOIN #__sportsmanager_spielort ON #__sportsmanager_spielort.spielort_id = #__sportsmanager_team.heimspielort_id"
@@ -8872,7 +8884,56 @@ function adminBegegnungen(): void
$query = "SELECT t1.*, t2.teamname AS heim_name, t3.teamname AS gast_name, t4.unbestaetigtes_ergebnis_id, t4.zwischenergebnis, t2.nichtraucherschutz AS heim_nichtraucherschutz, t3.nichtraucherschutz AS gast_nichtraucherschutz,"
. "\n EXISTS(SELECT * FROM #__sportsmanager_begegnung_historie USE INDEX (begegnung_id) WHERE #__sportsmanager_begegnung_historie.begegnung_id = t1.begegnung_id AND aktion IN (1, 5)) AS verlegt,"
. "\n (SELECT IF(#__sportsmanager_begegnung_historie.aktion NOT IN (0, 3, 4), NULL, #__sportsmanager_begegnung_historie.eingetragen) AS eingetragen FROM #__sportsmanager_begegnung_historie USE INDEX (begegnung_id) WHERE #__sportsmanager_begegnung_historie.begegnung_id = t1.begegnung_id ORDER BY begegnung_historie_id DESC LIMIT 1) AS verlegung_eingetragen"
. "\n (SELECT IF(#__sportsmanager_begegnung_historie.aktion NOT IN (0, 3, 4), NULL, #__sportsmanager_begegnung_historie.eingetragen) AS eingetragen FROM #__sportsmanager_begegnung_historie USE INDEX (begegnung_id) WHERE #__sportsmanager_begegnung_historie.begegnung_id = t1.begegnung_id ORDER BY begegnung_historie_id DESC LIMIT 1) AS verlegung_eingetragen,"
. "\n UNIX_TIMESTAMP(t1.zeitpunkt) AS termin_spiel,"
. "\n ("
. "\n SELECT UNIX_TIMESTAMP(zeitpunkt)"
. "\n FROM #__sportsmanager_begegnung_historie"
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 2"
. "\n ORDER BY begegnung_historie_id ASC"
. "\n LIMIT 1"
. "\n ) AS termin_original,"
. "\n ("
. "\n SELECT team_id"
. "\n FROM #__sportsmanager_begegnung_historie"
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion IN (0, 3)"
. "\n ORDER BY begegnung_historie_id ASC"
. "\n LIMIT 1"
. "\n ) AS verantwortliches_team,"
. "\n ("
. "\n SELECT UNIX_TIMESTAMP(zeitpunkt)"
. "\n FROM #__sportsmanager_begegnung_historie"
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 1"
. "\n ORDER BY begegnung_historie_id ASC"
. "\n LIMIT 1"
. "\n ) AS termin_akzeptiert,"
. "\n ("
. "\n SELECT UNIX_TIMESTAMP(eingetragen)"
. "\n FROM #__sportsmanager_begegnung_historie"
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 6"
. "\n ORDER BY begegnung_historie_id ASC"
. "\n LIMIT 1"
. "\n ) AS ergebnis_vorgeschlagen,"
. "\n ("
. "\n SELECT UNIX_TIMESTAMP(eingetragen)"
. "\n FROM #__sportsmanager_begegnung_historie"
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 7"
. "\n ORDER BY begegnung_historie_id ASC"
. "\n LIMIT 1"
. "\n ) AS ergebnis_akzeptiert,"
. "\n ("
. "\n SELECT COUNT(*) FROM #__sportsmanager_teamspiel"
. "\n WHERE begegnung_id = t1.begegnung_id"
. "\n AND (heim_spieler_1_id = 0 OR heim_spieler_2_id = 0 OR gast_spieler_1_id = 0 OR gast_spieler_2_id = 0)"
. "\n ) AS fehlende_spieler"
. "\n FROM #__sportsmanager_begegnung AS t1"
. "\n LEFT JOIN #__sportsmanager_team AS t2 ON t1.heim_team_id = t2.team_id"
. "\n LEFT JOIN #__sportsmanager_team AS t3 ON t1.gast_team_id = t3.team_id"
@@ -11255,6 +11316,7 @@ function adminBegegnungenExportForm(): void
// Veranstaltung ermitteln
$query = "SELECT * FROM #__sportsmanager_veranstaltung WHERE veranstaltung_id = $veranstaltungId";
$db->setQuery($query);
if (!$db->execute()) {
die($db->stderr(true));
@@ -2323,6 +2323,10 @@ function mp_mult_($p1, $p2): float|int
*/
function mp_div_($p1, $p2): float|int
{
if ($p2 == 0) {
Log::add("Division by zero detected in mp_div_: divisor was 0. Returning 0 as fallback.", Log::WARNING, "com_sportsmanager");
return 0;
}
return $p1 / $p2;
}
@@ -71,7 +71,7 @@ if ($task == "spielerbild") {
terminDokument();
} else if ($task == "spieler_details") {
spielerDetails();
} else if (str_starts_with($task, "admin_")) {
} else if ($task !== null && str_starts_with($task, "admin_")) {
// in some cases there are no breaks needed due to no return from method
switch ($task) {
case 'admin_einstellungen':
@@ -1577,8 +1577,12 @@ function veranstaltung(): void
}
}
$showSeasons = false;
if (count($saisons) > 1) {
$showSeasons = true;
}
// Anzeigen
HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id);
HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons, $saisons, $filter_saison_id);
if ($veranstaltung->tabellenwertung != 0)
tabelle($veranstaltung, $spieltag, true);
@@ -382,7 +382,7 @@ function yoothemeBild($typ, $id, $alternativ, $resize = '', $zusatz = ""): ?stri
else
return null;
$bildpfad = "/images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
$bildpfad = SPORTSMANAGER_JOOMLA_URL . "images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
return '<img class="el-image" data-src="' . $bildpfad . $resize . '" ' . $zusatz . ' uk-img />';
}
@@ -140,13 +140,6 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
<a href="<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>"
class="readon<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo Text::_('COM_SPORTSMANAGER_LIVE_TICKER'); ?> &hellip;</a><br/>
<?php
/*
<a href="javascript:openwindow('<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>',screen.width,725);" class="readon<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php echo Text::_( 'COM_SPORTSMANAGER_LIVE_TICKER' ); ?> &hellip;(no menu)</a>
*/
?>
</td>
</tr>
</table>
@@ -158,16 +151,15 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
}
}
static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id): void
static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons = false, $seasons = [], $filter_saison_id = 0): void
{
global $params;
?>
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
<tr>
<th style="width: 30px" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"></th>
<th style="text-align: left" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<!--img src="images/M_images/arrow.png" border="0"/--> <a
<a
href="<?php echo SportsManagerURL('&task=veranstaltungen#vid' . $veranstaltung->veranstaltung_id); ?>">
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a>
&gt; <?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
@@ -226,9 +218,40 @@ static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltun
?>
</H2>
</div>
</td>
</tr>
</table>
<?php
if (($showSeasons && count($seasons) > 1)) {
?>
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr>
<td nowrap>
<label for="filter_saison_id"><?php echo Text::_('COM_SPORTSMANAGER_SEASON'); ?>
:</label>
<select class="uk-select uk-form-width-medium" name="filter_saison_id"
id="filter_saison_id" size="1" onChange="document.adminForm.submit();">
<?php
foreach ($seasons as $season)
echo "<option value=\"" . $season->saison_id . "\" " . ($filter_saison_id == $season->saison_id ? "selected" : "") . ">" . htmlentities_utf8($season->saisonbezeichnung) . "</option>";
?>
</select>
<input type="submit" name="ok" value="<?php echo Text::_('COM_SPORTSMANAGER_GO'); ?>"
class="button uk-button uk-button-primary"/>
</td>
<td>&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
</div>
<input type="hidden" name="task" value="veranstaltungen"/>
</form>
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>">&nbsp;</span>
<?php
}
?>
</div>
<?php
}
@@ -538,8 +561,8 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
?>
<div class="uk-overflow-auto">
<table
class="uk-table uk-table-hover uk-table-divider uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
class="uk-table-hover uk-table-divider uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php
if ($platzierung_anzeigen) {
@@ -569,10 +592,6 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
<?php
}
?>
<td nowrap>
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
<tr>
<td>
<?php
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
@@ -601,9 +620,9 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
<?php
if ($bilder_anzeigen_1) {
?>
<td style="width: 32px">
<td style="width: 70px">
<?php
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
@@ -611,19 +630,16 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
}
if ($bilder_anzeigen_2) {
?>
<td style="width: 32px">
<td style="width: 70px">
<?php
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
?>
</tr>
</table>
</td>
</tr>
<?php
}
@@ -649,7 +665,7 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpielerIds, $meldungenSpielerGeschlechter, $meldungenSpielerNamen, $meldungenSpielerBilderAusblenden, $spiele, $vorherige_turnierdisziplin_id, $naechste_turnierdisziplin_id, $platzierung_anzeigen, $details_anzeigen): void
{
global $params;
$bildID = 0;
?>
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
<tr>
@@ -658,7 +674,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
<!--img src="images/M_images/arrow.png" border="0"/--> <a
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> &gt; <a
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>"><?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>">
<?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
&gt; <?php echo htmlentities_utf8($disziplin->disziplin); ?>
</th>
<?php
@@ -699,7 +716,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
<td nowrap>
<?php
if (!empty($turnier->turnierort)) echo $turnier->turnierort . ", ";
echo FormatiertesDatum($disziplin->beginn) . " " . Text::_('COM_SPORTSMANAGER_HOUR') . ", " . $disziplin->teilnehmer . Text::_('COM_SPORTSMANAGER_MESSAGES');
echo FormatiertesDatum($disziplin->beginn) . " " . Text::_('COM_SPORTSMANAGER_HOUR') . ", " . $disziplin->teilnehmer . " " . Text::_('COM_SPORTSMANAGER_MESSAGES');
?>
</td>
</tr>
@@ -746,7 +763,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
if (($rundenstufe == 0 || $rundenstufe == 10) && count($meldungen[$rundenstufe]) > 0) {
?>
<div class="uk-overflow-auto">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php
if ($platzierung_anzeigen) {
@@ -776,10 +794,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
<?php
}
?>
<td nowrap>
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
<tr>
<td>
<?php
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
@@ -805,31 +819,17 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
}
?>
</td>
<td style="text-align: center;">
<?php
if ($bilder_anzeigen_1) {
?>
<td style="width: 32px">
<?php
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
if ($bilder_anzeigen_2) {
?>
<td style="width: 32px">
<?php
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
?>
</tr>
</table>
</td>
</tr>
<?php
@@ -851,10 +851,12 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
}
?>
<div class="uk-overflow-auto">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th style="text-align: left" nowrap>
<strong><?php echo Text::_('COM_SPORTSMANAGER_WINNER'); ?></strong></th>
<th id="bildID_<?php echo $bildID++; ?>"></th>
<?php
if ($ergebnis_detailliert_anzeigen) {
?>
@@ -865,6 +867,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
}
?>
<th style="text-align: left" nowrap><?php echo Text::_('COM_SPORTSMANAGER_LOSER'); ?></th>
<th id="bildID_<?php echo $bildID++; ?>"></th>
</tr>
<?php
@@ -888,10 +891,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
?>
<tr class="sectiontableentry<?php echo $k + 1;
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
<td nowrap>
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
<tr>
<td>
<?php
if ($spiel->ergebnis == 1) {
@@ -930,33 +929,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
}
?>
</td>
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
<?php
if ($bilder_anzeigen_1) {
?>
<td style="width: 32px">
<?php
if (isset($gewinner[0]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[0]) || (!$details_anzeigen && $gewinnerBilderAusblenden[0]) ? '' : $gewinnerIds[0], 30, 40, 0, 0, 'border="1"', $gewinnerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
if (isset($gewinner[0]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[0]) || (!$details_anzeigen && $gewinnerBilderAusblenden[0]) ? '' : $gewinnerIds[0], 45, 60, 0, 0, 'border="1"', $gewinnerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
if ($bilder_anzeigen_2) {
?>
<td style="width: 32px">
<?php
if (isset($gewinner[1]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[1]) || (!$details_anzeigen && $gewinnerBilderAusblenden[1]) ? '' : $gewinnerIds[1], 30, 40, 0, 0, 'border="1"', $gewinnerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
if (isset($gewinner[1]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[1]) || (!$details_anzeigen && $gewinnerBilderAusblenden[1]) ? '' : $gewinnerIds[1], 45, 60, 0, 0, 'border="1"', $gewinnerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
?>
</tr>
</table>
</td>
<?php
if ($ergebnis_detailliert_anzeigen) {
?>
@@ -965,11 +949,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
<?php
}
?>
<td nowrap>
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
<tr>
<td>
<?php
if (isset($verlierer)) {
@@ -979,33 +958,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
}
?>
</td>
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
<?php
if ($bilder_anzeigen_1) {
?>
<td style="width: 32px">
<?php
if (isset($verlierer[0]) && ($bild = bildHTML("spieler", !isset($verliererIds[0]) || (!$details_anzeigen && $verliererBilderAusblenden[0]) ? '' : $verliererIds[0], 30, 40, 0, 0, 'border="1"', $verliererGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
if (isset($verlierer[0]) && ($bild = bildHTML("spieler", !isset($verliererIds[0]) || (!$details_anzeigen && $verliererBilderAusblenden[0]) ? '' : $verliererIds[0], 45, 60, 0, 0, 'border="1"', $verliererGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
if ($bilder_anzeigen_2) {
?>
<td style="width: 32px">
<?php
if (isset($verlierer[1]) && ($bild = bildHTML("spieler", !isset($verliererIds[1]) || (!$details_anzeigen && $verliererBilderAusblenden[1]) ? '' : $verliererIds[1], 30, 40, 0, 0, 'border="1"', $verliererGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
if (isset($verlierer[1]) && ($bild = bildHTML("spieler", !isset($verliererIds[1]) || (!$details_anzeigen && $verliererBilderAusblenden[1]) ? '' : $verliererIds[1], 45, 60, 0, 0, 'border="1"', $verliererGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
?>
</tr>
</table>
</td>
</tr>
<?php
}
@@ -1016,6 +980,38 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
<?php
}
}
?>
<script>
function bilder_zeigen(){
let breite = window.innerWidth;
let id = 0;
let anzeige;
let anzahl_spiele = <?PHP echo $bildID; ?>;
if (breite < 480){
anzeige = "none";
}
else {
anzeige = "block";
}
for (let i=0; i < anzahl_spiele; i++) {
id = "bildID_" + i;
document.getElementById(id).style.display = anzeige;
}
}
bilder_zeigen();
function onResize() {
bilder_zeigen();
}
window.addEventListener("resize", onResize);
</script>
<?php
}
static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster, $titel, $aus_uebersicht, $praesentation = 0): void
@@ -1061,46 +1057,29 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
?>
<div class="uk-overflow-auto">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table style='width: 100%; border-collapse: collapse;' class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php if ($zeitpunkt_anzeigen) { ?>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
<th nowrap style='text-align: left; width:20%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
</th><?php } ?>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
<?php
/*
if ($veranstaltung == NULL) {
?>
<th nowrap><strong>Wettbewerb</strong></th>
<?php
}
*/
?>
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
<?php
if ($veranstaltung != null && $modus->punktetyp == 0) {
?>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
<?php
}
?>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
</tr>
<?php
/*
if ($zeitfenster != 0) {
?> <tr><td nowrap height="4"></td></tr><tr class="sectiontableheader<?php echo $params->get( 'pageclass_sfx' ); ?>" style="text-align: center"><th nowrap><font size=-2><i>+/- <?php echo $zeitfenster; ?> Tage</i></font></th></tr> <?php
}
*/
$k = 0;
$monat = "...";
$spieltag = 0;
$spielort_name = "";
foreach ($rows as $row) {
$ergebnis_vorhanden = $row->heim_punkte != null || $row->gast_punkte != null;
// if ($monat == NULL)
// $monat = substr($row->zeitpunkt, 0, 7);
if ($zeitfenster == 0 && $veranstaltung != null) {
if ($veranstaltung->unterteilung == 0 || $veranstaltung->unterteilung == 1) {
if ($spieltag != $row->spieltag || $spielort_name != $row->spielort_name) {
@@ -1108,17 +1087,17 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
$spielort_name = $row->spielort_name;
?>
<tr>
<td nowrap height="4"></td>
<td nowrap height="10"></td>
</tr>
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
style="text-align: center">
<th nowrap><span style="font-size: 70%; "><i>
<th nowrap style='text-align: left; font-size: 70%; font-style: italic;'>
<?php
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
if (!empty($spielort_name))
echo "<br />" . htmlentities_utf8($spielort_name);
?>
</i></span></th>
</th>
</tr>
<?php
}
@@ -1155,8 +1134,7 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
echo "<a href=\"" . SportsManagerURL('&task=begegnung_verlegen_form&veranstaltungid=' . $row->veranstaltung_id . '&id=' . $row->begegnung_id . ($aus_uebersicht ? "&amp;aus_uebersicht=1" : "")) . "\">" . ($row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt)) . "</small></a>";
else
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
?>
<?php
if ($veranstaltung == null) {
?>
<br/>
@@ -1210,13 +1188,6 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
?>
</td>
<?php
/*
if ($veranstaltung == NULL) {
?>
<td nowrap><?php echo htmlentities_utf8($row->bezeichnung); ?></td>
<?php
}
*/
if ($veranstaltung != null && $modus->punktetyp == 0) {
?>
<td nowrap style="text-align: center">
@@ -1255,7 +1226,8 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
}
}
static function begegnungSpielplan($veranstaltung, $modus, $begegnung, $heim_team, $gast_team, $spiele, $vorherige_begegnung_id, $naechste_begegnung_id, $teamansicht_team, $details_anzeigen):void {
static function begegnungSpielplan($veranstaltung, $modus, $begegnung, $heim_team, $gast_team, $spiele, $vorherige_begegnung_id, $naechste_begegnung_id, $teamansicht_team, $details_anzeigen):void
{
global $params;
?>
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
@@ -1278,8 +1250,10 @@ global $params;
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> &gt;
<a href="<?php echo SportsManagerURL('&task=veranstaltung&veranstaltungid=' . $veranstaltung->veranstaltung_id . '#id' . $begegnung->begegnung_id); ?>">
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> &gt;
<?php echo htmlentities_utf8($heim_team->teamname); ?><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?><?php echo htmlentities_utf8($gast_team->teamname); ?>
<?php
echo htmlentities_utf8($heim_team->teamname)."&nbsp;";
echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT');
echo "&nbsp;".htmlentities_utf8($gast_team->teamname);
}
?>
</th>
@@ -1329,14 +1303,8 @@ global $params;
</td>
</tr>
</table>
</div>
<div class="uk-overflow-auto">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr>
<td><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?></td>
<td>
<table>
<tr>
<td>
<?php
@@ -1350,6 +1318,11 @@ global $params;
<td>
<h2><?php echo htmlentities_utf8($heim_team->teamname); ?></h2>
</td>
<td rowspan=2 style="text-align: center">
<h2><?php echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></h2>
<?php if ($modus->spielpunkte_wertung_einzel != 2 || $modus->spielpunkte_wertung_doppel != 2)
echo "<h3>(" . $begegnung->heim_punkte . ":" . $begegnung->gast_punkte . ")</h3>"; ?>
</td>
</tr>
<tr>
<td>
@@ -1369,13 +1342,6 @@ global $params;
</td>
</tr>
</table>
</td>
<td style="width: 64px"></td>
<td style="text-align: center">
<h2><?php echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></h2><?php if ($modus->spielpunkte_wertung_einzel != 2 || $modus->spielpunkte_wertung_doppel != 2) echo "<h3>(" . $begegnung->heim_punkte . ":" . $begegnung->gast_punkte . ")</h3>"; ?>
</td>
</tr>
<table>
<?php
if (count($spiele) > 0) {
@@ -1400,17 +1366,17 @@ global $params;
}
?>
<div class="uk-overflow-auto">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table class="" style="width: 100%;">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME'); ?></strong></th>
<?php if ($bilder_anzeigen) { ?>
<th nowrap></th><?php } ?>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
<th nowrap id="bilder_heim_0"></th><?php } ?>
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
<th nowrap style="text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
<?php if ($bilder_anzeigen) { ?>
<th nowrap></th><?php } ?>
<th nowrap id="bilder_gast_0"></th><?php } ?>
</tr>
<?php
@@ -1419,41 +1385,30 @@ global $params;
?>
<tr class="sectiontableentry<?php echo $k + 1;
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
<td nowrap style="text-align: center"><?php echo $spiel->teamspiel_nummer ?></td>
<td nowrap style="text-align: center;"><?php echo $spiel->teamspiel_nummer ?></td>
<?php
if ($bilder_anzeigen) {
?>
<td nowrap>
<table style="border: none; border-spacing: 0; padding: 0">
<tr>
<td style="width: <?php echo $spiel->heim_spieler_2_id != null || $spiel->gast_spieler_2_id != null ? "32" : "64" . "px"; ?>"
style="text-align: center">
<td id="bilder_heim_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;" >
<?php
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 30, 40, 0, 0, 'border="1"');
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 45, 60, 0, 0, 'border="1"');
if ($bild == null)
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 30, 40, 0, 0, 'border="1"', $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w');
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 45, 60, 0, 0, 'border="1"', $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w');
if ($bild != null)
echo $bild;
?>
</td>
<?php
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
?>
<td style="width: 64px">
<?php
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_mitglied_id, 30, 40, 0, 0, 'border="1"');
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_mitglied_id, 45, 60, 0, 0, 'border="1"');
if ($bild == null)
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_id, 30, 40, 0, 0, 'border="1"', $spiel->heim_spieler_2_geschlecht == 'M' ? 'm' : 'w');
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_id, 45, 60, 0, 0, 'border="1"', $spiel->heim_spieler_2_geschlecht == 'M' ? 'm' : 'w');
if ($bild != null)
echo $bild;
?>
</td>
<?php
}
?>
</tr>
</table>
</td>
<?php
}
?>
@@ -1461,31 +1416,32 @@ global $params;
<td>
<?php
if ($spiel->heim_spieler_1_id != null && $spiel->heim_spieler_1_id != 0) {
?><a
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname)); ?></a>
?>
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname)); ?></a>
<?php
}
if ($spiel->heim_spieler_2_id != null && $spiel->heim_spieler_2_id != 0) {
?><br/><a
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname)); ?></a>
?><br/>
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname)); ?></a>
<?php
}
?>
</td>
<td style="text-align: center"
nowrap><?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?></td>
<td style="text-align: center" nowrap>
<?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?>
</td>
<td>
<?php
if ($spiel->gast_spieler_1_id != null && $spiel->gast_spieler_1_id != 0) {
?><a
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname)); ?></a>
?>
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname)); ?></a>
<?php
}
if ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0) {
?><br/><a
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname)); ?></a>
?><br/>
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname)); ?></a>
<?php
}
?>
@@ -1494,38 +1450,24 @@ global $params;
<?php
if ($bilder_anzeigen) {
?>
<td>
<table style="border: none; border-spacing: 0; padding: 0">
<tr>
<td style="width: <?php echo $spiel->heim_spieler_2_id != null || $spiel->gast_spieler_2_id != null ? "32" : "64" . "px"; ?>"
style="text-align: center">
<td id="bilder_gast_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;">
<?php
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_mitglied_id, 30, 40, 0, 0, 'border="1"');
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_mitglied_id, 45, 60, 0, 0, 'border="1"');
if ($bild == null)
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_id, 30, 40, 0, 0, 'border="1"', $spiel->gast_spieler_1_geschlecht == 'M' ? 'm' : 'w');
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_id, 45, 60, 0, 0, 'border="1"', $spiel->gast_spieler_1_geschlecht == 'M' ? 'm' : 'w');
if ($bild != null)
echo $bild;
?>
</td>
<?php
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
?>
<td style="width: 64px;">
<?php
if (($details_anzeigen || !$spiel->gast_spieler_2_bild_ausblenden) && ($spiel->gast_spieler_2_mitglied_id != null || ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0))) {
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_mitglied_id, 30, 40, 0, 0, 'border="1"');
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_mitglied_id, 45, 60, 0, 0, 'border="1"');
if ($bild == null)
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_id, 30, 40, 0, 0, 'border="1"', $spiel->gast_spieler_2_geschlecht == 'M' ? 'm' : 'w');
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_id, 45, 60, 0, 0, 'border="1"', $spiel->gast_spieler_2_geschlecht == 'M' ? 'm' : 'w');
if ($bild != null)
echo $bild;
}
?>
</td>
<?php
}
?>
</tr>
</table>
</td>
<?php
}
@@ -1537,8 +1479,44 @@ global $params;
</table>
</div>
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>">&nbsp;</span>
<?php
}
?>
<script>
function bilder_zeigen(){
let breite = window.innerWidth;
let id = 0;
let anzeige;
let anzahl_spiele = <?PHP echo count($spiele); ?>;
if (breite < 480){
anzeige = "none";
}
else {
anzeige = "block";
}
for (let i=0; i <= anzahl_spiele; i++) {
id = "bilder_heim_" + i;
document.getElementById(id).style.display = anzeige;
id = "bilder_gast_" + i;
document.getElementById(id).style.display = anzeige;
}
}
function onResize() {
bilder_zeigen();
}
bilder_zeigen();
window.addEventListener("resize", onResize);
</script>
<?php
}
/**
@@ -1609,26 +1587,32 @@ global $params;
<!-- Gruppentabelle mit Ergebnissen -->
<!-- dtfl-table-small css from yootheme-->
<div class="uk-overflow-auto">
<table
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table style='width: 100%; border-collapse: collapse;'
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
<th style="text-align: left">
<th style="text-align: left; width: 280px;">
<strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
<?php
if ($bilder_anzeigen) {
?>
<th style="text-align: center; width: 70px;">
<strong></strong></th>
<?php
}
if ($praesentation == 0) {
?>
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_MATCHES_SHORTCUT'); ?></strong>
</th>
<?php
}
?>
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_VICTORIES_SHORTCUT'); ?></strong></th>
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_DRAWS_SHORTCUT'); ?></strong></th>
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_DEFEATS_SHORTCUT'); ?></strong></th>
<?php
if ($zusatzpunkte_anzeigen) {
@@ -1727,10 +1711,6 @@ global $params;
$buchholz2_wert = $team->buchholz2;
}
?>
<td nowrap>
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
<tr>
<td>
<?php
echo "<a href=\"" . SportsManagerURL('&task=team_details&id=' . $team->team_id) . "\">" . htmlentities_utf8(NichtLeererString($team->teamname)) . "</a>";
@@ -1739,7 +1719,7 @@ global $params;
<?php
if ($bilder_anzeigen) {
?>
<td style="width: 50px" height="50" style="text-align: right">
<td style="text-align: center;">
<?php
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
if ($bild != null) {
@@ -1753,12 +1733,6 @@ global $params;
</td>
<?php
}
?>
</tr>
</table>
</td>
<?php
if ($praesentation == 0) {
?>
<td nowrap
@@ -5611,7 +5585,6 @@ global $params;
static function spielerstatistik($spielerstatistik, $spielerstatistik_punkte, $allein_angezeigt, $vorherige_spielerstatistik_id, $naechste_spielerstatistik_id, $details_anzeigen): void
{
global $params;
if ($allein_angezeigt) {
?>
<table class="uk-table" style="width: 100%; border: none; border-spacing: 0; padding: 3px">
@@ -5718,13 +5691,16 @@ global $params;
?>
<!-- Tabelle Spielerstatistiken -->
<div class="uk-overflow-auto">
<table
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
<th style="text-align: left">
<th style="text-align: left; width: 120px;">
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
</th>
<th style="text-align: center; width: 50px;">
<strong></strong>
</th>
<?php
if ($spielerstatistik->tabellenwertung > 0) {
?>
@@ -5737,22 +5713,27 @@ global $params;
?>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAMES'); ?></strong></th>
<th nowrap
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
<?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
+</strong></th>
<th nowrap
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
<?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
-</strong></th>
<th nowrap
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_RATE'); ?>">
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
<?php echo Text::_('COM_SPORTSMANAGER_RATE'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_RATE_SHORTCUT'); ?></strong></th>
<th nowrap
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?>
<?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> +</strong>
</th>
<th nowrap
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?>
<?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> -</strong>
</th>
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
@@ -5784,9 +5765,6 @@ global $params;
?>
</td>
<td nowrap>
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
<tr>
<td>
<?php
if ($row->aktueller_verein_id == null)
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
@@ -5809,28 +5787,24 @@ global $params;
}
?>
</td>
<td style="width: 59px">
<td>
<?php
if ($bilder_anzeigen && ($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, 57, 76, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
if ($bilder_anzeigen && ($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, 45, 60, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
if ($bilder_anzeigen_2) {
?>
<td style="width: 59px">
<td style="text-align: left;">
<?php
if (($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden_2 ? '' : $row->spieler_2_id, 57, 76, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
if (($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden_2 ? '' : $row->spieler_2_id, 45, 60, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
echo $bild;
?>
</td>
<?php
}
?>
</tr>
</table>
</td>
<?php
if ($spielerstatistik->tabellenwertung != 0) {
?>
<td nowrap style="text-align: center">
@@ -6769,7 +6743,6 @@ global $params;
static function rangliste($rangliste, $rangliste_punkte, $allein_angezeigt, $details_anzeigen): void
{
global $params;
if ($allein_angezeigt) {
?>
<div class="uk-overflow-auto">
@@ -6847,14 +6820,15 @@ global $params;
?>
<!-- Tabelle Rangliste -->
<div class="uk-overflow-auto">
<table
class="uk-table uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
class="uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_RANK'); ?></strong></th>
<th></th>
<th style="text-align: left">
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
</th>
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?></strong></th>
<th style="text-align: center"><strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?></strong></th>
</tr>
<?php
@@ -6875,20 +6849,22 @@ global $params;
<?php
if (($bild = yoothemeBild("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, $row->geschlecht == 'M' ? 'm' : 'w', '#resize=75', 'border="1" style="text-align: left" hspace="8" vspace="2"')) != null)
echo $bild; ?>
</td>
<td>
<?php
if ($row->aktueller_verein_id == null)
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
else {
?>
<a class="uk-align-center"
<a style="text-align: left; vertical-align: middle;"
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $row->spieler_id); ?>"><?php echo htmlentities_utf8($row->vorname . " " . $row->nachname); ?></a>
<?php
}
?>
</td>
<td class="uk-align-center">
<td style="text-align: center; vertical-align: middle;">
<a href="<?php echo SportsManagerURL('&task=ranglistenpunkte&rangliste_id=' . $rangliste->rangliste_id . "&spieler_id=" . $row->spieler_id); ?>"><?php echo $row->punkte; ?></a>
</td>
</tr>
@@ -12,149 +12,183 @@ defined('_JEXEC') or die('Restricted access');
require_once JPATH_SITE . '/components/com_sportsmanager/views/sportsmanager/view_tools.php';
require_once JPATH_SITE . '/components/com_sportsmanager/util/image.php';
function formatTimediff( $timestamp1, $timestamp2, $verbose ) {
if (empty($timestamp1) || empty($timestamp2)) {
return "";
} else {
$daydiff = round(($timestamp2 - $timestamp1) / (3600.0 * 24.0));
if ($verbose) {
return sprintf("%+d d", $daydiff);
} else if (abs($daydiff) > 0) {
return sprintf("%dd", $daydiff);
} else {
return "-";
}
}
}
function formatTeamName( $team_name, $team_id, $highlight_team_id ) {
if ($team_id == $highlight_team_id) {
return "<b><i>" . htmlentities_utf8($team_name) . "</i></b>";
} else {
return htmlentities_utf8($team_name);
}
}
class HTML_sportsmanager_admin
{
static function adminUebersicht($veranstaltungen, $spielerstatistiken, $turniere, $ranglisten, $individualwettbewerbe, $statistik, $saisons, $filter_saison_id, $externe_datenbank): void
{
global $params;
function checkZeilenumbruch($Spalte_Nr, $max_Spalten)
{
$Spalte_Nr++;
if ($Spalte_Nr >= $max_Spalten){
echo "</tr>\n<tr>\n";
$Spalte_Nr = 0;
}
return $Spalte_Nr;
}
global $params;
?>
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><a
href="https://github.com/Deutscher-Tischfussballbund/" target="_blank">Sports
Manager <?php echo SPORTS_MANAGER_VERSION; ?> </a>
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>" style='font-weight: bold;'>
<a href="https://github.com/Deutscher-Tischfussballbund/" target="_blank">
Sports Manager <?php echo SPORTS_MANAGER_VERSION; ?> </a>
</div>
<table style="border-spacing: 10px">
<?php
if (benutzerZugriff("spieler_aendern")
|| benutzerVeranstalterModerator()
|| benutzerVereinModerator()
|| benutzerZugriff("vereine_aendern")
|| benutzerZugriff("organisationen_aendern")
|| benutzerZugriff("kategorien_aendern")
|| benutzerZugriff("moderatoren_aendern")
|| benutzerZugriff("einstufungen_aendern")
|| benutzerZugriff("basiseinstellungen_aendern")) {
?>
<table>
<tr>
<?php
$max_Spalten = 6;
$Spalte_Nr = 0;
if (benutzerZugriff("spieler_aendern") || benutzerVeranstalterModerator() || benutzerVereinModerator()) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_spieler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_spieler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("vereine_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_vereine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLUBS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_vereine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLUBS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("organisationen_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_veranstalter'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_veranstalter'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("kategorien_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_kategorien'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_kategorien'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("moderatoren_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_moderatoren'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MODERATORS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_moderatoren'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MODERATORS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("einstufungen_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_einstufungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLASSIFICATIONS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_einstufungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLASSIFICATIONS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("basiseinstellungen_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_einstellungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SETTINGS'); ?></a>
</td>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_datenbank'); ?>"><?php echo $externe_datenbank ? Text::_('COM_SPORTSMANAGER_DATABASE_EXTERNAL') : Text::_('COM_SPORTSMANAGER_DATABASE_LOCAL'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_einstellungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SETTINGS'); ?></a>
</td>
<?php
}
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
?>
</tr>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_datenbank'); ?>"><?php echo $externe_datenbank ? Text::_('COM_SPORTSMANAGER_DATABASE_EXTERNAL') : Text::_('COM_SPORTSMANAGER_DATABASE_LOCAL'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
?>
<tr>
<?php
if (benutzerZugriff("termine_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_termine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_APPOINTMENTS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_termine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_APPOINTMENTS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("verteiler_aendern") || benutzerZugriff("verteiler_lesen")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_verteiler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MAILING_LISTS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_verteiler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MAILING_LISTS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("rechnungen_aendern") && $statistik["saisons"] > 0) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_rechnungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_INVOICES'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_rechnungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_INVOICES'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("spielorte_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_spielorte'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_LOCATIONS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_spielorte'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_LOCATIONS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("saisons_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_saisons'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SEASONS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_saisons'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SEASONS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("mannschaftsspielplaene_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_teamspiel_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_TEAM_PLANS'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_teamspiel_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_TEAM_PLANS'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("verschieberegeln_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_verschieben_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_POSTPONE_RULES'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_verschieben_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_POSTPONE_RULES'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
if (benutzerZugriff("ranglistenwertungen_aendern")) {
?>
<td nowrap><a
href="<?php echo SportsManagerURL('&task=admin_ranglistensysteme'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_RANKING_RATING'); ?></a>
<td style="padding-right: 15px" nowrap>
<a href="<?php echo SportsManagerURL('&task=admin_ranglistensysteme'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_RANKING_RATING'); ?></a>
</td>
<?php
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
}
?>
</tr>
</table>
</table><br>
<?php
if (count($saisons) > 0) {
?>
@@ -4898,13 +4932,13 @@ class HTML_sportsmanager_admin
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto">
<table class="uk-table" style="width: 100%">
<table class="" style="width: 100%">
<tr>
<td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto">
<table class="uk-table" style="width: 100%">
<table class="" style="width: 100%">
<?php
for ($typ = 1; $typ <= 6; $typ++) {
for ($typ = 1; $typ <= 7; $typ++) {
?>
<tr>
<td></td>
@@ -4924,6 +4958,8 @@ class HTML_sportsmanager_admin
echo Text::_('COM_SPORTSMANAGER_PLAYER_STATISTICS');
else if ($typ == 6)
echo Text::_('COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS');
else if ($typ == 7)
echo Text::_('COM_SPORTSMANAGER_ASSOCIATION_BODIES');
?>
</H2>
</div>
@@ -6922,11 +6958,11 @@ class HTML_sportsmanager_admin
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
enctype="multipart/form-data">
<div class="uk-overflow-auto">
<table class="uk-table" style="width: 100%">
<table class="" style="width: 100%">
<tr>
<td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto">
<table class="uk-table" style="width: 100%">
<table class="" style="width: 100%">
<tr>
<td nowrap style="width: 20%; text-align: right">
<label
@@ -6961,7 +6997,7 @@ class HTML_sportsmanager_admin
:</label>
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="kategorie"
<select class="uk-select uk-form-width-medium" style='width: 350px;' name="kategorie"
id="category" size="1">
<?php
for ($i = 1; $i <= 50; $i++) {
@@ -7132,7 +7168,7 @@ class HTML_sportsmanager_admin
:</label>
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="tabellenwertung"
<select class="uk-select uk-form-width-large" style='width: 600px;' name="tabellenwertung"
id="table_evaluation" size="1">
<?php
$typ = array(
@@ -7249,7 +7285,7 @@ class HTML_sportsmanager_admin
}
?>
</tr>
</table>
</table><br/>
</td>
</tr>
<tr>
@@ -7264,13 +7300,13 @@ class HTML_sportsmanager_admin
?>
<input type="radio" name="bildbeibehalten_logo" id="keep_logo" value="1"
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
<br/><br/><?php echo $bild; ?>
<br/><br/><label><input type="radio" name="bildbeibehalten_logo"
<br/><?php echo $bild; ?>
<br/><label><input type="radio" name="bildbeibehalten_logo"
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
</label>
<br/><br/><input type="file" name="bild_logo" size="30"
<br/><input type="file" name="bild_logo" size="30"
onchange="document.adminForm.bildbeibehalten_logo[1].checked = true;"/>
<br/><br/><label>URL: <input class="inputbox" type="text"
<br/><label>URL: <input class="inputbox" type="text"
name="logo_url" size="50"
maxlength="150"
value="<?php if (!empty($row)) echo htmlentities_utf8($row->logo_url); ?>"/></label>
@@ -7279,13 +7315,13 @@ class HTML_sportsmanager_admin
?>
<label
for="logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
<br/><br/><input type="file" name="bild_logo" size="30"/>
<br/><br/><label>URL: <input class="inputbox" type="text"
<br/><input type="file" name="bild_logo" size="30"/>
<br/><label>URL: <input class="inputbox" type="text"
name="logo_url" id="logo_url" size="50"
maxlength="150"/></label>
<?php
}
?>
?><br/><br/>
</td>
</tr>
<tr>
@@ -7301,13 +7337,13 @@ class HTML_sportsmanager_admin
<input type="radio" name="bildbeibehalten_ticker_logo"
id="keep_ticker_logo" value="1"
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
<br/><br/><?php echo $bild; ?>
<br/><br/><label><input type="radio" name="bildbeibehalten_ticker_logo"
<br/><?php echo $bild; ?>
<br/><label><input type="radio" name="bildbeibehalten_ticker_logo"
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
</label>
<br/><br/><input type="file" name="bild_ticker_logo" size="30"
<br/><input type="file" name="bild_ticker_logo" size="30"
onchange="document.adminForm.bildbeibehalten_ticker_logo[1].checked = true;"/>
<br/><br/><label>URL: <input class="inputbox" type="text"
<br/><label>URL: <input class="inputbox" type="text"
name="ticker_logo_url"
size="50" maxlength="150"
value="<?php if (!empty($row)) echo htmlentities_utf8($row->ticker_logo_url); ?>"/></label>
@@ -7316,8 +7352,8 @@ class HTML_sportsmanager_admin
?>
<label
for="ticker_logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
<br/><br/><input type="file" name="bild_ticker_logo" size="30"/>
<br/><br/>URL: <input class="inputbox" type="text"
<br/><input type="file" name="bild_ticker_logo" size="30"/>
<br/>URL: <input class="inputbox" type="text"
name="ticker_logo_url" id="ticker_logo_url"
size="50" maxlength="150"/>
<?php
@@ -7392,6 +7428,8 @@ class HTML_sportsmanager_admin
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_CLUB'); ?></strong></th>
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_PLAYERS_ACTIVE_INACTIVE'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></strong></th>
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_NUM_REQUESTED_SHFITS_TOOLTIP'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_NUM_REQUESTED_SHIFTS'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_HOME_VENUE'); ?></strong></th>
</tr>
<?php
@@ -7433,6 +7471,7 @@ class HTML_sportsmanager_admin
<td nowrap style="text-align: center"><a
href="<?php echo SportsManagerURL('&task=admin_mitglieder&teamid=' . $row->team_id); ?>"><?php echo $row->mitglieder_aktiv . " / " . ($row->mitglieder - $row->mitglieder_aktiv); ?></a>
</td>
<td nowrap align="center"><?php echo $row->anzahl_verschiebungen; ?></td>
<td nowrap><?php if (!empty($row->name)) echo htmlentities_utf8($row->name); ?></td>
<?php if ($row->begegnungen == 0) { ?>
<td nowrap><small><a
@@ -8603,6 +8642,7 @@ class HTML_sportsmanager_admin
<strong><?php echo $modus->punktetyp == 0 ? Text::_('COM_SPORTSMANAGER_GOALS') : Text::_('COM_SPORTSMANAGER_SETS'); ?></strong>
</th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_RESULT_DELAYS');?></strong></th>
</tr>
<?php
@@ -8635,7 +8675,7 @@ class HTML_sportsmanager_admin
if ($row->verlegung_eingetragen != null)
echo " **";
else if ($row->verlegt != 0)
echo " *";
echo " (" . formatTimediff($row->termin_original, $row->termin_akzeptiert, true) . ")";
if ($row->nichtraucherschutz == 0 && ((($row->heim_nichtraucherschutz == 1 || $row->heim_nichtraucherschutz == 2 || $row->heim_nichtraucherschutz == 3) && ($row->gast_nichtraucherschutz == 3 || $row->gast_nichtraucherschutz == 7 || $row->gast_nichtraucherschutz == 8)) || (($row->heim_nichtraucherschutz == 5 || $row->heim_nichtraucherschutz == 6 || $row->heim_nichtraucherschutz == 8) && ($row->gast_nichtraucherschutz == 1 || $row->gast_nichtraucherschutz == 4 || $row->gast_nichtraucherschutz == 5))))
echo " !";
?>
@@ -8645,13 +8685,20 @@ class HTML_sportsmanager_admin
echo "<br/><small>" . Text::_('COM_SPORTSMANAGER_MATCH_TABLE') . ": " . htmlentities_utf8($row->tisch) . "</small>";
?>
</td>
<td nowrap><?php echo htmlentities_utf8($row->heim_name); ?></td>
<td nowrap><?php echo htmlentities_utf8($row->gast_name); ?></td>
<td nowrap><?php echo formatTeamName($row->heim_name, $row->heim_team_id, $row->verantwortliches_team); ?></td>
<td nowrap><?php echo formatTeamName($row->gast_name, $row->gast_team_id, $row->verantwortliches_team); ?></td>
<td nowrap style="text-align: center"><a
href="<?php echo SportsManagerURL('&task=admin_begegnung_spielplan_edit&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&id=' . $row->begegnung_id); ?>"><?php if ($ergebnis_vorhanden) echo $row->heim_punkte . " : " . $row->gast_punkte; else echo "_ : _" ?></a><?php if ($row->unbestaetigtes_ergebnis_id != null) echo "<br /><small>" . ($row->zwischenergebnis ? "live" : "unbest&auml;tigt") . "</small>"; ?>
href="<?php echo SportsManagerURL('&task=admin_begegnung_spielplan_edit&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&id=' . $row->begegnung_id); ?>"><?php if ($ergebnis_vorhanden) echo $row->heim_punkte . " : " . $row->gast_punkte; else echo "_ : _" ?></a><?php if ($row->unbestaetigtes_ergebnis_id != null) echo "<br /><small>" . ($row->zwischenergebnis ? "live" : "unbest&auml;tigt") . "</small>"; else if ($row->fehlende_spieler > 0) echo " (*)"; ?>
</td>
<td nowrap
style="text-align: center"><?php if ($ergebnis_vorhanden) echo $row->heim_spielpunkte . " : " . $row->gast_spielpunkte; else echo "_ : _" ?><?php if ($row->unbestaetigtes_ergebnis_id != null) echo "<br /><small>" . ($row->zwischenergebnis ? "live" : "unbest&auml;tigt") . "</small>"; ?></td>
<td nowrap align="center">
<?php echo
formatTimediff($row->termin_spiel, $row->ergebnis_vorgeschlagen, false)
. " / "
. formatTimediff($row->ergebnis_vorgeschlagen, $row->ergebnis_akzeptiert, false);
?>
</td>
<td nowrap><small><a
href="<?php echo SportsManagerURL('&task=admin_begegnung_heimtausch&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&id=' . $row->begegnung_id); ?>"><?php echo Text::_('COM_SPORTSMANAGER_HOME_EXCHANGE'); ?></a></small>
</td>
@@ -9538,7 +9585,7 @@ class HTML_sportsmanager_admin
$jahr = $veranstaltung->erster_tag != null ? substr($veranstaltung->erster_tag, 0, 4) : 0;
?>
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"
style='background-color:#000066;width:760px;font-weight:600;text-align:center;'>
style='background-color:#000066;color: #cccccc;width:760px;font-weight:600;text-align:center;'>
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?>
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
: <?php echo Text::_('COM_SPORTSMANAGER_GENERATE_ENCOUNTERS_NEXT_ROUND'); ?></div>
@@ -9550,7 +9597,7 @@ class HTML_sportsmanager_admin
<td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto">
<table>
<tr><td colspan=2 style="text-align: center; background-color: #660033"><b>Grundeinstellungen</b></td></tr>
<tr><td colspan=2 style="text-align: center; background-color: #660033;color: #cccccc;"><b>Grundeinstellungen</b></td></tr>
<tr>
<td>Runden</td>
<td colspan style="text-align: left">
@@ -9607,14 +9654,14 @@ class HTML_sportsmanager_admin
$bgcolor = "#000099";
}
if ($spieltag == 1){
echo "<tr><td colspan=2 style='text-align: center; background-color: #000099'><b>Hinrunde</b></td></tr>";
echo "<tr><td colspan=2 style='text-align: center; background-color: #000099; color: #cccccc;'><b>Hinrunde</b></td></tr>";
}
if ($spieltag == $spieltage + 1){
echo "<tr><td colspan=2 style='text-align: center; background-color: #000033'><b>R&uuml;ckrunde</b> (Bei <i><u>Nur Hinrunde</u></i> sind hier keine Eingaben erforderlich)</td></tr>";
echo "<tr><td colspan=2 style='text-align: center; background-color: #000033; color: #cccccc;'><b>R&uuml;ckrunde</b> (Bei <i><u>Nur Hinrunde</u></i> sind hier keine Eingaben erforderlich)</td></tr>";
}
?>
<tr>
<td nowrap style="width: 130px; text-align: center; background-color: <?php echo $bgcolor; ?>">
<td nowrap style="width: 130px; text-align: center; background-color: <?php echo $bgcolor; ?>; color: #cccccc;">
<label
for="calendar_week_<?php echo $spieltag; ?>"><?php echo $spieltag; ?>
. <?php echo Text::_('COM_SPORTSMANAGER_GAMEDAY'); ?>:</label>
@@ -9659,7 +9706,7 @@ class HTML_sportsmanager_admin
<?php
}
echo "<tr><td colspan=2 style='text-align: center'>&nbsp;</td></tr>";
echo "<tr><td colspan=2 style='text-align: center; background-color: #660033'
echo "<tr><td colspan=2 style='text-align: center; background-color: #660033; color: #cccccc;'
title='Setzliste bzw. Erste Paarung&#10;Automatisch: Spiele sind die die erste Begegnungen in der Saison&#10;Setzliste: Mannschaften werden in eine Spielmatrix gesetzt&#10;Manschaften aud 1/2 bzw. 3/4 bzw. 5/6 usw. haben nie gleichzeitg Heimrecht!'><b>Setzliste bzw. Erste Paarung</b></td></tr>";
for ($teamnr = 1; $teamnr <= $anzahlteams; $teamnr += 2) {
?>
@@ -10013,19 +10060,18 @@ class HTML_sportsmanager_admin
{
global $params;
?>
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?></div>
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto"><table class="" style="width: 100%">
<div class="uk-overflow-auto">
<table class="" style="width: 500px">
<tr>
<td nowrap style="width: 60%; vertical-align: top">
<div class="uk-overflow-auto"><table class="" style="width: 100%">
<th align=center colspan='2'><?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?></th>
</tr>
<tr>
<td nowrap style="width: 20%; text-align: right">
<td nowrap style="width: 120px; text-align: right">
<label for="veranstaltungId">Veranstaltung</label>
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="veranstaltungid" size="1">
<select class="uk-select uk-form-width-large" style='width: 320px;' name="veranstaltungid" size="1">
<option value='<?PHP echo $veranstaltung->veranstaltung_id; ?>'><?PHP echo $veranstaltung->bezeichnung; ?></option>
<?PHP foreach ($saison AS $key => $value) { ?>
<option value='<?PHP echo $value->veranstaltung_id; ?>'><?PHP echo $value->bezeichnung; ?></option>
@@ -10034,11 +10080,11 @@ class HTML_sportsmanager_admin
</td>
</tr>
<tr>
<td nowrap style="width: 20%; text-align: right">
<td nowrap style="text-align: right">
<label for="export">Exportieren</label>
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="export" id="export" size="1">
<select class="uk-select uk-form-width-large" style='width: 320px;' name="export" id="export" size="1">
<option value='spieler'>Spieler</option>
<option value='spielplan'>Spielplan</option>
<option value='spielberichte'>Spielberichte</option>
@@ -10046,19 +10092,17 @@ class HTML_sportsmanager_admin
</td>
</tr>
<tr>
<td nowrap style="width: 20%; text-align: right">
<td nowrap style="text-align: right">
<label for="exportformat">Exportformat</label>
</td>
<td nowrap>
<select class="uk-select uk-form-width-medium" name="exportformat" id="exportformat" size="1">
<select class="uk-select uk-form-width-large" style='width: 320px;' name="exportformat" id="exportformat" size="1">
<option value='csvdatei'>CSV-Datei</option>
</select>
</td>
</tr>
</table></div>
</td>
</tr>
</table></div>
</table>
</div>
<input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?>"
class="button"/>
@@ -291,8 +291,6 @@ class HTML_sportsmanager_ticker
type="text/css"/>
<script src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/jquery.min.js'); ?>"
type="text/javascript"></script>
<script type="text/javascript"
src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/css3.js'); ?>"></script>
<script>
let globalresize = 0;
@@ -40,7 +40,7 @@ function addOnLoad($function): void
<?php
}
function SportsManagerURL($weitereParameter = null, $ssl = 0): ?string
function SportsManagerURL($weitereParameter = "", $ssl = 0): ?string
{
$urlPath = handleFilter($weitereParameter);
$joomlaBaseUrl = Uri::getInstance()->toString([
@@ -1,4 +1,4 @@
; Sports Manager (C) 2006-2020, Sven Nickel (Test)
; Sports Manager (C) 2006-2020, Sven Nickel (Test)
COM_SPORTSMANAGER="Sports Manager"
COM_SPORTSMANAGER_PLAYERS="Spieler"
COM_SPORTSMANAGER_CLUBS="Vereine"
@@ -70,6 +70,7 @@ COM_SPORTSMANAGER_CONFIRM_REMOVE_RANKING="Willst du die Rangliste wirklich entfe
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Individualwettbewerb hinzuf&uuml;gen"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individualwettbewerb"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individualwettbewerbe"
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Verbandsorgane"
COM_SPORTSMANAGER_GAME="Spiel"
COM_SPORTSMANAGER_GAMES="Spiele"
COM_SPORTSMANAGER_GAMES_SHORTCUT="S"
@@ -989,3 +990,6 @@ COM_SPORTSMANAGER_ARIA_LABEL_RANKING_EVALUATION="Ranking Wertung"
COM_SPORTSMANAGER_ARIA_LABEL_LASTNAME="Nachname"
COM_SPORTSMANAGER_ARIA_LABEL_FIRSTNAME="Vorname"
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"
@@ -1,4 +1,4 @@
; Sports Manager (C) 2006-2020, Sven Nickel
; Sports Manager (C) 2006-2020, Sven Nickel
COM_SPORTSMANAGER="Sports Manager"
COM_SPORTSMANAGER_PLAYERS="Players"
COM_SPORTSMANAGER_CLUBS="Clubs"
@@ -70,6 +70,7 @@ COM_SPORTSMANAGER_CONFIRM_REMOVE_RANKING="Do you really want to remove the ranki
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Add individual competition"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individual competition"
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individual competitions"
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Association bodies"
COM_SPORTSMANAGER_GAME="Game"
COM_SPORTSMANAGER_GAMES="Games"
COM_SPORTSMANAGER_GAMES_SHORTCUT="G"
@@ -987,3 +988,6 @@ COM_SPORTSMANAGER_ARIA_LABEL_RANKING_EVALUATION="Ranking evaluation"
COM_SPORTSMANAGER_ARIA_LABEL_LASTNAME="Lastname"
COM_SPORTSMANAGER_ARIA_LABEL_FIRSTNAME="Firstname"
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"
+1 -1
View File
@@ -1110,7 +1110,7 @@ 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 = '102';";
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '103';";
$db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
+1
View File
@@ -37,6 +37,7 @@
<files folder="admin">
<filename>access.xml</filename>
<filename>index.html</filename>
<filename>RELEASE_NOTES.md</filename>
<folder>services</folder>
<folder>src</folder>
<folder>tmpl</folder>