Changeset 1903183
- Timestamp:
- 07/03/2018 07:11:28 AM (8 years ago)
- File:
-
- 1 edited
-
hotelierscom-booking-module/trunk/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hotelierscom-booking-module/trunk/template.php
r1698676 r1903183 21 21 function htlrsbm_script($intChainId,$intHotelId,$strLanguage,$strFormClass = null) { 22 22 $strOnSiteOverlay = in_array(htlrsbm_get_option('booking_engine_reminder'),['1',false],true) ? 'true' : 'false'; 23 $strGoogleAnalyticsCode = htlrsbm_get_option('google_analytics_code'); 23 24 $strFormClass = null !== $strFormClass ? "'{$strFormClass}'" : 'undefined'; 24 25 return <<<HTML … … 29 30 enable_onSiteOverlay: {$strOnSiteOverlay}, 30 31 form_class: {$strFormClass}, 32 ga_code: '{$strGoogleAnalyticsCode}', 31 33 }); 32 34 });
Note: See TracChangeset
for help on using the changeset viewer.