';
// Timezone
$txt =$langs->trans("OSTZ").' (variable system TZ): '.($_ENV["TZ"]?$_ENV["TZ"]:$langs->trans("NotDefined")).' '."\n";
$txt.=$langs->trans("PHPTZ").' (php.ini date.timezone): '.(ini_get("date.timezone")?ini_get("date.timezone"):$langs->trans("NotDefined")).''."\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php
@@ -160,6 +160,7 @@ if (function_exists('date_default_timezone_get'))
$var=!$var;
print '
'."\n";
$var=!$var;
$filesystemencoding=ini_get("unicode.filesystem_encoding"); // Disponible avec PHP 6.0
@@ -204,7 +212,7 @@ $tmp=ini_get("unicode.filesystem_encoding"); // Disponible avec PHP 6.0
if (empty($tmp) && ! empty($_SERVER["WINDIR"])) $tmp='iso-8859-1'; // By default for windows
if (empty($tmp)) $tmp='utf-8'; // By default for other
if (! empty($conf->global->MAIN_FILESYSTEM_ENCODING)) $tmp=$conf->global->MAIN_FILESYSTEM_ENCODING;
-print '
=> '.$langs->trans("File encoding").'
'.$tmp.'
'."\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php
+print '
=> '.$langs->trans("File encoding").'
'.$tmp.'
'."\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php
print '';
print ' ';
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 31a6d112c45..be196fc52c9 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -553,16 +553,15 @@ if (count($listofextcals))
$event->id=$icalevent['UID'];
$event->icalname=$namecal;
$event->icalcolor=$colorcal;
- //$usertime=($_SESSION['dol_tz']*60*60)+($_SESSION['dol_dst']*60*60);
$usertime=0; // We dont modify date because we want to have date into memory datep and datef stored as GMT date. Compensation will be done during output.
$event->datep=$datestart+$usertime;
$event->datef=$dateend+$usertime;
$event->type_code="ICALEVENT";
-
+
if($icalevent['SUMMARY']) $event->libelle=$icalevent['SUMMARY'];
elseif($icalevent['DESCRIPTION']) $event->libelle=dol_nl2br($icalevent['DESCRIPTION'],1);
else $event->libelle = $langs->trans("ExtSiteNoLabel");
-
+
$event->date_start_in_calendar=$event->datep;
if ($event->datef != '' && $event->datef >= $event->datep) $event->date_end_in_calendar=$event->datef;
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 1d644f6d6e0..a6bb6220963 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -142,7 +142,7 @@ class Form
}
return $ret;
}
-
+
/**
* Output edit in place form
*
@@ -156,14 +156,14 @@ class Form
function editInPlace($value, $htmlname, $condition, $inputType='textarea', $inputOption='')
{
global $conf;
-
+
$out='';
-
+
// Check parameters
if ($inputType == 'textarea') $value = dol_nl2br($value);
else if ($inputType == 'numeric') $value = price($value);
else if ($inputType == 'datepicker') $value = dol_print_date($value, 'day');
-
+
if (! empty($conf->global->MAIN_USE_JQUERY_JEDITABLE) && $condition)
{
if ($inputType == 'datepicker')
@@ -185,7 +185,7 @@ class Form
$inputType = 'textarea';
}
}
-
+
$out.= '