Skip to content
Snippets Groups Projects
Commit d4c1ad7a authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix tz output

parent 842fb07d
Branches
No related tags found
No related merge requests found
<?php
/* Copyright (C) 2005-2011 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2005-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* This program is free software; you can redistribute it and/or modify
......@@ -158,8 +158,8 @@ $txt.=$langs->trans("PHPTZ").' (php.ini date.timezone): '.(ini_get("date.timezon
$var=!$var;
print '<tr '.$bc[$var].'><td width="300">'.$langs->trans("CurrentTimeZone").'</td><td>'; // Timezone server PHP
$a=getServerTimeZoneString();
$a.=' '.getServerTimeZoneInt();
$a.=' ('.(getServerTimeZoneInt()>0?'+':'').(getServerTimeZoneInt()*3600).')';
$a.=' '.(getServerTimeZoneInt()>=0?'+':'').getServerTimeZoneInt();
$a.=' ('.(getServerTimeZoneInt()>=0?'+':'').(getServerTimeZoneInt()*3600).')';
print $form->textwithtooltip($a,$txt,2,1,img_info(''));
print '</td></tr>'."\n"; // value defined in http://fr3.php.net/manual/en/timezones.europe.php
$var=!$var;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment