Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -49,6 +49,33 @@ public static function hookData() {
|
||||
<ul id=\'elUserNav_mobile\' class=\'ipsList_inline signed_in ipsClearfix\'>
|
||||
{template="cartHeaderMobile" app="nexus" group="store" params=""}
|
||||
</ul>
|
||||
{{endif}}',
|
||||
),
|
||||
),
|
||||
'globalTemplate' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'selector' => 'html > head',
|
||||
'type' => 'add_inside_end',
|
||||
'content' => '{{if \IPS\Settings::i()->maxmind_key and \IPS\Settings::i()->maxmind_id and \IPS\Settings::i()->maxmind_tracking_code}}
|
||||
<script>
|
||||
(function() {
|
||||
var mmapiws = window.__mmapiws = window.__mmapiws || {};
|
||||
mmapiws.accountId = "{expression=\'\IPS\Settings::i()->maxmind_id\'}";
|
||||
var loadDeviceJs = function() {
|
||||
var element = document.createElement(\'script\');
|
||||
element.async = true;
|
||||
element.src = \'https://device.maxmind.com/js/device.js\';
|
||||
document.body.appendChild(element);
|
||||
};
|
||||
if (window.addEventListener) {
|
||||
window.addEventListener(\'load\', loadDeviceJs, false);
|
||||
} else if (window.attachEvent) {
|
||||
window.attachEvent(\'onload\', loadDeviceJs);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
{{endif}}',
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user