-
+
-
- 0) {
?>
@@ -7477,6 +7529,848 @@ class HTML_sportsmanager_admin
+
+ :
+
+ 0) {
+ ?>
+
+
+
+
+
+
+
+ :
+
+
+
+
verbandsorgan); ?>
+ :
+
+ 0) {
+ ?>
+
+
+
+
+ |
+
+ nachname . ", " . $row->vorname); ?>
+
+ |
+
+ spieler_id, 45, 60, 0, 0, 'border="1"'); ?>
+ |
+
+ funktion); ?>
+ |
+
+ zusatzinfo); ?>
+ |
+ X
+ |
+
+
+
+
+
verbandsorgan); ?>
+ :
+
+
+
+
+ :
+
+ 0) {
+ ?>
+
+
+
+ :
+
+
+
+
+
+ halloffame); ?>
+ :
+
+
+
+
+
+
+
+
+
+
+ get('pageclass_sfx');
+ $k = ($k + 1) % 2;
+
+ if ($halloffame->spielform == 2) {
+ ?>
+
+
+
+
+ |
+
+ jahr; ?>
+
+ |
+
+ platz2_zeigen) continue;
+ if ($i == 3 && !$halloffame->platz3_zeigen) continue;
+ $spieler1_id = "spieler1_id_" . $i;
+ $spieler1 = "spieler1_" . $i;
+ ?>
+
+ $spieler1_id, 45, 60, 0, 0, 'border="0"'); ?>
+ |
+
+ $spieler1); ?>
+ |
+
+
+
+
+
+ X
+
+
+ |
+
+
+
+ platz2_zeigen) continue;
+ if ($i == 3 && !$halloffame->platz3_zeigen) continue;
+ $spieler2_id = "spieler2_id_" . $i;
+ $spieler2 = "spieler2_" . $i;
+ ?>
+ |
+ $spieler2_id, 45, 60, 0, 0, 'border="0"'); ?>
+ |
+
+ $spieler2); ?>
+ |
+
+
+
+
+
+
+ |
+
+ jahr; ?>
+
+ |
+
+ platz2_zeigen) continue;
+ if ($i == 3 && !$halloffame->platz3_zeigen) continue;
+ if ($halloffame->spielform == 1) {
+ $id = "verein_id_" . $i;
+ $txt = "teamname_" . $i;
+ $type = "vereine";
+ } else {
+ $id = "spieler1_id_" . $i;
+ $txt = "spieler1_" . $i;
+ $type = "spieler";
+ }
+ ?>
+
+ $id, 45, 60, 0, 0, 'border="0"'); ?>
+ |
+
+ $txt); ?>
+ |
+
+
+
+
+
+ X
+
+
+ |
+
+
+
+
+
halloffame); ?>
+ :
+
+
+
+
+ |
+
+ |
+
+
+ |
+
|
:
@@ -9091,15 +10002,19 @@ class HTML_sportsmanager_admin
:
|
-
+ explizite_strafen == 0) { ?>
+
+ team_id) . "\">" . ($row->zusatzpunkte ? $row->zusatzpunkte : 0.0) . "";
+ } ?>
|
+
+
+
+ Telefon, Mobil, E-Mail werden aus der Spielerliste übernommen, wenn sie hier nicht ausgefüllt sind."
+COM_SPORTSMANAGER_HALL_OF_FAME="Hall of Fame"
+COM_SPORTSMANAGER_ADD_HALL_OF_FAME="Hall of Fame hinzufügen"
+COM_SPORTSMANAGER_INVALID_HALL_OF_FAME_NAME="Invalider Name für Hall of Fame"
+COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME="Willst Du wirklich diese Hall of Fame mit allen Mitgliedern löschen?"
+COM_SPORTSMANAGER_MATCH_TYPE="Spielform"
+COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME_YEAR="Willst Du wirklich dieses Hall of Fame Jahr löschen?"
+COM_SPORTSMANAGER_YEARS="Jahre"
+COM_SPORTSMANAGER_ADD_HALL_OF_FAME_YEAR="Hall of Fame Jahr hinzufügen"
+COM_SPORTSMANAGER_NO_ENTRY="kein Eintrag"
\ No newline at end of file
diff --git a/src/structure/language/en-GB/en-GB.com_sportsmanager.ini b/src/structure/language/en-GB/en-GB.com_sportsmanager.ini
index ee0e151..ff6434f 100644
--- a/src/structure/language/en-GB/en-GB.com_sportsmanager.ini
+++ b/src/structure/language/en-GB/en-GB.com_sportsmanager.ini
@@ -39,6 +39,7 @@ COM_SPORTSMANAGER_ORGANISATION="Organisation"
COM_SPORTSMANAGER_TEAM_MEMBERS="Team members"
COM_SPORTSMANAGER_TEAM_MEMBERS2="Club members"
COM_SPORTSMANAGER_MEMBERS="Members"
+COM_SPORTSMANAGER_MEMBER="Member"
COM_SPORTSMANAGER_ACTIVE_MEMBERS="Active members"
COM_SPORTSMANAGER_TEAMS="Teams"
COM_SPORTSMANAGER_CURRENT_TEAMS="Current teams"
@@ -72,7 +73,6 @@ 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"
@@ -900,6 +900,9 @@ COM_SPORTSMANAGER_RESULT_ONLY="Result only"
COM_SPORTSMANAGER_GAME_NUMBER="Game %d"
COM_SPORTSMANAGER_LABEL_GAME_NUMBER="Game nr"
COM_SPORTSMANAGER_LABEL_GAME_TITLE="Gameday title"
+COM_SPORTSMANAGER_EXPLICIT_PENALTIES="Explicit Penalties"
+COM_SPORTSMANAGER_EXPLICIT_PENALTIES_EMAIL_SUBJECT="%s: received penalty"
+COM_SPORTSMANAGER_EXPLICIT_PENALTIES_EMAIL_BODY="%s received a penalty of %f points based on the following justification: %s"
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_SUBJECT="%s vs %s: Shift game appointment"
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_BODY="For match %s versus %s on %s in %s the game appointment is shifted by %s.\n\nAlternative appointments:\n\n"
COM_SPORTSMANAGER_EMAIL_SHIFT_GAME_APPOINTMENT_REQUESTED_BODY="For match %s on %s in %s the game appointment is shifted by %s.\n\nPlease propose alternative appointments under %s"
@@ -1070,4 +1073,23 @@ COM_SPORTSMANAGER_NOT_VALID_TIME="Not valid time"
COM_SPORTSMANAGER_REALLY_MATCH_RESCHEDULING="Do you really want to remove this match rescheduling?"
COM_SPORTSMANAGER_REST_DAYS="Rest days"
COM_SPORTSMANAGER_TRAINING_DAYS="Training days"
-COM_SPORTSMANAGER_NOT_ACTUALIZED_DATA="Data not updated"
\ No newline at end of file
+COM_SPORTSMANAGER_NOT_ACTUALIZED_DATA="Data not updated"
+COM_SPORTSMANAGER_ASSOCIATION_BODIES="Association bodies"
+COM_SPORTSMANAGER_ASSOCIATION_BODY="Association body"
+COM_SPORTSMANAGER_ADD_ASSOCIATION_BODY="Add association body"
+COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY="Do you really want to remove this association body?"
+COM_SPORTSMANAGER_INVALID_ASSOCIATION_BODY_NAME="Invalid association body name"
+COM_SPORTSMANAGER_NAME_NOT_COMPLETE="The name is not completely filled in"
+COM_SPORTSMANAGER_ADDITIONAL_INFO="Additional information"
+COM_SPORTSMANAGER_USE_HTML="HTML-formatted text should be used here."
+COM_SPORTSMANAGER_REALLY_REMOVE_ASSOCIATION_BODY_MEMBER="Do you really want to remove this association body member?"
+COM_SPORTSMANAGER_HELP_EDIT_ASSOCIATION_BODY_MEMBER="Selecting a name from the player list will fill in the first and last name.
Phone, mobile, and email are filled from the player list if left blank here."
+COM_SPORTSMANAGER_HALL_OF_FAME="Hall of Fame"
+COM_SPORTSMANAGER_ADD_HALL_OF_FAME="Add Hall of Fame"
+COM_SPORTSMANAGER_INVALID_HALL_OF_FAME_NAME="Invalid Hall of Fame name"
+COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME="Are you sure you want to delete this Hall of Fame including all its members?"
+COM_SPORTSMANAGER_MATCH_TYPE="Game Type"
+COM_SPORTSMANAGER_REALLY_REMOVE_HALL_OF_FAME_YEAR="Are you sure you want to delete this Hall of Fame year?"
+COM_SPORTSMANAGER_YEARS="Years"
+COM_SPORTSMANAGER_ADD_HALL_OF_FAME_YEAR="Add Hall of Fame Year"
+COM_SPORTSMANAGER_NO_ENTRY="no entry"
\ No newline at end of file
diff --git a/src/structure/script.php b/src/structure/script.php
index d1f2266..6bebe14 100644
--- a/src/structure/script.php
+++ b/src/structure/script.php
@@ -722,6 +722,18 @@ return new class () implements InstallerScriptInterface
$db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
+ $query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_team_strafen` ("
+ . "\n `team_strafen_id` int(11) NOT NULL AUTO_INCREMENT,"
+ . "\n `zeitpunkt` datetime NOT NULL,"
+ . "\n `moderator_user_id` int(11) DEFAULT NULL,"
+ . "\n `team_id` int(11) NOT NULL DEFAULT '0',"
+ . "\n `strafe` float(6,2) NOT NULL DEFAULT '0',"
+ . "\n `beschreibung` text NOT NULL,"
+ . "\n PRIMARY KEY (`team_strafen_id`)"
+ . "\n) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
+ $db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
+
$query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_teamansprechpartner` ("
. "\n `kontaktperson_id` int(11) NOT NULL AUTO_INCREMENT,"
. "\n `team_id` int(11) NOT NULL DEFAULT '0',"
@@ -1049,6 +1061,7 @@ return new class () implements InstallerScriptInterface
. "\n `erster_tag` date NOT NULL DEFAULT '0000-00-00',"
. "\n `letzter_tag` date DEFAULT NULL,"
. "\n `elo_wertung` tinyint(4) DEFAULT NULL,"
+ . "\n `explizite_strafen` tinyint(4) DEFAULT '0',"
. "\n `logo_url` TINYTEXT NOT NULL,"
. "\n `ticker_logo_url` TINYTEXT NOT NULL,"
. "\n `status` tinyint(4) NOT NULL DEFAULT '0',"
@@ -1182,13 +1195,84 @@ return new class () implements InstallerScriptInterface
. "\n UNIQUE KEY `vorlage` (`vorlage`)"
. "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
$db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
+
+ $query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_verbandsorgane` ("
+ . "\n `verbandsorgane_id` int(11) NOT NULL AUTO_INCREMENT,"
+ . "\n `veranstalter_id` int(11) DEFAULT NULL,"
+ . "\n `verbandsorgan` varchar(32) DEFAULT NULL,"
+ . "\n `kategorie` int(4) DEFAULT NULL,"
+ . "\n `reihenfolge` int(4) DEFAULT NULL,"
+ . "\n `email` varchar(64) DEFAULT NULL,"
+ . "\n `beschreibung` text NOT NULL,"
+ . "\n PRIMARY KEY (`verbandsorgane_id`),"
+ . "\n KEY (`veranstalter_id`)"
+ . "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
+ $db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
+ $query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_mitglied_von_verbandsorgan` ("
+ . "\n `mitglied_von_verbandsorgan_id` int(11) NOT NULL AUTO_INCREMENT,"
+ . "\n `verbandsorgane_id` int(11) DEFAULT NULL,"
+ . "\n `funktion` varchar(32) DEFAULT NULL,"
+ . "\n `zusatzinfo` varchar(64) DEFAULT NULL,"
+ . "\n `spieler_id` int(11) DEFAULT NULL,"
+ . "\n `nachname` varchar(32) DEFAULT NULL,"
+ . "\n `vorname` varchar(32) DEFAULT NULL,"
+ . "\n `email` varchar(64) DEFAULT NULL,"
+ . "\n `telefon` varchar(32) DEFAULT NULL,"
+ . "\n `mobil` varchar(32) DEFAULT NULL,"
+ . "\n `reihenfolge` int(11) DEFAULT NULL,"
+ . "\n PRIMARY KEY (`mitglied_von_verbandsorgan_id`),"
+ . "\n KEY (`verbandsorgane_id`),"
+ . "\n KEY (`spieler_id`)"
+ . "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
+ $db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
+
+ $query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_halloffame` ("
+ . "\n `halloffame_id` int(11) NOT NULL AUTO_INCREMENT,"
+ . "\n `veranstalter_id` int(11) DEFAULT NULL,"
+ . "\n `halloffame` varchar(64) DEFAULT NULL,"
+ . "\n `kategorie` int(4) DEFAULT NULL,"
+ . "\n `spielform` int(11) DEFAULT NULL,"
+ . "\n `reihenfolge` int(4) DEFAULT NULL,"
+ . "\n PRIMARY KEY (`halloffame_id`),"
+ . "\n KEY `veranstalter_id` (`veranstalter_id`)"
+ . "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
+ $db->setQuery($query);
+ if (!$db->execute()) {
+ die($db->stderr(true));
+ }
+
+ $query = "CREATE TABLE IF NOT EXISTS `#__sportsmanager_mitglied_von_halloffame` ("
+ . "\n `mitglied_halloffame_id` int(11) NOT NULL AUTO_INCREMENT,"
+ . "\n `halloffame_id` int(11) NOT NULL,"
+ . "\n `jahr` int(4) DEFAULT NULL,"
+ . "\n `platz` int(11) DEFAULT NULL,"
+ . "\n `verein_id` int(11) DEFAULT NULL,"
+ . "\n `teamname` varchar(64) DEFAULT NULL,"
+ . "\n `spieler1_id` int(11) DEFAULT NULL,"
+ . "\n `spieler1` varchar(64) DEFAULT NULL,"
+ . "\n `spieler2_id` int(11) DEFAULT NULL,"
+ . "\n `spieler2` varchar(64) DEFAULT NULL,"
+ . "\n PRIMARY KEY (`mitglied_halloffame_id`),"
+ . "\n UNIQUE KEY `halloffame_jahr_platz` (`halloffame_id`,`jahr`,`platz`),"
+ . "\n KEY `halloffame_id` (`halloffame_id`),"
+ . "\n KEY `verein_id` (`verein_id`),"
+ . "\n KEY `spieler1_id` (`spieler1_id`),"
+ . "\n KEY `spieler2_id` (`spieler2_id`)"
+ . "\n ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;";
+ $db->setQuery($query);
+ if (!$db->execute()) {
+ die($db->stderr(true));
+ }
+
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'verbands_kuerzel', wert = 'tbe.';";
$db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
- $query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '116';";
+ $query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '119';";
$db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
@@ -1677,6 +1761,10 @@ return new class () implements InstallerScriptInterface
$db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
+ $query = "DROP TABLE IF EXISTS `#__sportsmanager_team_strafen`;";
+ $db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
+
$query = "DROP TABLE IF EXISTS `#__sportsmanager_turnier`;";
$db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
@@ -1748,5 +1836,21 @@ return new class () implements InstallerScriptInterface
$query = "DROP TABLE IF EXISTS `#__sportsmanager_email_vorlagen`;";
$db->setQuery( $query );
if (!$db->execute()) { die($db->stderr(true)); }
+
+ $query = "DROP TABLE IF EXISTS `#__sportsmanager_verbandsorgane`;";
+ $db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
+
+ $query = "DROP TABLE IF EXISTS `#__sportsmanager_mitglied_von_verbandsorgan`;";
+ $db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
+
+ $query = "DROP TABLE IF EXISTS `#__sportsmanager_halloffame`;";
+ $db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
+
+ $query = "DROP TABLE IF EXISTS `#__sportsmanager_mitglied_von_halloffame`;";
+ $db->setQuery( $query );
+ if (!$db->execute()) { die($db->stderr(true)); }
}
};