Cookies help us provide better user experience. By using our website, you agree to the use of cookies.

Pandao CMS pro - 4.0.0 (Jul 20, 2017)

Replace the following files and execute the queries in your SQL manager to perform the updates.

NEW FEATURES/IMPROVEMENTS

Multilingual support for admin panel

/common/define.php
/common/config(-tmp).php
>> New entry ADMIN_LANG_FILE
/admin/settings.php
/admin/includes/langs/
/admin/includes/fn_list.php
/admin/includes/fn_form.php
/admin/includes/fn_module.php
/admin/modules/(all_modules)/config.xml

Graphical improvements

/admin/index.php
/admin/css/layout.css
/admin/modules/default/list.php
/admin/modules/default/form.php
/js/custom.js
/common/css/shortcodes.css
/templates/default/css/layout.css
/templates/default/css/colors.css
/templates/default/models/home.php
/templates/default/models/page.php
/templates/default/models/blog.php
/templates/default/models/article.php
/templates/default/models/article-blog.php
/templates/default/models/contact.php
/templates/default/common/comments.php
/templates/default/common/get_articles.php
/templates/default/common/get_images.php
/templates/default/common/header.php
/templates/default/common/page-header.php

New module Email templates

/common/db.sql
>> New table pm_email_content

-- ============ CREATION OF THE TABLE pm_email_content ===========

CREATE TABLE IF NOT EXISTS pm_email_content(
    id int NOT NULL AUTO_INCREMENT,
    lang int NOT NULL,
    name varchar(50),
    subject varchar(250),
    content text,
    PRIMARY KEY(id, lang)
) ENGINE=INNODB DEFAULT CHARSET=utf8;

ALTER TABLE pm_email_content ADD CONSTRAINT email_content_lang_fkey FOREIGN KEY (lang) REFERENCES pm_lang(id) ON DELETE CASCADE ON UPDATE NO ACTION;

--
-- Content of the table pm_email_content
--

INSERT INTO pm_email_content (id, lang, name, subject, content) VALUES
(1, 1, 'CONTACT', 'Contact', '<b>Nom:</b> {name}\r\n<b>Adresse:</b> {address}\r\n<b>Téléphone:</b> {phone}\r\n<b>E-mail:</b> {email}\r\n<b>Message:</b>\r\n{msg}'),
(1, 2, 'CONTACT', 'Contact', '<b>Name:</b> {name}<br>\r\n<b>Address:</b> {address}<br>\r\n<b>Phone:</b> {phone}<br>\r\n<b>E-mail:</b> {email}<br>\r\n<b>Message:</b><br>\r\n{msg}'),
(1, 3, 'CONTACT', 'Contact', '<b>Name:</b> {name}\r\n<b>Address:</b> {address}\r\n<b>Phone:</b> {phone}\r\n<b>E-mail:</b> {email}\r\n<b>Message:</b>\r\n{msg}');

/common/lib.php
/admin/modules/email_content/
/templates/default/models/contact.php

FIXED ISSUES

Search error with non-alphabetic caracters (cyrillic, greek...)

/common/lib.php

Bug in error management since PHP7

/common/setenv.php
/templates/default/common/footer.php
/admin/modules/default/common.php

Empty combobox for users other than administrator, manager and editor

/admin/includes/fn_form.php