Google tag enabled also on mobile
This commit is contained in:
parent
00db7e16ec
commit
9676b83574
@ -920,7 +920,7 @@ function dol_escape_js($stringtoescape, $mode=0, $noescapebackslashn=0)
|
|||||||
*
|
*
|
||||||
* @param string $stringtoescape String to escape
|
* @param string $stringtoescape String to escape
|
||||||
* @param int $keepb 1=Preserve b tags (otherwise, remove them)
|
* @param int $keepb 1=Preserve b tags (otherwise, remove them)
|
||||||
* @param int $keepn 1=Preserve \r\n strings (otherwise, remove them)
|
* @param int $keepn 1=Preserve \r\n strings (otherwise, replace them with escaped value)
|
||||||
* @return string Escaped string
|
* @return string Escaped string
|
||||||
* @see dol_string_nohtmltag
|
* @see dol_string_nohtmltag
|
||||||
*/
|
*/
|
||||||
@ -6374,8 +6374,6 @@ function printCommonFooter($zone='private')
|
|||||||
|
|
||||||
// Google Analytics (need Google module)
|
// Google Analytics (need Google module)
|
||||||
if (! empty($conf->google->enabled) && ! empty($conf->global->MAIN_GOOGLE_AN_ID))
|
if (! empty($conf->google->enabled) && ! empty($conf->global->MAIN_GOOGLE_AN_ID))
|
||||||
{
|
|
||||||
if (($conf->dol_use_jmobile != 4))
|
|
||||||
{
|
{
|
||||||
print "\n";
|
print "\n";
|
||||||
print '<script type="text/javascript">'."\n";
|
print '<script type="text/javascript">'."\n";
|
||||||
@ -6390,7 +6388,6 @@ function printCommonFooter($zone='private')
|
|||||||
print ' })();'."\n";
|
print ' })();'."\n";
|
||||||
print '</script>'."\n";
|
print '</script>'."\n";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// End of tuning
|
// End of tuning
|
||||||
if (! empty($_SERVER['MAIN_SHOW_TUNING_INFO']) || ! empty($conf->global->MAIN_SHOW_TUNING_INFO))
|
if (! empty($_SERVER['MAIN_SHOW_TUNING_INFO']) || ! empty($conf->global->MAIN_SHOW_TUNING_INFO))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user