BROKEN Work in progress for adding event Amenities
authorLaury GvR <laury@gaslightmedia.com>
Wed, 26 Oct 2016 20:14:05 +0000 (16:14 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 26 Oct 2016 20:14:05 +0000 (16:14 -0400)
commit2b970132908800af247a90180a310f0eb64472c4
tree89d61db17ef807acb6f06c57d34bd8aa23315308
parent729ccb1578b1e79f002a1b1ebc0f487981068aa7
BROKEN Work in progress for adding event Amenities

Amenities are added to the Edit Event form - but they are not
functional. A new amenity can be added successfully but is then
not attached to the event.

The "Add a new amenity" popup currently has a needless dropdown
but needs to optimally be like the "Add an amenity" in the member
DB settings. It will in fact -not- be like the category button in
that it shall nto have a parent, but needs to show the amenity
groups, which are not yet properly handled in the model.

Then the corresponding button for adding amenities, along with the
one for adding categories, needs to not be displayed if the user
lacks admin privileges.
25 files changed:
classes/data/dataAmenities.php [new file with mode: 0644]
classes/data/dataCategories.php
classes/data/dataEventAmenities.php [new file with mode: 0644]
classes/data/dataEventCategories.php
classes/data/dataEventGroups.php [new file with mode: 0644]
classes/data/dataEvents.php
classes/data/dataLocations.php
classes/data/dataManagement.php
index.php
models/admin/events/index.php
models/admin/events/list.php
models/admin/settings/eventAmenities.php [new file with mode: 0644]
models/admin/settings/eventCategories.php
setup/adminTabs.php
setup/databaseScripts/create_database_V0.0.22.sql [deleted file]
setup/databaseScripts/create_database_V0.1.0.sql [new file with mode: 0644]
setup/databaseScripts/dbVersions.php
setup/databaseScripts/update_database_V0.0.23.sql [new file with mode: 0644]
setup/databaseScripts/update_database_V0.1.0.sql [new file with mode: 0644]
setup/validActions.php
views/admin/events/edit.html
views/admin/events/editStatus.html
views/admin/management/events.html
views/admin/member/add.html
views/admin/settings/eventAmenities.html [new file with mode: 0644]