Installable version created
This commit is contained in:
parent
c95b3c31a6
commit
44e90e2adb
@ -1,7 +1,6 @@
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_clubs`;
|
||||
CREATE TABLE `#__club_clubs` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT,
|
||||
CREATE TABLE IF NOT EXISTS `#__club_clubs` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`name` varchar(100) NOT NULL,
|
||||
`address` tinytext NOT NULL,
|
||||
`city` varchar(50) NOT NULL,
|
||||
@ -10,49 +9,39 @@ CREATE TABLE `#__club_clubs` (
|
||||
`iban` char(34) NOT NULL,
|
||||
`bic` char(11) NOT NULL,
|
||||
`charitable` tinyint(1) NOT NULL,
|
||||
`president` int(10) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
`president` int(10) NOT NULL
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_keys`;
|
||||
CREATE TABLE `#__club_keys` (
|
||||
CREATE TABLE IF NOT EXISTS `#__club_keys` (
|
||||
`privkey` text NOT NULL,
|
||||
`publickey` text NOT NULL
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_offer_assocs`;
|
||||
CREATE TABLE `#__club_offer_assocs` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT,
|
||||
CREATE TABLE IF NOT EXISTS `#__club_offer_assocs` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`clubid` int(10) NOT NULL,
|
||||
`offerid` int(10) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
`offerid` int(10) NOT NULL
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_offers`;
|
||||
CREATE TABLE `#__club_offers` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
CREATE TABLE IF NOT EXISTS `#__club_offers` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`name` varchar(100) NOT NULL
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_places`;
|
||||
CREATE TABLE `#__club_places` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT,
|
||||
CREATE TABLE IF NOT EXISTS `#__club_places` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`clubid` int(10) NOT NULL,
|
||||
`name` varchar(100) NOT NULL,
|
||||
`address` tinytext NOT NULL,
|
||||
`area` int(10) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
`area` int(10) DEFAULT NULL
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_positions`;
|
||||
CREATE TABLE `#__club_positions` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
CREATE TABLE IF NOT EXISTS `#__club_positions` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`name` varchar(100) NOT NULL
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_user_assocs`;
|
||||
CREATE TABLE `#__club_user_assocs` (
|
||||
CREATE TABLE IF NOT EXISTS `#__club_user_assocs` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`clubid` int(10) NOT NULL,
|
||||
`userid` int(10) DEFAULT NULL,
|
||||
@ -65,8 +54,7 @@ CREATE TABLE `#__club_user_assocs` (
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS `#__club_users`;
|
||||
CREATE TABLE `#__club_users` (
|
||||
CREATE TABLE IF NOT EXISTS `#__club_users` (
|
||||
`id` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`user` varchar(30) NOT NULL,
|
||||
`password` varchar(150) DEFAULT NULL,
|
||||
|
@ -5,8 +5,9 @@
|
||||
type="component">
|
||||
|
||||
<!-- SOLLTE, Der Annzeige-Name in Joomla -->
|
||||
<name>SLT Vereinsmanagement</name>
|
||||
<name>Vereinsportal</name>
|
||||
<title>Vereinsportal des saarländischen Tanzsportverbands</title>
|
||||
<element>com_clubs</element>
|
||||
|
||||
<!--SOLLTE Erstellungsdatum -->
|
||||
<creationDate>30.03.2019</creationDate>
|
||||
@ -25,11 +26,13 @@
|
||||
<!--<description>TPL_TEST_TEMPLATE_XML_DESCRIPTION</description>-->
|
||||
|
||||
<!-- MUSS, der Files-Tag bezeichnet den Block mit den Dateien und Ordnern die mit installiert werden -->
|
||||
<files from='site'>
|
||||
<files folder='site'>
|
||||
<filename>clubs.php</filename>
|
||||
<filename>controller.php</filename>
|
||||
<folder>controller</folder>
|
||||
<folder>controllers</folder>
|
||||
<folder>css</folder>
|
||||
<folder>helpers</folder>
|
||||
<folder>js</folder>
|
||||
<folder>models</folder>
|
||||
<folder>views</folder>
|
||||
</files>
|
||||
@ -46,12 +49,12 @@
|
||||
<menu>Vereinsmanagement</menu>
|
||||
<submenu>
|
||||
<!-- <menu link='link' view='v'>Test</menu> -->
|
||||
<menu link='index.php?option=com_clubs&view=clubs'>Vereine</menu>
|
||||
<menu link='index.php?option=com_clubs&view=users'>Personen</menu>
|
||||
<menu link='index.php?option=com_clubs&view=positions'>Posten</menu>
|
||||
<menu link='index.php?option=com_clubs&view=offers'>Trainingsangebote</menu>
|
||||
<menu link='option=com_clubs&view=clubs'>Vereine</menu>
|
||||
<menu link='option=com_clubs&view=users'>Personen</menu>
|
||||
<menu link='option=com_clubs&view=positions'>Posten</menu>
|
||||
<menu link='option=com_clubs&view=offers'>Trainingsangebote</menu>
|
||||
</submenu>
|
||||
<files from='admin'>
|
||||
<files folder='admin'>
|
||||
<folder>abstract</folder>
|
||||
<folder>common</folder>
|
||||
<folder>controllers</folder>
|
||||
@ -65,12 +68,12 @@
|
||||
|
||||
<install>
|
||||
<sql>
|
||||
<file driver='mysql'>sql/mysql/install.sql</file>
|
||||
<file driver='mysql' charset='utf8'>sql/mysql/install.sql</file>
|
||||
</sql>
|
||||
</install>
|
||||
<uninstall>
|
||||
<sql>
|
||||
<file driver='mysql'>sql/mysql/uninstall.sql</file>
|
||||
<file driver='mysql' charset='utf8'>sql/mysql/uninstall.sql</file>
|
||||
</sql>
|
||||
</uninstall>
|
||||
<update>
|
||||
|
Loading…
Reference in New Issue
Block a user