=== ParkSystem ===
Contributors: futurecodepl
Tags: ParkSystem.online, Parking lotniskowy, Widget rezerwacji
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

System zarządzania parkingiem do wyświetlania tokenów parkingowych na stronach rezerwacji

== Description ==

Wtyczka ParkSystem zapewnia integrację strony WWW parkingu z systemem zarządzania ParkSystem.online. Pozwala na:

* Wyświetlanie formularzy rezerwacji za pomocą iframe
* Pokazywanie stron potwierdzenia rezerwacji
* Wyświetlanie cenników
* Zarządzanie tokenem parkingowym i ustawieniami

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/parksystem` directory, or install through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to ParkSystem > Settings to configure your parking token
4. Use the shortcode `[parksystem_pricing]` to display pricing tables

== Frequently Asked Questions ==

= How do I configure the parking token? =

Go to ParkSystem > Settings in the WordPress admin panel and enter your parking token.

= How do I display the pricing table? =

Use the shortcode `[parksystem_pricing]` in any post, page, or widget. You can customize it with parameters:
`[parksystem_pricing min_days="1" max_days="35"]`

= What routes are available? =

* `/rezerwuj/` - Reservation form page
* `/potwierdzenie/{id}/{token}/` - Reservation confirmation page

== Changelog ==

= 1.0.2 =
* Add optional new reservation form (order2) with toggle in settings
* Add extended styling options for new form: input text/border colors, secondary text, card text/header/border colors, active/error colors
* Rename "Body Background Color" to "Widget Body Background Color"
* Add localhost origin support for iframe message handling (development)
* Update Polish translations

= 1.0.1 =
* Improved code organization and WordPress coding standards compliance
* Replaced inline scripts with wp_enqueue_script() and wp_add_inline_script()
* Consolidated iframe handling into a single frontend script
* Fixed iframe URL escaping for better security
* Added deactivation hook for proper rewrite rules cleanup

= 1.0 =
* Initial release
* Reservation form iframe integration
* Reservation confirmation page
* Pricing widget shortcode
* Admin settings page
* Internationalization support (Polish)

== Upgrade Notice ==

= 1.0.2 =
Adds new reservation form option with extended styling controls. Enable in ParkSystem > Settings.

= 1.0.1 =
This update improves code quality and WordPress standards compliance. No action required.

= 1.0 =
Initial release of ParkSystem plugin.
