Holiday-Promotional Message 3.2.0. Phoenix Cart
by @raiwa 
info@oscaddons.com
www.oscaddons.com

Support: https://phoenixcart.org/forum/app.php/addons/free_addon/holiday_promotional_message/support

Based on an idea by fimble.

Compatibility:
OsCommerce CE Phoenix 1.0.8.6.+.
Tested with 1.0.8.20
PHP 7.0-8.0

Changes version 3.2.0:
- Updated deprecated functions for Phoenix 1.0.8.19+ compatibility

Changes version 3.1.2:
- Updated small typo in cm_header_holiday.php. Thanks to @Scratchilito for the report

Changes version 3.1.1:
- Updated all references and support URL to CE Phoenix Cart
- moved hook to override template
- Tested compatibility with Phoenix 1.0.8.10

Changes version 3.1.0:
- Updated for CE Phoenix 1.0.7.3+
- updated header module to abstract executable module- updated langiage files to const
- updated order mail hook to siteWide checkout notify hook

Changes version 3.0.0:
- Updated for CE Phoenix.

Changes version 2.1.2:
- added additionalfix in admin/modules_content.php to prevent escape backslash for sql sensitive special characters to be duplicated when edited.

Changes version 2.1.1:
- reverted wrong fix introduced in 2.1.
- applied correct fix in admin/modules_content.php to allow sql sensitive special characters like single quote (apostrophe) in Text definitions.

Changes version 2.1:
- added tep_db_input function to text input fields to allow sql sensitive special characters like single quote (apostrophe)

Changes version 2.0:
- moved e-mail modifications in checkout_process.php into hook
- updated coding and file naming to Responsive 2.3.4.1 BS CE Frozen standards
- simplified language constants

Changes version 1.4:
- added missing configuration entry "Include message in order confirmation e-mail"

Changes version 1.3:
- hardcoded paths

Changes version 1.2:
- update class constructor name for PHP 7 compatibility

Changes version 1.1:
- Added $lng to global list. Thanks to @douglaswalker
- Added optional add message to order confirmation e-mail
- Fixed wrong configuration group and sort order for MODULE_CONTENT_HEADER_HOLIDAY_TEXT_.


***********************************************************************************************************************

Update all previous versions to 3.1.1 to 3.1.2

1. Uninstall Admin: Modules: Content: Holiday Message

2. Upload and replace:
[catalog/]includes/modules/content/header/cm_header_holiday.php

3. Install Admin: Modules: Content: Holiday Message


Update all previous versions to 3.2.0

***********************************************************************************************************************

1a. Delete (v.3.0.0.-):
[catalog/]includes/hooks/shop/checkout_process/holiday.php
1b. Delete (all previous versions):
[catalog/]templates/default/includes/hooks/shop/siteWide/holiday.php


2. Upload and replace all files:
[catalog/]includes/languages/english/modules/content/header/cm_header_holiday.php
[catalog/]includes/languages/espanol/modules/content/header/cm_header_holiday.php
[catalog/]includes/languages/german/modules/content/header/cm_header_holiday.php
[catalog/]includes/modules/content/header/cm_header_holiday.php
[catalog/]includes/modules/content/header/templates/tpl_cm_header_holiday.php
[catalog/]templates/override/includes/hooks/shop/siteWide/holiday.php

/********************************/
NOTE: Make sure you are using the "override" template and have it selected in:
Admin : Configuration : My Store : Template Selection
Otherwise you must copy:
[catalog/]templates/override/includes/hooks/shop/siteWide/holiday.php
TO:
[catalog/]templates/YOUR SELECTED TEMPLATE/includes/hooks/shop/siteWide/holiday.php
/********************************/
