feat: improve campsites and events management UX
- Add map-based location picker with centered pin for campsites (two-step process) - Hide edit buttons for campsites not owned by current user - Allow numbers in campsite names (fix validateName function) - Prepopulate edit form with existing campsite data - Preserve country/province selection when confirming location - Add real-time filter functionality to campsites table - Fix events publish button error handling (use output buffering cleanup) - Improve AJAX response handling with complete callback Changes: - src/pages/bookings/campsites.php: Location mode UI, filter, edit form improvements - src/config/functions.php: Allow numbers in validateName regex - src/admin/toggle_event_published.php: Clean output buffers before JSON response - src/admin/admin_events.php: Use complete callback instead of success/error handlers
BIN
assets/images/trips/9_01.jpg
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
assets/images/trips/9_02.jpg
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
assets/images/trips/9_03.jpg
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
assets/images/trips/9_04.jpg
Normal file
|
After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 128 KiB |
BIN
assets/uploads/campsites/5a72387fdd1f6fc891e406c55b4b4723.jpg
Normal file
|
After Width: | Height: | Size: 259 KiB |
BIN
assets/uploads/campsites/785baf57034bf35bb3dc7954ca5789b7.jpg
Normal file
|
After Width: | Height: | Size: 259 KiB |
BIN
assets/uploads/campsites/aa2e5d1f0a9a81823b915d203ffadab2.jpg
Normal file
|
After Width: | Height: | Size: 168 KiB |