New: Add advice into info help

This commit is contained in:
Laurent Destailleur 2013-07-05 12:04:55 +02:00
parent 7cb8809669
commit 529a58cc9d
3 changed files with 4 additions and 1 deletions

View File

@ -154,7 +154,8 @@ $var=!$var;
print '<tr '.$bc[$var].'><td width="300">&nbsp; => price(1234.56)</td><td>'.price(1234.56).'</td></tr>'."\n";
// Timezone
$txt =$langs->trans("OSTZ").' (variable system TZ): '.(! empty($_ENV["TZ"])?$_ENV["TZ"]:$langs->trans("NotDefined")).'<br>'."\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
$txt.=$langs->trans("PHPTZ").' (php.ini date.timezone): '.(ini_get("date.timezone")?ini_get("date.timezone"):$langs->trans("NotDefined")).''."<br>\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php
$txt.=$langs->trans("YouCanEditPHPTZ");
$var=!$var;
print '<tr '.$bc[$var].'><td width="300">'.$langs->trans("CurrentTimeZone").'</td><td>'; // Timezone server PHP
$a=getServerTimeZoneInt('now');

View File

@ -119,6 +119,7 @@ CurrentHour=PHP Time (server)
CompanyTZ=Company Time Zone (main company)
CompanyHour=Company Time (main company)
CurrentSessionTimeOut=Current session timeout
YouCanEditPHPTZ=To set a different PHP timezone (not required), you can try to add a file .htacces with a line like this "SetEnv TZ Europe/Paris"
OSEnv=OS Environment
Box=Box
Boxes=Boxes

View File

@ -120,6 +120,7 @@ CurrentHour=Heure PHP (serveur)
CompanyTZ=Fuseau horaire société (maison mère)
CompanyHour=Heure société (maison mère)
CurrentSessionTimeOut=Délai expiration session actuelle
YouCanEditPHPTZ=Pour définir un autre timezone PHP (non obligatoire), vous pouvez essayer d'ajouter un fichier .htaccess avec une ligne du type "SetEnv TZ Europe/Paris"
OSEnv=Environnement OS
Box=Boîte
Boxes=Boîtes