Panda Resort - 7.4.0 (Jan 22, 2020)
Replace the following files and execute the queries in your SQL manager to perform the updates.
NEW FEATURES/IMPROVEMENTS
Possibility to show content for specific languages only
/common/db.sql
>> new column "langs" in tables pm_article and pm_page:
ALTER TABLE pm_article ADD show_langs TEXT NULL; ALTER TABLE pm_article ADD hide_langs TEXT NULL; ALTER TABLE pm_page ADD show_langs TEXT NULL; ALTER TABLE pm_page ADD hide_langs TEXT NULL;
/admin/modules/article/config.xml
/admin/modules/page/config.xml
/admin/includes/langs/*.ini
>> New entries "SHOW_IN_LANG" and "HIDE_IN_LANG"
/templates/default/models/page.php
/templates/default/models/get_articles.php
New section "Discover also" under an article
/common/db.sql
>> New entries in the table pm_text (! as usual, replace with your translation and lang ids):
INSERT INTO pm_text (id, lang, name, value) VALUES (181, 1, 'DISCOVER_ALSO', 'Découvrez aussi'), (181, 2, 'DISCOVER_ALSO', 'Discover also'), (181, 3, 'DISCOVER_ALSO', 'Discover also');
/templates/default/models/article.php
Layout / Graphical improvments
/templates/default/css/layout.css
/templates/default/css/main.css
/templates/default/css/colors.css
/templates/default/common/header.php
/templates/default/common/get_rooms.php
/templates/default/common/get_articles_blog.php
Max date in the calendar = 24 months
/js/plugins/jquery.event.calendar/js/jquery.event.calendar.js
FIXED ISSUES
Payment with Braintree notice
/common/db.sql
>> New entries in the table pm_text (! as usual, replace with your translation and lang ids):
UPDATE pm_text SET name = 'PAYMENT_2CHECKOUT_NOTICE' WHERE name = 'PAYMENT_CARDS_NOTICE'; INSERT INTO pm_text (id, lang, name, value) VALUES (182, 1, 'PAYMENT_BRAINTREE_NOTICE', 'Remplissez le formulaire ci-dessous avec les informations de votre carte de crédit, puis cliquez sur "Payer".'), (182, 2, 'PAYMENT_BRAINTREE_NOTICE', 'Fill in the form bellow with your credit card information, then click on "Check Out".'), (182, 3, 'PAYMENT_BRAINTREE_NOTICE', 'Fill in the form bellow with your credit card information, then click on "Check Out".');
/templates/default/models/payment.php
/templates/default/images/braintree-cards.jpg
/admin/modules/booking/booking/config.xml
Issue with services on booking multiple rooms
/templates/default/models/booking.php
Max people for activity restriction
/templates/default/models/booking-activities.php
Bug with multiple locations in contact page
/templates/default/models/contact.php