Fix: Use correct formating function.
This commit is contained in:
parent
845e0b3432
commit
45823ab7a6
@ -78,7 +78,7 @@ jQuery(document).ready(function () {
|
|||||||
dst = "0"; // daylight savings time is NOT observed
|
dst = "0"; // daylight savings time is NOT observed
|
||||||
} else {
|
} else {
|
||||||
dst = "1"; // daylight savings time is observed
|
dst = "1"; // daylight savings time is observed
|
||||||
}
|
}
|
||||||
jQuery('#tz').val(std_time_offset); // returns TZ
|
jQuery('#tz').val(std_time_offset); // returns TZ
|
||||||
jQuery('#dst').val(dst); // returns DST
|
jQuery('#dst').val(dst); // returns DST
|
||||||
// Detect and save screen resolution
|
// Detect and save screen resolution
|
||||||
|
|||||||
@ -254,7 +254,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$main_home=nl2br($conf->global->MAIN_HOME);
|
$main_home=dol_htmlcleanlastbr($conf->global->MAIN_HOME);
|
||||||
|
|
||||||
// Google AD
|
// Google AD
|
||||||
$main_google_ad_client = ((! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN_GOOGLE_AD_SLOT))?1:0);
|
$main_google_ad_client = ((! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN_GOOGLE_AD_SLOT))?1:0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user